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.0009504/0.0009503, allocations: 92.77 kB / 16.99 MB, free: 5.629 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.001015/0.001015, allocations: 181.3 kB / 17.88 MB, free: 5.301 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.453/1.453, allocations: 223.2 MB / 241.8 MB, free: 304 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.2189/0.2189, allocations: 44.22 MB / 337.1 MB, free: 2.875 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003275/0.0003276, allocations: 8.625 kB / 409.6 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1395, allocations: 61.92 MB / 471.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.00408/0.1437, allocations: 3.317 MB / 474.8 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002077/0.1458, allocations: 1.06 MB / 475.9 MB, free: 9.262 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003039/0.1461, allocations: 11.94 kB / 475.9 MB, free: 9.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001625/0.1463, allocations: 75.38 kB / 476 MB, free: 9.176 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005499/0.1469, allocations: 231.4 kB / 476.2 MB, free: 8.949 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006802/0.1475, allocations: 147.7 kB / 476.4 MB, free: 8.805 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007825/0.1483, allocations: 0.5228 MB / 476.9 MB, free: 8.277 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003893/0.1487, allocations: 186.9 kB / 477.1 MB, free: 8.098 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003594/0.1491, allocations: 247.1 kB / 477.3 MB, free: 7.855 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003451/0.1495, allocations: 290.7 kB / 477.6 MB, free: 7.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.503e-05/0.1495, allocations: 35.98 kB / 477.6 MB, free: 7.535 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001614/0.1497, allocations: 59.86 kB / 477.7 MB, free: 7.477 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001157/0.1498, allocations: 103.6 kB / 477.8 MB, free: 7.375 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001229/0.15, allocations: 149.3 kB / 477.9 MB, free: 7.223 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006366/0.1506, allocations: 0.5339 MB / 478.5 MB, free: 6.688 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.1506, allocations: 0 / 478.5 MB, free: 6.688 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1506, allocations: 0 / 478.5 MB, free: 6.688 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.338e-06/0.1506, allocations: 0 / 478.5 MB, free: 6.688 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.001703/0.1523, allocations: 0.9157 MB / 479.4 MB, free: 5.723 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.1524, allocations: 8.031 kB / 479.4 MB, free: 5.715 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001189/0.1525, allocations: 106.5 kB / 479.5 MB, free: 5.602 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001171/0.1527, allocations: 83 kB / 479.6 MB, free: 5.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005534/0.1532, allocations: 376.8 kB / 479.9 MB, free: 5.109 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.126e-05/0.1533, allocations: 45.3 kB / 480 MB, free: 5.062 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.567e-05/0.1534, allocations: 75.84 kB / 480.1 MB, free: 4.988 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001102/0.1545, allocations: 0.6265 MB / 480.7 MB, free: 4.336 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.151e-05/0.1545, allocations: 11.91 kB / 480.7 MB, free: 4.324 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.067e-05/0.1546, allocations: 24 kB / 480.7 MB, free: 4.301 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.756e-05/0.1546, allocations: 16 kB / 480.7 MB, free: 4.285 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001193/0.1558, allocations: 0.5606 MB / 481.3 MB, free: 3.719 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00341/0.1592, allocations: 2.177 MB / 483.5 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001316/0.1606, allocations: 0.7156 MB / 484.2 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001539/0.1607, allocations: 101.5 kB / 484.3 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.794e-05/0.1608, allocations: 50.89 kB / 484.3 MB, free: 480 kB / 350.1 MB Notification: Performance of pre-optimization done (n=82): time 3.486e-06/0.1608, allocations: 0 / 484.3 MB, free: 480 kB / 350.1 MB Notification: Performance of matching and sorting (n=115): time 0.008555/0.1694, allocations: 4.616 MB / 489 MB, free: 11.5 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001376/0.1695, allocations: 218.2 kB / 489.2 MB, free: 11.24 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004938/0.17, allocations: 365.8 kB / 489.5 MB, free: 10.87 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.292e-05/0.1701, allocations: 45.7 kB / 489.6 MB, free: 10.82 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001993/0.1703, allocations: 268.9 kB / 489.8 MB, free: 10.55 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000324/0.1706, allocations: 414 kB / 490.2 MB, free: 10.14 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.186e-05/0.1707, allocations: 20 kB / 490.3 MB, free: 10.12 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001917/0.1709, allocations: 378.8 kB / 490.6 MB, free: 9.742 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006351/0.1715, allocations: 338.4 kB / 491 MB, free: 9.41 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007833/0.1723, allocations: 0.5127 MB / 491.5 MB, free: 8.832 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000736/0.1731, allocations: 399.1 kB / 491.9 MB, free: 8.441 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-06/0.1731, allocations: 4 kB / 491.9 MB, free: 8.438 MB / 366.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001787/0.1749, allocations: 1.034 MB / 492.9 MB, free: 7.398 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.1749, allocations: 8.438 kB / 492.9 MB, free: 7.391 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.1749, allocations: 8 kB / 492.9 MB, free: 7.383 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.718e-05/0.175, allocations: 12 kB / 492.9 MB, free: 7.371 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001009/0.176, allocations: 287.6 kB / 493.2 MB, free: 7.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.175e-05/0.176, allocations: 21.41 kB / 493.2 MB, free: 7.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004546/0.1765, allocations: 63.92 kB / 493.3 MB, free: 7.008 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-05/0.1766, allocations: 44.06 kB / 493.3 MB, free: 6.965 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.000309/0.1769, allocations: 229.5 kB / 493.6 MB, free: 6.73 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001945/0.1771, allocations: 79.14 kB / 493.6 MB, free: 6.652 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004355/0.1775, allocations: 219.1 kB / 493.9 MB, free: 6.43 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.236e-05/0.1775, allocations: 12 kB / 493.9 MB, free: 6.418 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.098e-05/0.1776, allocations: 0 / 493.9 MB, free: 6.418 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.35e-05/0.1776, allocations: 11.97 kB / 493.9 MB, free: 6.406 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00374/0.1813, allocations: 2.378 MB / 496.3 MB, free: 3.926 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.174e-05/0.1814, allocations: 16.48 kB / 496.3 MB, free: 3.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001038/0.1824, allocations: 259.7 kB / 496.5 MB, free: 3.656 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.191e-05/0.1824, allocations: 8 kB / 496.5 MB, free: 3.648 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.743e-05/0.1825, allocations: 35.92 kB / 496.6 MB, free: 3.613 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.127e-06/0.1825, allocations: 8 kB / 496.6 MB, free: 3.605 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.672e-06/0.1825, allocations: 7.938 kB / 496.6 MB, free: 3.598 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002725/0.1853, allocations: 2.121 MB / 498.7 MB, free: 1.348 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002874/0.1856, allocations: 196.3 kB / 498.9 MB, free: 1.137 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.693e-05/0.1857, allocations: 24 kB / 498.9 MB, free: 1.113 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006315/0.1863, allocations: 55.97 kB / 499 MB, free: 1.059 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001474/0.1865, allocations: 92.33 kB / 499.1 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.689e-05/0.1865, allocations: 32 kB / 499.1 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002708/0.1868, allocations: 251.1 kB / 499.3 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1868, allocations: 0 / 499.3 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008994/0.1877, allocations: 192 kB / 499.5 MB, free: 0.5039 MB / 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.003681/0.1914, allocations: 3.728 MB / 0.4915 GB, free: 12.65 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001737/0.1931, allocations: 0.8666 MB / 0.4923 GB, free: 11.79 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5e-06/0.1932, allocations: 0 / 0.4923 GB, free: 11.79 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008744/0.194, allocations: 0.511 MB / 0.4928 GB, free: 11.29 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009393/0.195, allocations: 101.5 kB / 0.4929 GB, free: 11.19 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009262/0.2043, allocations: 8.383 MB / 0.5011 GB, free: 2.594 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000604/0.2049, allocations: 0.9569 MB / 0.502 GB, free: 1.609 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000447/0.2054, allocations: 105.7 kB / 0.5021 GB, free: 1.504 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003647/0.2057, allocations: 259.3 kB / 0.5024 GB, free: 1.254 MB / 382.1 MB Notification: Performance of SimCode: time 7.81e-07/0.2057, allocations: 0 / 0.5024 GB, free: 1.254 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2389/0.4446, allocations: 12.5 MB / 0.5146 GB, free: 45.82 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001643/0.4448, allocations: 177.1 kB / 0.5147 GB, free: 45.58 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.958/2.403, allocations: 0 / 0.5147 GB, free: 45.58 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