Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Rotational.TestSpeed,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_TestSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.TestSpeed,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_TestSpeed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007781/0.0007782, allocations: 99.8 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008552/0.0008553, allocations: 194.1 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.375/1.375, allocations: 227.3 MB / 246 MB, free: 11.81 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2185/0.2185, allocations: 45.91 MB / 344.1 MB, free: 12.18 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002809/0.0002809, allocations: 8 kB / 418.2 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1434, allocations: 63.47 MB / 481.6 MB, free: 5.266 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestSpeed): time 0.002719/0.1462, allocations: 2.203 MB / 483.8 MB, free: 3.047 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001118/0.1473, allocations: 0.6742 MB / 484.5 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001188/0.1475, allocations: 4 kB / 484.5 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001305/0.1476, allocations: 27.72 kB / 484.5 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001392/0.1477, allocations: 71.39 kB / 484.6 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002289/0.148, allocations: 71.91 kB / 484.7 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003116/0.1483, allocations: 310.6 kB / 485 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000143/0.1485, allocations: 61.58 kB / 485 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000199/0.1487, allocations: 115.6 kB / 485.2 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000143/0.1488, allocations: 115.4 kB / 485.3 MB, free: 1.609 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.926e-05/0.1488, allocations: 12 kB / 485.3 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.203e-05/0.1489, allocations: 12 kB / 485.3 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.652e-05/0.149, allocations: 43.84 kB / 485.3 MB, free: 1.543 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.923e-05/0.149, allocations: 77.52 kB / 485.4 MB, free: 1.461 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002209/0.1493, allocations: 215.6 kB / 485.6 MB, free: 1.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.1493, allocations: 0 / 485.6 MB, free: 1.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1493, allocations: 0 / 485.6 MB, free: 1.25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.1493, allocations: 4 kB / 485.6 MB, free: 1.246 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0007594/0.1501, allocations: 0.5456 MB / 486.2 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.1501, allocations: 12.03 kB / 486.2 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.906e-05/0.1502, allocations: 62.48 kB / 486.2 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002192/0.1504, allocations: 55.59 kB / 486.3 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002977/0.1507, allocations: 259.5 kB / 486.5 MB, free: 228 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.037e-05/0.1507, allocations: 20.56 kB / 486.6 MB, free: 208 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.919e-05/0.1508, allocations: 28 kB / 486.6 MB, free: 180 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000483/0.1513, allocations: 285.9 kB / 486.9 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.211e-05/0.1513, allocations: 7.906 kB / 486.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.587e-05/0.1514, allocations: 12 kB / 486.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.192e-05/0.1514, allocations: 15.92 kB / 486.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004171/0.1518, allocations: 187.8 kB / 487.1 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001661/0.1535, allocations: 1.333 MB / 488.4 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004199/0.1539, allocations: 254.5 kB / 488.7 MB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002107/0.1541, allocations: 107.4 kB / 488.8 MB, free: 13.81 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.481e-05/0.1542, allocations: 7.953 kB / 488.8 MB, free: 13.8 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/0.1542, allocations: 38.56 kB / 488.8 MB, free: 13.75 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 1.753e-06/0.1542, allocations: 3.938 kB / 488.8 MB, free: 13.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=32): time 0.002595/0.1568, allocations: 1.627 MB / 490.5 MB, free: 11.91 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.388e-05/0.1569, allocations: 136.5 kB / 490.6 MB, free: 11.75 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001971/0.1571, allocations: 217 kB / 490.8 MB, free: 11.53 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.228e-05/0.1571, allocations: 29.7 kB / 490.8 MB, free: 11.5 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.1573, allocations: 184.2 kB / 491 MB, free: 11.31 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.202e-05/0.1574, allocations: 118.3 kB / 491.1 MB, free: 11.2 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.789e-05/0.1574, allocations: 12 kB / 491.1 MB, free: 11.18 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.1575, allocations: 334.8 kB / 491.5 MB, free: 10.85 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002485/0.1578, allocations: 108.8 kB / 491.6 MB, free: 10.74 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003328/0.1581, allocations: 254.6 kB / 491.8 MB, free: 10.43 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003027/0.1584, allocations: 152.3 kB / 492 MB, free: 10.28 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1584, allocations: 0 / 492 MB, free: 10.28 MB / 366.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000779/0.1592, allocations: 421 kB / 492.4 MB, free: 9.863 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.1593, allocations: 11.98 kB / 492.4 MB, free: 9.852 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.1593, allocations: 4 kB / 492.4 MB, free: 9.848 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.1593, allocations: 8 kB / 492.4 MB, free: 9.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000372/0.1597, allocations: 99.88 kB / 492.5 MB, free: 9.742 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.333e-05/0.1597, allocations: 7.938 kB / 492.5 MB, free: 9.734 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001979/0.1599, allocations: 36.02 kB / 492.5 MB, free: 9.699 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.651e-05/0.1599, allocations: 20 kB / 492.6 MB, free: 9.68 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 48 * 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.0001505/0.1601, allocations: 157.6 kB / 492.7 MB, free: 9.516 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.808e-05/0.1602, allocations: 31.62 kB / 492.7 MB, free: 9.484 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.724e-05/0.1603, allocations: 33.7 kB / 492.8 MB, free: 9.453 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.1603, allocations: 4 kB / 492.8 MB, free: 9.449 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.1603, allocations: 4 kB / 492.8 MB, free: 9.445 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.1603, allocations: 0 / 492.8 MB, free: 9.445 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001429/0.1618, allocations: 1.006 MB / 493.8 MB, free: 8.375 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.1618, allocations: 4 kB / 493.8 MB, free: 8.371 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003496/0.1621, allocations: 83.88 kB / 493.9 MB, free: 8.289 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.1621, allocations: 0 / 493.9 MB, free: 8.289 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.408e-05/0.1622, allocations: 16.02 kB / 493.9 MB, free: 8.273 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.611e-06/0.1622, allocations: 7.938 kB / 493.9 MB, free: 8.266 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1622, allocations: 0 / 493.9 MB, free: 8.266 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00117/0.1634, allocations: 0.7607 MB / 494.7 MB, free: 7.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.017e-05/0.1635, allocations: 100.8 kB / 494.8 MB, free: 7.363 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.936e-05/0.1635, allocations: 12.05 kB / 494.8 MB, free: 7.352 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002823/0.1638, allocations: 32.22 kB / 494.8 MB, free: 7.32 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.813e-05/0.1639, allocations: 23.97 kB / 494.8 MB, free: 7.297 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.841e-05/0.1639, allocations: 12 kB / 494.8 MB, free: 7.285 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001212/0.164, allocations: 164.3 kB / 495 MB, free: 7.129 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.164, allocations: 0 / 495 MB, free: 7.129 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006163/0.1646, allocations: 64 kB / 495.1 MB, free: 7.066 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (speed4.s,speed3.s,speed3.v,speed1.phi,speed1.w,speed2.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * 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.001272/0.1659, allocations: 1.309 MB / 496.4 MB, free: 5.723 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006299/0.1666, allocations: 296.3 kB / 496.7 MB, free: 5.434 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.1666, allocations: 0 / 496.7 MB, free: 5.434 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002946/0.1669, allocations: 148.1 kB / 496.8 MB, free: 5.289 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006402/0.1675, allocations: 37.11 kB / 496.8 MB, free: 5.254 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003202/0.1707, allocations: 2.182 MB / 499 MB, free: 2.926 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003844/0.1711, allocations: 0.7644 MB / 499.8 MB, free: 2.137 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001493/0.1713, allocations: 34.95 kB / 499.8 MB, free: 2.105 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001467/0.1715, allocations: 95.95 kB / 499.9 MB, free: 2.012 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1715, allocations: 0 / 499.9 MB, free: 2.012 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0164/0.1879, allocations: 4.754 MB / 0.4928 GB, free: 13.38 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001887/0.1881, allocations: 174.5 kB / 0.493 GB, free: 13.14 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.882/2.07, allocations: 4.062 kB / 0.493 GB, free: 13.13 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Rotational_TestSpeed_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Rotational_TestSpeed.fmu > ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Rotational.TestSpeed_res.mat does not exist to compare? outputFormat=mat