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/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 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 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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 96.28 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 176.5 kB / 16.57 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.92/1.92, allocations: 205.4 MB / 222.7 MB, free: 5.68 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4526/0.4526, allocations: 43.54 MB / 314.5 MB, free: 8.793 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005809/0.0005813, allocations: 16 kB / 384 MB, free: 7.941 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.1505, allocations: 58.85 MB / 442.8 MB, free: 12.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.004319/0.1548, allocations: 3.306 MB / 446.1 MB, free: 9.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002599/0.1575, allocations: 1.096 MB / 447.2 MB, free: 8.555 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003937/0.1579, allocations: 19.94 kB / 447.3 MB, free: 8.535 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001698/0.1581, allocations: 75.38 kB / 447.3 MB, free: 8.461 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000509/0.1586, allocations: 227.4 kB / 447.6 MB, free: 8.238 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005735/0.1592, allocations: 139.7 kB / 447.7 MB, free: 8.102 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007889/0.16, allocations: 0.5229 MB / 448.2 MB, free: 7.578 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003255/0.1603, allocations: 187.2 kB / 448.4 MB, free: 7.387 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003517/0.1607, allocations: 259 kB / 448.7 MB, free: 7.133 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003264/0.161, allocations: 294.7 kB / 448.9 MB, free: 6.844 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.75e-05/0.1611, allocations: 28 kB / 449 MB, free: 6.816 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001566/0.1613, allocations: 51.94 kB / 449 MB, free: 6.766 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001069/0.1614, allocations: 111.6 kB / 449.1 MB, free: 6.656 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000117/0.1615, allocations: 145.3 kB / 449.3 MB, free: 6.508 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004845/0.162, allocations: 0.5414 MB / 449.8 MB, free: 5.965 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.162, allocations: 0 / 449.8 MB, free: 5.965 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.162, allocations: 0 / 449.8 MB, free: 5.965 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.141e-05/0.162, allocations: 0 / 449.8 MB, free: 5.965 MB / 382.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.001789/0.1638, allocations: 0.9157 MB / 450.7 MB, free: 5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.176e-05/0.1639, allocations: 19.95 kB / 450.7 MB, free: 4.98 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001382/0.164, allocations: 98.5 kB / 450.8 MB, free: 4.875 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001287/0.1642, allocations: 79.06 kB / 450.9 MB, free: 4.797 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005622/0.1647, allocations: 376.8 kB / 451.3 MB, free: 4.391 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.577e-05/0.1648, allocations: 41.31 kB / 451.3 MB, free: 4.352 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.455e-05/0.1649, allocations: 71.89 kB / 451.4 MB, free: 4.281 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001105/0.166, allocations: 0.6343 MB / 452 MB, free: 3.617 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.115e-05/0.1661, allocations: 7.906 kB / 452 MB, free: 3.609 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.572e-05/0.1661, allocations: 31.95 kB / 452.1 MB, free: 3.578 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.474e-05/0.1661, allocations: 16 kB / 452.1 MB, free: 3.562 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00112/0.1673, allocations: 0.5645 MB / 452.7 MB, free: 2.996 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002929/0.1702, allocations: 2.18 MB / 454.8 MB, free: 0.7031 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2566/0.4268, allocations: 0.7032 MB / 455.5 MB, free: 45.55 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002243/0.427, allocations: 94.2 kB / 455.6 MB, free: 45.45 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.785e-05/0.4271, allocations: 50.59 kB / 455.7 MB, free: 45.41 MB / 382.1 MB Notification: Performance of pre-optimization done (n=82): time 3.086e-06/0.4271, allocations: 2.344 kB / 455.7 MB, free: 45.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=115): time 0.007331/0.4344, allocations: 4.611 MB / 460.3 MB, free: 43.39 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.464e-05/0.4345, allocations: 228.6 kB / 460.5 MB, free: 43.14 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003234/0.4349, allocations: 361.3 kB / 460.9 MB, free: 43.03 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.446e-05/0.4349, allocations: 42.48 kB / 460.9 MB, free: 43 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001306/0.435, allocations: 271.4 kB / 461.2 MB, free: 42.85 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002097/0.4353, allocations: 411.6 kB / 461.6 MB, free: 42.59 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.146e-05/0.4353, allocations: 21.97 kB / 461.6 MB, free: 42.59 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.4354, allocations: 377 kB / 462 MB, free: 42.27 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006223/0.4361, allocations: 334.2 kB / 462.3 MB, free: 42.27 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007077/0.4368, allocations: 0.5195 MB / 462.8 MB, free: 42.08 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006812/0.4375, allocations: 394.3 kB / 463.2 MB, free: 42.05 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.4375, allocations: 4 kB / 463.2 MB, free: 42.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001909/0.4394, allocations: 1.025 MB / 464.2 MB, free: 41.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.467e-05/0.4394, allocations: 7.469 kB / 464.2 MB, free: 41.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.433e-05/0.4395, allocations: 5.531 kB / 464.2 MB, free: 41.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.724e-05/0.4395, allocations: 11.5 kB / 464.3 MB, free: 41.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001028/0.4405, allocations: 291.4 kB / 464.5 MB, free: 41.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.472e-05/0.4406, allocations: 19.64 kB / 464.6 MB, free: 41.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004472/0.441, allocations: 58.2 kB / 464.6 MB, free: 41.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.154e-05/0.4411, allocations: 45.28 kB / 464.7 MB, free: 41.91 MB / 382.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.0003172/0.4414, allocations: 234.2 kB / 464.9 MB, free: 41.77 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002132/0.4417, allocations: 74.92 kB / 465 MB, free: 41.73 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004025/0.4421, allocations: 221.7 kB / 465.2 MB, free: 41.69 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.201e-05/0.4421, allocations: 11.88 kB / 465.2 MB, free: 41.69 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.581e-05/0.4421, allocations: 6.156 kB / 465.2 MB, free: 41.69 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.114e-05/0.4421, allocations: 8.047 kB / 465.2 MB, free: 41.68 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003176/0.4453, allocations: 2.379 MB / 467.6 MB, free: 40.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.007e-06/0.4453, allocations: 13.36 kB / 467.6 MB, free: 40.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009602/0.4463, allocations: 261.7 kB / 467.8 MB, free: 40.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.139e-05/0.4463, allocations: 9.625 kB / 467.9 MB, free: 40.82 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.203e-05/0.4464, allocations: 27.5 kB / 467.9 MB, free: 40.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.138e-05/0.4464, allocations: 10.62 kB / 467.9 MB, free: 40.82 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.4464, allocations: 7.125 kB / 467.9 MB, free: 40.82 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002275/0.4487, allocations: 2.125 MB / 470 MB, free: 39.49 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002473/0.449, allocations: 195.4 kB / 470.2 MB, free: 39.34 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.285e-05/0.449, allocations: 25.28 kB / 470.2 MB, free: 39.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005879/0.4496, allocations: 57.78 kB / 470.3 MB, free: 39.3 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001382/0.4498, allocations: 82.55 kB / 470.4 MB, free: 39.28 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.231e-05/0.4499, allocations: 41.94 kB / 470.4 MB, free: 39.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002116/0.4501, allocations: 242.5 kB / 470.7 MB, free: 39.14 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4501, allocations: 0 / 470.7 MB, free: 39.14 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008453/0.4509, allocations: 202.9 kB / 470.9 MB, free: 39.11 MB / 382.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.002504/0.4534, allocations: 3.73 MB / 474.6 MB, free: 36.16 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001512/0.455, allocations: 0.8704 MB / 475.5 MB, free: 35.92 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.92e-06/0.455, allocations: 0 / 475.5 MB, free: 35.92 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007455/0.4557, allocations: 0.5037 MB / 476 MB, free: 35.78 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008759/0.4566, allocations: 108.2 kB / 476.1 MB, free: 35.73 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007174/0.4638, allocations: 8.37 MB / 484.4 MB, free: 29.57 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003867/0.4642, allocations: 0.9588 MB / 485.4 MB, free: 28.85 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004316/0.4647, allocations: 98.91 kB / 485.5 MB, free: 28.83 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003072/0.465, allocations: 269.2 kB / 485.8 MB, free: 28.64 MB / 382.1 MB Notification: Performance of SimCode: time 1.253e-06/0.465, allocations: 0 / 485.8 MB, free: 28.64 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03295/0.498, allocations: 12.51 MB / 498.3 MB, free: 27.7 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001391/0.4981, allocations: 173.5 kB / 498.4 MB, free: 27.47 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.977/2.475, allocations: 0 / 498.4 MB, free: 27.47 MB / 382.1 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) Environment - environmentSimulation: 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