Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Translational.AllComponents,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Translational_AllComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Translational.AllComponents,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Translational_AllComponents",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001574/0.001574, allocations: 183.8 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.679/1.679, allocations: 205.2 MB / 218.9 MB, free: 9.207 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008272/0.0008272, allocations: 88.47 kB / 267.1 MB, free: 9.27 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.44/0.44, allocations: 43.47 MB / 358.6 MB, free: 51.54 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.642e-05/3.656e-05, allocations: 4 kB / 425.4 MB, free: 8.078 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1342, allocations: 58.83 MB / 484.2 MB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4549/0.5892, allocations: 89.69 MB / 0.5605 GB, free: 14.92 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002454/0.5895, allocations: 67.55 kB / 0.5605 GB, free: 14.89 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03053/0.62, allocations: 11.48 MB / 0.5718 GB, free: 6.211 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.6201, allocations: 4 kB / 0.5718 GB, free: 6.207 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.647e-05/0.6201, allocations: 12 kB / 0.5718 GB, free: 6.195 MB / 394.7 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.001316/0.6215, allocations: 0.8365 MB / 0.5726 GB, free: 5.355 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.382e-05/0.6215, allocations: 12.03 kB / 0.5726 GB, free: 5.344 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.966e-05/0.6216, allocations: 93.83 kB / 0.5727 GB, free: 5.277 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.947e-05/0.6217, allocations: 79.06 kB / 0.5728 GB, free: 5.199 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000424/0.6222, allocations: 364.8 kB / 0.5731 GB, free: 4.84 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.207e-05/0.6222, allocations: 43.5 kB / 0.5731 GB, free: 4.812 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.985e-05/0.6223, allocations: 70.83 kB / 0.5732 GB, free: 4.766 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008382/0.6231, allocations: 0.5691 MB / 0.5738 GB, free: 4.336 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.078e-05/0.6232, allocations: 11.84 kB / 0.5738 GB, free: 4.324 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.97e-05/0.6232, allocations: 26.8 kB / 0.5738 GB, free: 4.316 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.6233, allocations: 12 kB / 0.5738 GB, free: 4.305 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006593/0.6239, allocations: 458.1 kB / 0.5743 GB, free: 3.98 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002624/0.6266, allocations: 2.204 MB / 0.5764 GB, free: 2.055 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008473/0.6274, allocations: 0.6413 MB / 0.577 GB, free: 1.508 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003474/0.6278, allocations: 306.3 kB / 0.5773 GB, free: 1.277 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001312/0.6279, allocations: 97.83 kB / 0.5774 GB, free: 1.164 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.628, allocations: 56.89 kB / 0.5775 GB, free: 1.109 MB / 394.7 MB Notification: Performance of pre-optimization done (n=82): time 2.505e-06/0.628, allocations: 3.5 kB / 0.5775 GB, free: 1.109 MB / 394.7 MB Notification: Performance of matching and sorting (n=115): time 0.006434/0.6344, allocations: 4.088 MB / 0.5815 GB, free: 13.25 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001232/0.6346, allocations: 218.2 kB / 0.5817 GB, free: 12.99 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003762/0.635, allocations: 324.7 kB / 0.582 GB, free: 12.73 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.7e-05/0.635, allocations: 46.95 kB / 0.582 GB, free: 12.69 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001801/0.6352, allocations: 266 kB / 0.5823 GB, free: 12.49 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002862/0.6355, allocations: 411.2 kB / 0.5827 GB, free: 12.14 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.019e-05/0.6355, allocations: 22.5 kB / 0.5827 GB, free: 12.13 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001716/0.6357, allocations: 379.2 kB / 0.5831 GB, free: 11.78 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004268/0.6362, allocations: 271.1 kB / 0.5833 GB, free: 11.61 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005598/0.6367, allocations: 459.3 kB / 0.5838 GB, free: 11.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005329/0.6373, allocations: 339.9 kB / 0.5841 GB, free: 10.98 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.6373, allocations: 0 / 0.5841 GB, free: 10.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001384/0.6387, allocations: 0.9111 MB / 0.585 GB, free: 10.28 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/0.6387, allocations: 8.625 kB / 0.585 GB, free: 10.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.6387, allocations: 4 kB / 0.585 GB, free: 10.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.873e-05/0.6388, allocations: 12 kB / 0.585 GB, free: 10.26 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001049/0.6398, allocations: 294.3 kB / 0.5853 GB, free: 9.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.187e-05/0.6398, allocations: 15.92 kB / 0.5853 GB, free: 9.965 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004535/0.6403, allocations: 56.59 kB / 0.5853 GB, free: 9.926 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.309e-05/0.6404, allocations: 46.7 kB / 0.5854 GB, free: 9.891 MB / 410.7 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 () * 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.0001963/0.6406, allocations: 174.4 kB / 0.5856 GB, free: 9.75 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002311/0.6408, allocations: 71.16 kB / 0.5856 GB, free: 9.68 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004339/0.6413, allocations: 208.9 kB / 0.5858 GB, free: 9.551 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-05/0.6413, allocations: 12 kB / 0.5858 GB, free: 9.539 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.24e-05/0.6413, allocations: 4 kB / 0.5858 GB, free: 9.535 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.618e-05/0.6413, allocations: 11.97 kB / 0.5859 GB, free: 9.523 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003334/0.6447, allocations: 2.281 MB / 0.5881 GB, free: 7.617 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.726e-06/0.6447, allocations: 4.141 kB / 0.5881 GB, free: 7.613 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001063/0.6458, allocations: 262.2 kB / 0.5883 GB, free: 7.367 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.712e-05/0.6458, allocations: 11.98 kB / 0.5883 GB, free: 7.355 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.349e-05/0.6459, allocations: 31.23 kB / 0.5884 GB, free: 7.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.218e-05/0.6459, allocations: 8 kB / 0.5884 GB, free: 7.332 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.333e-06/0.6459, allocations: 11.95 kB / 0.5884 GB, free: 7.32 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002171/0.6481, allocations: 1.943 MB / 0.5903 GB, free: 5.602 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000308/0.6484, allocations: 196.3 kB / 0.5905 GB, free: 5.418 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.67e-05/0.6485, allocations: 25.94 kB / 0.5905 GB, free: 5.406 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005912/0.6491, allocations: 53.22 kB / 0.5906 GB, free: 5.367 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001932/0.6493, allocations: 91.28 kB / 0.5906 GB, free: 5.293 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.782e-05/0.6494, allocations: 31.73 kB / 0.5907 GB, free: 5.266 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003232/0.6497, allocations: 250.3 kB / 0.5909 GB, free: 5.062 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6497, allocations: 0 / 0.5909 GB, free: 5.062 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009593/0.6507, allocations: 199.8 kB / 0.5911 GB, free: 4.898 MB / 410.7 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 () * 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.003283/0.654, allocations: 3.551 MB / 0.5946 GB, free: 1.617 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001487/0.6555, allocations: 0.7451 MB / 0.5953 GB, free: 1.062 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.6555, allocations: 128 / 0.5953 GB, free: 1.062 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006759/0.6562, allocations: 455.9 kB / 0.5957 GB, free: 0.7266 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009474/0.6571, allocations: 102 kB / 0.5958 GB, free: 0.6523 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004187/0.6613, allocations: 2.165 MB / 0.5979 GB, free: 14.6 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000619/0.662, allocations: 0.9601 MB / 0.5989 GB, free: 13.61 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000467/0.6625, allocations: 101.6 kB / 0.599 GB, free: 13.51 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003455/0.6628, allocations: 255.8 kB / 0.5992 GB, free: 13.44 MB / 426.7 MB Notification: Performance of SimCode: time 1.052e-06/0.6628, allocations: 0 / 0.5992 GB, free: 13.44 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03698/0.6998, allocations: 12.53 MB / 0.6115 GB, free: 0.9844 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002478/0.7001, allocations: 145.7 kB / 0.6116 GB, free: 0.7617 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.374/3.074, allocations: 64 / 0.6116 GB, free: 0.7617 MB / 426.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Translational_AllComponents_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Translational_AllComponents.fmu > ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents_res.mat does not exist to compare? outputFormat=mat