Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Translational.AllComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Translational_AllComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Translational.AllComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Translational_AllComponents",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 98.39 kB / 17 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001152/0.001153, allocations: 188.6 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 223.2 MB / 241.9 MB, free: 248 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2107/0.2107, allocations: 44.22 MB / 337.2 MB, free: 2.863 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000359/0.0003591, allocations: 8 kB / 409.7 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.129, allocations: 61.92 MB / 471.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.00397/0.1331, allocations: 3.534 MB / 475.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001908/0.135, allocations: 1.025 MB / 476.2 MB, free: 9.062 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000231/0.1352, allocations: 15.94 kB / 476.2 MB, free: 9.047 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000198/0.1355, allocations: 71.41 kB / 476.3 MB, free: 8.977 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003331/0.1358, allocations: 174.5 kB / 476.5 MB, free: 8.805 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005235/0.1363, allocations: 135.8 kB / 476.6 MB, free: 8.672 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009123/0.1373, allocations: 0.7121 MB / 477.3 MB, free: 7.953 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004397/0.1377, allocations: 182.9 kB / 477.5 MB, free: 7.777 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003507/0.1381, allocations: 255 kB / 477.7 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004985/0.1386, allocations: 294.7 kB / 478 MB, free: 7.238 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001004/0.1387, allocations: 36 kB / 478 MB, free: 7.203 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002151/0.1389, allocations: 51.98 kB / 478.1 MB, free: 7.152 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001435/0.1391, allocations: 111.5 kB / 478.2 MB, free: 7.043 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001887/0.1393, allocations: 149.3 kB / 478.4 MB, free: 6.891 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007575/0.1401, allocations: 0.5378 MB / 478.9 MB, free: 6.352 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.276e-06/0.1401, allocations: 4 kB / 478.9 MB, free: 6.348 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.1401, allocations: 0 / 478.9 MB, free: 6.348 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.1e-05/0.1401, allocations: 0 / 478.9 MB, free: 6.348 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001824/0.1419, allocations: 0.9196 MB / 479.8 MB, free: 5.379 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.425e-05/0.142, allocations: 12.03 kB / 479.8 MB, free: 5.367 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001329/0.1421, allocations: 94.52 kB / 479.9 MB, free: 5.266 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001277/0.1423, allocations: 79.06 kB / 480 MB, free: 5.188 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004834/0.1428, allocations: 380.8 kB / 480.4 MB, free: 4.773 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.387e-05/0.1428, allocations: 49.3 kB / 480.4 MB, free: 4.723 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001044/0.1429, allocations: 67.86 kB / 480.5 MB, free: 4.656 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001194/0.1441, allocations: 0.6343 MB / 481.1 MB, free: 3.996 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.459e-05/0.1442, allocations: 11.91 kB / 481.1 MB, free: 3.984 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.25e-05/0.1443, allocations: 27.98 kB / 481.2 MB, free: 3.957 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.665e-05/0.1443, allocations: 12 kB / 481.2 MB, free: 3.945 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001113/0.1454, allocations: 0.5646 MB / 481.7 MB, free: 3.375 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002977/0.1484, allocations: 2.176 MB / 483.9 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001227/0.1496, allocations: 0.7154 MB / 484.6 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000628/0.1503, allocations: 359.5 kB / 485 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001505/0.1504, allocations: 105.7 kB / 485.1 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/0.1505, allocations: 50.94 kB / 485.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of pre-optimization done (n=82): time 2.335e-06/0.1505, allocations: 0 / 485.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=115): time 0.008035/0.1585, allocations: 4.617 MB / 489.7 MB, free: 10.79 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001238/0.1587, allocations: 230.1 kB / 490 MB, free: 10.51 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004042/0.1591, allocations: 361.9 kB / 490.3 MB, free: 10.14 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.222e-05/0.1592, allocations: 41.7 kB / 490.4 MB, free: 10.1 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002459/0.1594, allocations: 268.9 kB / 490.6 MB, free: 9.828 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002744/0.1597, allocations: 406 kB / 491 MB, free: 9.426 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.548e-05/0.1597, allocations: 24 kB / 491 MB, free: 9.402 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.1599, allocations: 378.8 kB / 491.4 MB, free: 9.023 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006205/0.1605, allocations: 334.4 kB / 491.7 MB, free: 8.695 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007317/0.1613, allocations: 0.5166 MB / 492.3 MB, free: 8.113 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007026/0.162, allocations: 399 kB / 492.6 MB, free: 7.723 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.162, allocations: 8 kB / 492.7 MB, free: 7.715 MB / 366.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001791/0.1638, allocations: 1.027 MB / 493.7 MB, free: 6.68 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.1638, allocations: 4 kB / 493.7 MB, free: 6.676 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/0.1638, allocations: 8 kB / 493.7 MB, free: 6.668 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.463e-05/0.1639, allocations: 8 kB / 493.7 MB, free: 6.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001029/0.1649, allocations: 296 kB / 494 MB, free: 6.371 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.015e-05/0.1649, allocations: 15.94 kB / 494 MB, free: 6.355 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004299/0.1654, allocations: 63.92 kB / 494.1 MB, free: 6.293 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.335e-05/0.1655, allocations: 39.98 kB / 494.1 MB, free: 6.254 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (144): * Single equations (assignments): 144 * 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.000329/0.1658, allocations: 233.5 kB / 494.3 MB, free: 6.016 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002139/0.166, allocations: 71.16 kB / 494.4 MB, free: 5.945 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004772/0.1665, allocations: 230.7 kB / 494.6 MB, free: 5.711 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.304e-05/0.1665, allocations: 12 kB / 494.6 MB, free: 5.699 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.088e-05/0.1665, allocations: 192 / 494.6 MB, free: 5.699 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.475e-05/0.1666, allocations: 11.98 kB / 494.7 MB, free: 5.688 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003625/0.1702, allocations: 2.39 MB / 497 MB, free: 3.191 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.7e-05/0.1703, allocations: 4 kB / 497 MB, free: 3.188 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001043/0.1713, allocations: 260 kB / 497.3 MB, free: 2.934 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.376e-05/0.1713, allocations: 8 kB / 497.3 MB, free: 2.926 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.782e-05/0.1714, allocations: 27.98 kB / 497.3 MB, free: 2.898 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.258e-05/0.1714, allocations: 8 kB / 497.3 MB, free: 2.891 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.608e-06/0.1714, allocations: 7.938 kB / 497.4 MB, free: 2.883 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002551/0.174, allocations: 1.943 MB / 499.3 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003356/0.1743, allocations: 200.3 kB / 499.5 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.033e-05/0.1744, allocations: 28.05 kB / 499.5 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005992/0.175, allocations: 59.97 kB / 499.6 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000164/0.1752, allocations: 88.34 kB / 499.7 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.763e-05/0.1753, allocations: 35.98 kB / 499.7 MB, free: 492 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002499/0.1755, allocations: 243.2 kB / 499.9 MB, free: 248 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1755, allocations: 0 / 499.9 MB, free: 248 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009035/0.1765, allocations: 196 kB / 0.4884 GB, free: 52 kB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 15 (slidingMass.s,slidingMass.v,damper.s_rel,springDamper.s_rel,springDamper.v_rel,elastoGap.s_rel,elastoGap.v_rel,relativeStates.s_rel,relativeStates.v_rel,position2.s,position2.v,position1.s,position1.v,position.s,position.v) * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 115 * 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.002863/0.1793, allocations: 2.53 MB / 0.4909 GB, free: 13.46 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001583/0.1809, allocations: 0.869 MB / 0.4917 GB, free: 12.6 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.1809, allocations: 0 / 0.4917 GB, free: 12.6 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008474/0.1818, allocations: 0.5108 MB / 0.4922 GB, free: 12.09 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00119/0.183, allocations: 119.9 kB / 0.4923 GB, free: 11.98 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007774/0.1908, allocations: 5.229 MB / 0.4974 GB, free: 6.57 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005842/0.1914, allocations: 0.9442 MB / 0.4984 GB, free: 5.598 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004292/0.1918, allocations: 106.3 kB / 0.4985 GB, free: 5.492 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003731/0.1922, allocations: 267.3 kB / 0.4987 GB, free: 5.23 MB / 382.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1922, allocations: 0 / 0.4987 GB, free: 5.23 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2127/0.4049, allocations: 12.54 MB / 0.511 GB, free: 46.71 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001476/0.4051, allocations: 178.9 kB / 0.5111 GB, free: 46.48 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.123/2.529, allocations: 0 / 0.5111 GB, free: 46.48 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Translational_AllComponents_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Translational_AllComponents.fmu > ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents_res.mat does not exist to compare? outputFormat=mat