Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0011/0.0011, allocations: 101.8 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001073/0.001073, allocations: 203.3 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.618/1.618, allocations: 227.3 MB / 245.9 MB, free: 10.31 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002923/0.0002923, allocations: 8 kB / 306.7 MB, free: 1.262 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1182, allocations: 51.5 MB / 358.2 MB, free: 13.77 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized): time 0.00119/0.1195, allocations: 0.59 MB / 358.8 MB, free: 13.18 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002982/0.1198, allocations: 147.5 kB / 358.9 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.016e-05/0.1199, allocations: 8 kB / 358.9 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 8.013e-05/0.1199, allocations: 7.938 kB / 359 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001143/0.1201, allocations: 15.92 kB / 359 MB, free: 13 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000202/0.1203, allocations: 39.89 kB / 359 MB, free: 12.96 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.191e-05/0.1204, allocations: 43.89 kB / 359 MB, free: 12.92 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.1205, allocations: 48.06 kB / 359.1 MB, free: 12.87 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.903e-05/0.1205, allocations: 15.94 kB / 359.1 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.619e-05/0.1206, allocations: 35.77 kB / 359.1 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.722e-05/0.1206, allocations: 4 kB / 359.1 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.414e-05/0.1206, allocations: 0 / 359.1 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.931e-05/0.1207, allocations: 23.92 kB / 359.2 MB, free: 12.79 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.557e-05/0.1207, allocations: 37.64 kB / 359.2 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 8.367e-05/0.1208, allocations: 59.88 kB / 359.3 MB, free: 12.69 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.1208, allocations: 0 / 359.3 MB, free: 12.69 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1208, allocations: 4 kB / 359.3 MB, free: 12.69 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.1208, allocations: 0 / 359.3 MB, free: 12.69 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003869/0.1212, allocations: 399.1 kB / 359.7 MB, free: 12.25 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.1213, allocations: 8.031 kB / 359.7 MB, free: 12.24 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.305e-05/0.1213, allocations: 42.56 kB / 359.7 MB, free: 12.19 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.917e-05/0.1214, allocations: 11.81 kB / 359.7 MB, free: 12.18 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001983/0.1216, allocations: 210.1 kB / 359.9 MB, free: 11.94 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.1216, allocations: 7.953 kB / 359.9 MB, free: 11.93 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.676e-05/0.1216, allocations: 8 kB / 359.9 MB, free: 11.92 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000388/0.122, allocations: 238.6 kB / 360.2 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.122, allocations: 0 / 360.2 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.122, allocations: 7.953 kB / 360.2 MB, free: 11.67 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.1221, allocations: 4 kB / 360.2 MB, free: 11.66 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.903e-05/0.1221, allocations: 43.97 kB / 360.2 MB, free: 11.62 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001769/0.1223, allocations: 201.5 kB / 360.4 MB, free: 11.38 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002645/0.1226, allocations: 139 kB / 360.6 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.155e-05/0.1226, allocations: 4 kB / 360.6 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.1226, allocations: 30.56 kB / 360.6 MB, free: 11.19 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.072e-06/0.1227, allocations: 4 kB / 360.6 MB, free: 11.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003124/0.123, allocations: 176.1 kB / 360.8 MB, free: 11.01 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.545e-05/0.123, allocations: 67.36 kB / 360.8 MB, free: 10.93 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001474/0.1232, allocations: 162.1 kB / 361 MB, free: 10.76 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.1232, allocations: 29.7 kB / 361 MB, free: 10.73 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.679e-05/0.1233, allocations: 92.47 kB / 361.1 MB, free: 10.63 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.589e-05/0.1233, allocations: 3.984 kB / 361.1 MB, free: 10.62 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.653e-06/0.1233, allocations: 8 kB / 361.1 MB, free: 10.62 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.1234, allocations: 322.8 kB / 361.4 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.578e-05/0.1235, allocations: 23.98 kB / 361.5 MB, free: 10.27 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.845e-05/0.1236, allocations: 117.7 kB / 361.6 MB, free: 10.11 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.067e-05/0.1237, allocations: 43.94 kB / 361.6 MB, free: 10.06 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.1237, allocations: 3.938 kB / 361.6 MB, free: 10.06 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002068/0.1239, allocations: 169.5 kB / 361.8 MB, free: 9.887 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.1239, allocations: 6.344 kB / 361.8 MB, free: 9.883 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.1239, allocations: 4 kB / 361.8 MB, free: 9.879 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.1239, allocations: 8 kB / 361.8 MB, free: 9.871 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001194/0.1241, allocations: 35.86 kB / 361.8 MB, free: 9.836 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/0.1241, allocations: 7.953 kB / 361.9 MB, free: 9.828 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.789e-05/0.1241, allocations: 15.91 kB / 361.9 MB, free: 9.812 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.1242, allocations: 8 kB / 361.9 MB, free: 9.805 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 18 (sum2.y,sum2.u[2],sum2.u[1],sum1.y,sum1.u[2],sum1.u[1],unitDelay2.y,unitDelay2.u,$CLKPRE.unitDelay2.u,const1.y,assignClock1.y[2],assignClock1.y[1],assignClock1.u[2],assignClock1.u[1],const.y,unitDelay1.y,unitDelay1.u,$CLKPRE.unitDelay1.u) * Number of discrete states: 0 () * Number of clocked states: 2 (unitDelay2.u,unitDelay1.u) * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001156/0.1243, allocations: 149.8 kB / 362 MB, free: 9.648 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000162/0.1244, allocations: 133.5 kB / 362.2 MB, free: 9.512 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.342e-05/0.1245, allocations: 17.19 kB / 362.2 MB, free: 9.488 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.1245, allocations: 4 kB / 362.2 MB, free: 9.484 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1245, allocations: 0 / 362.2 MB, free: 9.484 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.118e-06/0.1245, allocations: 11.92 kB / 362.2 MB, free: 9.473 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001425/0.1247, allocations: 189.5 kB / 362.4 MB, free: 9.238 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1247, allocations: 0 / 362.4 MB, free: 9.238 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000111/0.1248, allocations: 31.92 kB / 362.4 MB, free: 9.207 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1248, allocations: 4 kB / 362.4 MB, free: 9.203 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.1248, allocations: 4 kB / 362.4 MB, free: 9.199 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1248, allocations: 0 / 362.4 MB, free: 9.199 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1248, allocations: 0 / 362.4 MB, free: 9.199 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001933/0.125, allocations: 167.1 kB / 362.6 MB, free: 9.02 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.121e-05/0.1251, allocations: 104.9 kB / 362.7 MB, free: 8.898 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.016e-05/0.1252, allocations: 4 kB / 362.7 MB, free: 8.895 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.048e-05/0.1252, allocations: 4 kB / 362.7 MB, free: 8.891 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.876e-06/0.1252, allocations: 4 kB / 362.7 MB, free: 8.887 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.1252, allocations: 0 / 362.7 MB, free: 8.887 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.522e-05/0.1253, allocations: 124.3 kB / 362.8 MB, free: 8.766 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.423e-06/0.1253, allocations: 0 / 362.8 MB, free: 8.766 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000223/0.1255, allocations: 19.94 kB / 362.8 MB, free: 8.746 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 (unitDelay1.u,unitDelay1.y,const.y,assignClock1.u[1],assignClock1.u[2],assignClock1.y[1],assignClock1.y[2],const1.y,unitDelay2.u,unitDelay2.y,sum1.u[1],sum1.u[2],sum1.y,sum2.u[1],sum2.u[2],sum2.y) * Number of discrete states: 0 () * Number of clocked states: 2 (unitDelay1.u,unitDelay2.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005479/0.1261, allocations: 0.7734 MB / 363.6 MB, free: 7.945 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001699/0.1263, allocations: 106.4 kB / 363.7 MB, free: 7.844 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.1263, allocations: 3.938 kB / 363.7 MB, free: 7.84 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.12e-07/0.1263, allocations: 1.062 kB / 363.7 MB, free: 7.84 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003179/0.1266, allocations: 91.48 kB / 363.8 MB, free: 7.754 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001649/0.1283, allocations: 3.005 MB / 366.8 MB, free: 4.633 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002853/0.1286, allocations: 0.72 MB / 367.5 MB, free: 3.883 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.377e-05/0.1286, allocations: 9.078 kB / 367.5 MB, free: 3.871 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.342e-05/0.1287, allocations: 35.42 kB / 367.6 MB, free: 3.836 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1287, allocations: 0 / 367.6 MB, free: 3.836 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01308/0.1417, allocations: 2.286 MB / 369.9 MB, free: 1.73 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000193/0.142, allocations: 210.8 kB / 370.1 MB, free: 1.488 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.908/2.05, allocations: 7.156 kB / 370.1 MB, free: 1.484 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_AssignClockVectorized.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClockVectorized_res.mat does not exist to compare? outputFormat=mat