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.002134/0.002134, allocations: 177 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 223.2 MB / 241 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009131/0.000913, allocations: 88.16 kB / 292.1 MB, free: 10.89 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.3382/0.3382, allocations: 44.21 MB / 387.5 MB, free: 38.78 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003589/0.0003589, allocations: 8 kB / 460 MB, free: 1.402 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3202/0.3206, allocations: 61.9 MB / 0.5096 GB, free: 38.02 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1112/0.4319, allocations: 91.24 MB / 0.5987 GB, free: 3.824 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002487/0.4322, allocations: 71.94 kB / 0.5988 GB, free: 3.758 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03417/0.4664, allocations: 11.79 MB / 0.6103 GB, free: 7.91 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4664, allocations: 0 / 0.6103 GB, free: 7.91 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.01e-05/0.4664, allocations: 12 kB / 0.6103 GB, free: 7.898 MB / 426.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.001599/0.468, allocations: 0.9081 MB / 0.6112 GB, free: 6.941 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.4681, allocations: 8.031 kB / 0.6112 GB, free: 6.934 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001174/0.4682, allocations: 98.52 kB / 0.6113 GB, free: 6.828 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001177/0.4683, allocations: 79.09 kB / 0.6114 GB, free: 6.75 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004997/0.4689, allocations: 372.8 kB / 0.6117 GB, free: 6.348 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.469e-05/0.4689, allocations: 45.31 kB / 0.6118 GB, free: 6.305 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001023/0.469, allocations: 67.91 kB / 0.6118 GB, free: 6.238 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001156/0.4702, allocations: 0.6265 MB / 0.6125 GB, free: 5.582 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.56e-05/0.4702, allocations: 11.81 kB / 0.6125 GB, free: 5.57 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.622e-05/0.4703, allocations: 31.98 kB / 0.6125 GB, free: 5.539 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.576e-05/0.4703, allocations: 12 kB / 0.6125 GB, free: 5.527 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001128/0.4715, allocations: 0.5742 MB / 0.6131 GB, free: 4.949 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00323/0.4747, allocations: 2.203 MB / 0.6152 GB, free: 2.633 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001191/0.4759, allocations: 0.7063 MB / 0.6159 GB, free: 1.863 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001866/0.4761, allocations: 101.8 kB / 0.616 GB, free: 1.746 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.558e-05/0.4762, allocations: 46.94 kB / 0.6161 GB, free: 1.691 MB / 426.7 MB Notification: Performance of pre-optimization done (n=82): time 3.317e-06/0.4762, allocations: 0 / 0.6161 GB, free: 1.691 MB / 426.7 MB Notification: Performance of matching and sorting (n=115): time 0.008069/0.4842, allocations: 4.622 MB / 0.6206 GB, free: 12.73 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001381/0.4844, allocations: 218.2 kB / 0.6208 GB, free: 12.46 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003856/0.4848, allocations: 313.2 kB / 0.6211 GB, free: 12.15 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.907e-05/0.4849, allocations: 45.7 kB / 0.6211 GB, free: 12.1 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000217/0.4851, allocations: 269 kB / 0.6214 GB, free: 11.83 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003095/0.4854, allocations: 410.4 kB / 0.6218 GB, free: 11.42 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.312e-05/0.4855, allocations: 20 kB / 0.6218 GB, free: 11.4 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001976/0.4857, allocations: 382.8 kB / 0.6222 GB, free: 11.02 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006508/0.4863, allocations: 334.4 kB / 0.6225 GB, free: 10.69 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007647/0.4871, allocations: 0.5204 MB / 0.623 GB, free: 10.1 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007197/0.4878, allocations: 395.1 kB / 0.6234 GB, free: 9.715 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.4879, allocations: 0 / 0.6234 GB, free: 9.715 MB / 442.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001803/0.4897, allocations: 1.038 MB / 0.6244 GB, free: 8.672 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.722e-05/0.4897, allocations: 8.438 kB / 0.6244 GB, free: 8.664 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.4897, allocations: 4 kB / 0.6244 GB, free: 8.66 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.761e-05/0.4898, allocations: 16 kB / 0.6244 GB, free: 8.645 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001046/0.4908, allocations: 291.6 kB / 0.6247 GB, free: 8.359 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.237e-05/0.4909, allocations: 16.16 kB / 0.6247 GB, free: 8.344 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004637/0.4913, allocations: 63.88 kB / 0.6248 GB, free: 8.281 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.058e-05/0.4914, allocations: 43.98 kB / 0.6248 GB, free: 8.238 MB / 442.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 () * 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.0003571/0.4918, allocations: 225.5 kB / 0.625 GB, free: 8.008 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002394/0.492, allocations: 79.2 kB / 0.6251 GB, free: 7.93 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004574/0.4925, allocations: 226.7 kB / 0.6253 GB, free: 7.703 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.336e-05/0.4925, allocations: 12 kB / 0.6253 GB, free: 7.691 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.168e-05/0.4925, allocations: 0 / 0.6253 GB, free: 7.691 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.114e-05/0.4926, allocations: 7.984 kB / 0.6253 GB, free: 7.684 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00369/0.4962, allocations: 2.386 MB / 0.6277 GB, free: 5.195 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.176e-06/0.4963, allocations: 4.562 kB / 0.6277 GB, free: 5.191 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001069/0.4973, allocations: 259.7 kB / 0.6279 GB, free: 4.938 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-05/0.4974, allocations: 8 kB / 0.6279 GB, free: 4.93 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.922e-05/0.4974, allocations: 31.92 kB / 0.6279 GB, free: 4.898 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.019e-05/0.4975, allocations: 11.95 kB / 0.628 GB, free: 4.887 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/0.4975, allocations: 7.938 kB / 0.628 GB, free: 4.879 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002563/0.5, allocations: 2.128 MB / 0.63 GB, free: 2.613 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002779/0.5003, allocations: 196.2 kB / 0.6302 GB, free: 2.402 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.544e-05/0.5004, allocations: 36.06 kB / 0.6303 GB, free: 2.367 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005866/0.501, allocations: 51.97 kB / 0.6303 GB, free: 2.316 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001469/0.5012, allocations: 84.34 kB / 0.6304 GB, free: 2.234 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.681e-05/0.5012, allocations: 39.98 kB / 0.6304 GB, free: 2.195 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002599/0.5015, allocations: 243.2 kB / 0.6307 GB, free: 1.957 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5015, allocations: 4 kB / 0.6307 GB, free: 1.953 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0008489/0.5024, allocations: 192 kB / 0.6308 GB, free: 1.766 MB / 442.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 () * 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.003568/0.5059, allocations: 3.748 MB / 0.6345 GB, free: 13.9 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001675/0.5076, allocations: 0.8783 MB / 0.6354 GB, free: 13.02 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.5077, allocations: 0 / 0.6354 GB, free: 13.02 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009321/0.5086, allocations: 0.5071 MB / 0.6359 GB, free: 12.52 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008817/0.5095, allocations: 104 kB / 0.636 GB, free: 12.41 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008964/0.5185, allocations: 8.356 MB / 0.6441 GB, free: 3.852 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000569/0.5191, allocations: 0.9606 MB / 0.6451 GB, free: 2.859 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0004555/0.5196, allocations: 105.6 kB / 0.6452 GB, free: 2.754 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003645/0.5199, allocations: 259.3 kB / 0.6454 GB, free: 2.5 MB / 458.7 MB Notification: Performance of SimCode: time 4.5e-07/0.5199, allocations: 0 / 0.6454 GB, free: 2.5 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02733/0.5473, allocations: 12.41 MB / 0.6575 GB, free: 6.273 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002048/0.5475, allocations: 173 kB / 0.6577 GB, free: 6.035 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.381/2.929, allocations: 0 / 0.6577 GB, free: 6.035 MB / 474.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