Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.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.MultiBody.Forces.SpringDamperSeries,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_SpringDamperSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.SpringDamperSeries,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_SpringDamperSeries",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.0009365/0.0009368, allocations: 88.19 kB / 15.7 MB, free: 460 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.001415/0.001415, allocations: 178 kB / 16.58 MB, free: 6.84 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.374/1.374, allocations: 205.4 MB / 222.8 MB, free: 5.621 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.3274/0.3274, allocations: 43.55 MB / 314.6 MB, free: 8.844 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.0005165/0.0005166, allocations: 12 kB / 384 MB, free: 7.922 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1211, allocations: 58.86 MB / 442.9 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.2544/0.3756, allocations: 34.86 MB / 477.7 MB, free: 30.14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01796/0.3936, allocations: 7.484 MB / 485.2 MB, free: 25.04 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008526/0.4022, allocations: 160.6 kB / 485.4 MB, free: 25.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005958/0.4082, allocations: 1.777 MB / 487.2 MB, free: 24.38 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01254/0.4207, allocations: 4.964 MB / 492.1 MB, free: 22.26 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002593/0.4234, allocations: 417.4 kB / 492.5 MB, free: 22.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004522/0.4279, allocations: 3.481 MB / 496 MB, free: 20.8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007224/0.4352, allocations: 3.77 MB / 499.8 MB, free: 19.32 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002781/0.438, allocations: 1.006 MB / 0.4891 GB, free: 18.97 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003983/0.442, allocations: 1.559 MB / 0.4906 GB, free: 18.47 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001111/0.4431, allocations: 129.8 kB / 0.4907 GB, free: 18.47 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003159/0.4463, allocations: 0.7379 MB / 0.4914 GB, free: 18.31 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002442/0.4488, allocations: 1.392 MB / 0.4928 GB, free: 17.88 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001242/0.45, allocations: 0.7579 MB / 0.4935 GB, free: 17.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007693/0.4577, allocations: 4.79 MB / 0.4982 GB, free: 15.95 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.157e-05/0.4578, allocations: 1.375 kB / 0.4982 GB, free: 15.95 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.358e-06/0.4578, allocations: 0 / 0.4982 GB, free: 15.95 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003348/0.4582, allocations: 0 / 0.4982 GB, free: 15.95 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: 1473 * Number of variables: 1473 Notification: Performance of Generate backend data structure: time 0.0105/0.4687, allocations: 3.507 MB / 0.5016 GB, free: 13.45 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.39e-05/0.4687, allocations: 9.031 kB / 0.5016 GB, free: 13.45 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001651/0.4704, allocations: 0.7027 MB / 0.5023 GB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006361/0.4768, allocations: 1.851 MB / 0.5041 GB, free: 11.98 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003836/0.4806, allocations: 1.723 MB / 0.5058 GB, free: 10.81 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000185/0.4808, allocations: 227.5 kB / 0.506 GB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005805/0.4814, allocations: 299.5 kB / 0.5063 GB, free: 10.6 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02004/0.5015, allocations: 10.61 MB / 0.5167 GB, free: 3.879 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001243/0.5017, allocations: 39.66 kB / 0.5167 GB, free: 3.84 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004166/0.5021, allocations: 139.9 kB / 0.5168 GB, free: 3.703 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002825/0.5049, allocations: 2.048 MB / 0.5188 GB, free: 1.652 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01859/0.5235, allocations: 9.285 MB / 0.5279 GB, free: 8.344 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04802/0.5716, allocations: 38.03 MB / 0.5651 GB, free: 1.324 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01003/0.5817, allocations: 4.156 MB / 0.5691 GB, free: 13 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002783/0.5845, allocations: 2.305 MB / 0.5714 GB, free: 10.68 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007843/0.5924, allocations: 6.006 MB / 0.5772 GB, free: 4.418 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.12e-05/0.5924, allocations: 55.81 kB / 0.5773 GB, free: 4.355 MB / 446.1 MB Notification: Performance of pre-optimization done (n=181): time 6.031e-06/0.5924, allocations: 3.984 kB / 0.5773 GB, free: 4.352 MB / 446.1 MB Notification: Performance of matching and sorting (n=210): time 0.05947/0.6519, allocations: 21.92 MB / 0.5987 GB, free: 14.25 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.182e-05/0.6521, allocations: 153.8 kB / 0.5988 GB, free: 14.07 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00485/0.6569, allocations: 3.367 MB / 0.6021 GB, free: 10.69 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000335/0.6573, allocations: 57.7 kB / 0.6022 GB, free: 10.63 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001862/0.6591, allocations: 2.794 MB / 0.6049 GB, free: 7.797 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008596/0.66, allocations: 0.7981 MB / 0.6057 GB, free: 6.988 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002697/0.6603, allocations: 116.3 kB / 0.6058 GB, free: 6.875 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0003468/0.6606, allocations: 0.558 MB / 0.6063 GB, free: 6.309 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003392/0.664, allocations: 2.303 MB / 0.6086 GB, free: 4 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006023/0.6701, allocations: 5.769 MB / 0.6142 GB, free: 12.52 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005155/0.6752, allocations: 3.569 MB / 0.6177 GB, free: 8.945 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.897e-05/0.6753, allocations: 36 kB / 0.6177 GB, free: 8.91 MB / 494.1 MB Notification: Performance of matching and sorting (n=775) (initialization): time 0.015/0.6903, allocations: 8.626 MB / 0.6262 GB, free: 268 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001172/0.6905, allocations: 59.12 kB / 0.6262 GB, free: 212 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002034/0.6907, allocations: 124.1 kB / 0.6263 GB, free: 88 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.216/0.9067, allocations: 1.057 MB / 0.6274 GB, free: 139.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00441/0.9112, allocations: 1.376 MB / 0.6287 GB, free: 139.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0043/0.9155, allocations: 5.404 MB / 0.634 GB, free: 137.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004233/0.9198, allocations: 328.8 kB / 0.6343 GB, free: 137.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000778/0.9206, allocations: 359.5 kB / 0.6347 GB, free: 137.1 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 553 * Number of states: 0 () * Number of discrete variables: 36 (prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],s1.color[3],s1.color[2],s1.color[1],s1.massColor[3],s1.massColor[2],s1.massColor[1],sps1.color[3],sps1.color[2],sps1.color[1],sps1.color_b[3],sps1.color_b[2],sps1.color_b[1],sps1.color_a[3],sps1.color_a[2],sps1.color_a[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (734): * Single equations (assignments): 727 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 9,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003958/0.9245, allocations: 1.95 MB / 0.6366 GB, free: 136.8 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005944/0.9251, allocations: 309.4 kB / 0.6369 GB, free: 136.8 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006023/0.9312, allocations: 3.938 MB / 0.6407 GB, free: 135.9 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.485e-05/0.9312, allocations: 27.64 kB / 0.6407 GB, free: 135.9 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.25e-05/0.9313, allocations: 6.656 kB / 0.6407 GB, free: 135.9 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2e-05/0.9313, allocations: 10.33 kB / 0.6407 GB, free: 135.9 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01423/0.9455, allocations: 8.871 MB / 0.6494 GB, free: 132.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.625e-05/0.9456, allocations: 0 / 0.6494 GB, free: 132.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001643/0.9472, allocations: 354.8 kB / 0.6497 GB, free: 132.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001973/0.9492, allocations: 0.8661 MB / 0.6506 GB, free: 132.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002443/0.9495, allocations: 38.11 kB / 0.6506 GB, free: 132.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003849/0.9533, allocations: 4.744 MB / 0.6553 GB, free: 128.7 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.9533, allocations: 1.156 kB / 0.6553 GB, free: 128.7 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0104/0.9638, allocations: 6.848 MB / 0.662 GB, free: 125.9 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001824/0.9656, allocations: 0.6876 MB / 0.6626 GB, free: 125.6 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006357/0.9663, allocations: 39.67 kB / 0.6627 GB, free: 125.6 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001452/0.9677, allocations: 114.5 kB / 0.6628 GB, free: 125.6 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003369/0.9681, allocations: 120.6 kB / 0.6629 GB, free: 125.6 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001615/0.9683, allocations: 56.03 kB / 0.6629 GB, free: 125.6 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003983/0.9723, allocations: 2.062 MB / 0.665 GB, free: 124.8 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.9723, allocations: 1.25 kB / 0.665 GB, free: 124.8 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005044/0.9773, allocations: 0.9675 MB / 0.6659 GB, free: 124.7 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 7 (sps1.s_damper,universal1.phi_a,universal1.phi_b,universal1.w_a,universal1.w_b,prismatic1.s,prismatic1.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (178): * Single equations (assignments): 171 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01006/0.9874, allocations: 7.507 MB / 0.6732 GB, free: 121.2 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00894/0.9964, allocations: 6.094 MB / 0.6792 GB, free: 118.9 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.82e-06/0.9964, allocations: 0 / 0.6792 GB, free: 118.9 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003323/0.9997, allocations: 2.451 MB / 0.6816 GB, free: 117.7 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002116/1.002, allocations: 341.4 kB / 0.6819 GB, free: 117.5 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04537/1.047, allocations: 32.29 MB / 0.7134 GB, free: 86.46 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002508/1.05, allocations: 3.022 MB / 0.7164 GB, free: 83.41 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00393/1.054, allocations: 1.855 MB / 0.7182 GB, free: 81.55 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001829/1.056, allocations: 1.714 MB / 0.7199 GB, free: 79.83 MB / 494.1 MB Notification: Performance of SimCode: time 7.32e-07/1.056, allocations: 3.938 kB / 0.7199 GB, free: 79.83 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09895/1.155, allocations: 72 MB / 0.7902 GB, free: 7.82 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001756/1.155, allocations: 214.5 kB / 0.7904 GB, free: 7.574 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.735/4.89, allocations: 3.938 kB / 0.7904 GB, free: 7.57 MB / 494.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_SpringDamperSeries_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_SpringDamperSeries.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.mat does not exist to compare? outputFormat=mat