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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.002191/0.00219, allocations: 173.7 kB / 8.739 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 221.5 MB / 230.7 MB, free: 7.574 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 95.47 kB / 281.6 MB, free: 5.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2135/0.2135, allocations: 44.15 MB / 376.5 MB, free: 3.043 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.668e-05/1.684e-05, allocations: 4.156 kB / 444.7 MB, free: 15.15 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1319, allocations: 61.92 MB / 0.4948 GB, free: 1.168 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4446/0.5765, allocations: 90.5 MB / 0.5831 GB, free: 5.867 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002491/0.5768, allocations: 67.97 kB / 0.5832 GB, free: 5.801 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03423/0.6111, allocations: 11.69 MB / 0.5946 GB, free: 10.07 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.6111, allocations: 0 / 0.5946 GB, free: 10.07 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.109e-05/0.6112, allocations: 15.98 kB / 0.5946 GB, free: 10.05 MB / 410.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.001467/0.6126, allocations: 0.8442 MB / 0.5955 GB, free: 9.164 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.637e-05/0.6127, allocations: 15.98 kB / 0.5955 GB, free: 9.148 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001188/0.6128, allocations: 75.11 kB / 0.5955 GB, free: 9.074 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004545/0.6133, allocations: 367.3 kB / 0.5959 GB, free: 8.676 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.015e-05/0.6133, allocations: 20 kB / 0.5959 GB, free: 8.656 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.237e-05/0.6134, allocations: 39.89 kB / 0.596 GB, free: 8.617 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006833/0.6141, allocations: 410.5 kB / 0.5963 GB, free: 8.215 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007817/0.6149, allocations: 0.4898 MB / 0.5968 GB, free: 7.699 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.301e-05/0.6149, allocations: 11.89 kB / 0.5968 GB, free: 7.688 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.252e-05/0.615, allocations: 4 kB / 0.5968 GB, free: 7.684 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.389e-05/0.615, allocations: 12 kB / 0.5968 GB, free: 7.672 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002877/0.6179, allocations: 1.947 MB / 0.5987 GB, free: 5.633 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008354/0.6187, allocations: 0.5492 MB / 0.5993 GB, free: 5.035 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003622/0.6191, allocations: 270.7 kB / 0.5995 GB, free: 4.754 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001471/0.6193, allocations: 97.53 kB / 0.5996 GB, free: 4.641 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.788e-05/0.6193, allocations: 50.94 kB / 0.5997 GB, free: 4.582 MB / 410.7 MB Notification: Performance of pre-optimization done (n=82): time 2.164e-06/0.6193, allocations: 0 / 0.5997 GB, free: 4.582 MB / 410.7 MB Notification: Performance of matching and sorting (n=115): time 0.00498/0.6243, allocations: 3.545 MB / 0.6031 GB, free: 0.6797 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.384e-05/0.6244, allocations: 174.7 kB / 0.6033 GB, free: 484 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003248/0.6247, allocations: 297.2 kB / 0.6036 GB, free: 184 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.662e-05/0.6248, allocations: 37.62 kB / 0.6036 GB, free: 140 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001774/0.625, allocations: 261 kB / 0.6039 GB, free: 15.88 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002555/0.6253, allocations: 390.1 kB / 0.6043 GB, free: 15.49 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.584e-05/0.6253, allocations: 0 / 0.6043 GB, free: 15.49 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.6255, allocations: 382.8 kB / 0.6046 GB, free: 15.11 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000384/0.6258, allocations: 242.6 kB / 0.6049 GB, free: 14.87 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005025/0.6264, allocations: 434.7 kB / 0.6053 GB, free: 14.38 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004876/0.6269, allocations: 318.6 kB / 0.6056 GB, free: 14.07 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.6269, allocations: 4 kB / 0.6056 GB, free: 14.07 MB / 426.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001197/0.6281, allocations: 0.8056 MB / 0.6064 GB, free: 13.25 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.6281, allocations: 8 kB / 0.6064 GB, free: 13.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/0.6281, allocations: 7.953 kB / 0.6064 GB, free: 13.24 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.766e-05/0.6281, allocations: 12 kB / 0.6064 GB, free: 13.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001068/0.6292, allocations: 299.5 kB / 0.6067 GB, free: 12.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.595e-05/0.6293, allocations: 16.09 kB / 0.6067 GB, free: 12.92 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000409/0.6297, allocations: 35.91 kB / 0.6067 GB, free: 12.88 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.871e-05/0.6298, allocations: 43.98 kB / 0.6068 GB, free: 12.84 MB / 426.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.0001495/0.6299, allocations: 128.7 kB / 0.6069 GB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001083/0.631, allocations: 0.6777 MB / 0.6075 GB, free: 12.03 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001623/0.6312, allocations: 71.2 kB / 0.6076 GB, free: 11.96 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004356/0.6316, allocations: 219.7 kB / 0.6078 GB, free: 11.73 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-05/0.6316, allocations: 15.98 kB / 0.6078 GB, free: 11.71 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.6317, allocations: 4 kB / 0.6078 GB, free: 11.71 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.282e-05/0.6317, allocations: 3.984 kB / 0.6078 GB, free: 11.71 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002949/0.6346, allocations: 2.159 MB / 0.61 GB, free: 9.461 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/0.6346, allocations: 7.922 kB / 0.61 GB, free: 9.453 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001088/0.6357, allocations: 260 kB / 0.6102 GB, free: 9.199 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.22e-05/0.6358, allocations: 8 kB / 0.6102 GB, free: 9.191 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.998e-05/0.6358, allocations: 11.98 kB / 0.6102 GB, free: 9.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.184e-06/0.6358, allocations: 8.078 kB / 0.6102 GB, free: 9.172 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.214e-06/0.6358, allocations: 11.94 kB / 0.6103 GB, free: 9.16 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001881/0.6377, allocations: 1.691 MB / 0.6119 GB, free: 7.352 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000253/0.638, allocations: 200.2 kB / 0.6121 GB, free: 7.137 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.628e-05/0.6381, allocations: 11.89 kB / 0.6121 GB, free: 7.125 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005277/0.6386, allocations: 39.97 kB / 0.6121 GB, free: 7.086 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000154/0.6388, allocations: 76.45 kB / 0.6122 GB, free: 7.008 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.967e-05/0.6389, allocations: 40.05 kB / 0.6123 GB, free: 6.969 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002229/0.6391, allocations: 227 kB / 0.6125 GB, free: 6.746 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6391, allocations: 0 / 0.6125 GB, free: 6.746 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007416/0.6398, allocations: 160 kB / 0.6126 GB, free: 6.59 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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.002568/0.6424, allocations: 3.157 MB / 0.6157 GB, free: 3.328 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00106/0.6435, allocations: 0.6954 MB / 0.6164 GB, free: 2.637 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.6435, allocations: 0 / 0.6164 GB, free: 2.637 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005689/0.6441, allocations: 422.3 kB / 0.6168 GB, free: 2.227 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008062/0.6449, allocations: 92.2 kB / 0.6169 GB, free: 2.141 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003591/0.6485, allocations: 2.05 MB / 0.6189 GB, free: 0 / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006494/0.6492, allocations: 0.9603 MB / 0.6198 GB, free: 15.01 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004289/0.6496, allocations: 101.6 kB / 0.6199 GB, free: 14.91 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003843/0.65, allocations: 255.3 kB / 0.6202 GB, free: 14.66 MB / 442.7 MB Notification: Performance of SimCode: time 5.01e-07/0.65, allocations: 4 kB / 0.6202 GB, free: 14.65 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03443/0.6844, allocations: 11.98 MB / 0.6319 GB, free: 2.754 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002035/0.6847, allocations: 142.2 kB / 0.632 GB, free: 2.551 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.182/2.866, allocations: 7.625 kB / 0.632 GB, free: 2.547 MB / 442.7 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