Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperParallel.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.MultiBody.Forces.SpringDamperParallel,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_SpringDamperParallel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.SpringDamperParallel,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_SpringDamperParallel",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.001866/0.001866, allocations: 180.4 kB / 14.15 MB, free: 1.176 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.547/1.547, allocations: 221.3 MB / 236 MB, free: 2.973 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.0008283/0.0008282, allocations: 95.8 kB / 287 MB, free: 248 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2005/0.2005, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.373e-05/3.376e-05, allocations: 8.156 kB / 451.9 MB, free: 9.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1394, allocations: 61.91 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4762/0.6157, allocations: 105.8 MB / 0.6051 GB, free: 15.44 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002606/0.616, allocations: 75.95 kB / 0.6052 GB, free: 15.37 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6862/1.302, allocations: 129.3 MB / 0.7315 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of FrontEnd: time 5.46e-06/1.302, allocations: 0 / 0.7315 GB, free: 108.6 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0005124/1.303, allocations: 143.2 kB / 0.7316 GB, free: 108.6 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2641 * Number of variables: 2641 Notification: Performance of Generate backend data structure: time 0.02532/1.328, allocations: 6.729 MB / 0.7382 GB, free: 106 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.686e-05/1.328, allocations: 9 kB / 0.7382 GB, free: 106 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006762/1.335, allocations: 1.312 MB / 0.7395 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0142/1.349, allocations: 2.802 MB / 0.7422 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01412/1.363, allocations: 3.871 MB / 0.746 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007567/1.364, allocations: 0.554 MB / 0.7465 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004446/1.369, allocations: 0.7384 MB / 0.7472 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05833/1.427, allocations: 20.49 MB / 0.7673 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007189/1.428, allocations: 77.92 kB / 0.7673 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004216/1.432, allocations: 347.5 kB / 0.7677 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003108/1.435, allocations: 1.953 MB / 0.7696 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04393/1.479, allocations: 18 MB / 0.7871 GB, free: 97.48 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09908/1.578, allocations: 74.96 MB / 0.8603 GB, free: 35.21 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02244/1.601, allocations: 8.624 MB / 0.8688 GB, free: 28 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007341/1.608, allocations: 5.743 MB / 0.8744 GB, free: 22.48 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0318/1.64, allocations: 19.9 MB / 0.8938 GB, free: 2.438 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.048e-05/1.64, allocations: 73.11 kB / 0.8939 GB, free: 2.355 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=386): time 7.214e-06/1.64, allocations: 0 / 0.8939 GB, free: 2.355 MB / 0.5105 GB Notification: Performance of matching and sorting (n=531): time 0.5553/2.195, allocations: 59.08 MB / 0.9516 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.081e-05/2.196, allocations: 188.7 kB / 0.9517 GB, free: 111.5 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007369/2.203, allocations: 4.505 MB / 0.9561 GB, free: 111.1 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001741/2.205, allocations: 106.6 kB / 0.9563 GB, free: 111.1 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.003321/2.208, allocations: 4.521 MB / 0.9607 GB, free: 108.2 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.003405/2.211, allocations: 1.91 MB / 0.9625 GB, free: 106.8 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007977/2.212, allocations: 208.6 kB / 0.9627 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0005118/2.213, allocations: 0.7305 MB / 0.9634 GB, free: 106.1 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008139/2.221, allocations: 5.472 MB / 0.9688 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01224/2.233, allocations: 10.37 MB / 0.9789 GB, free: 95.56 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01235/2.246, allocations: 7.508 MB / 0.9862 GB, free: 93.02 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002487/2.246, allocations: 48.31 kB / 0.9863 GB, free: 93.02 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1325) (initialization): time 0.04166/2.288, allocations: 18.49 MB / 1.004 GB, free: 86.86 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003683/2.288, allocations: 82.36 kB / 1.004 GB, free: 86.85 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004493/2.288, allocations: 171.3 kB / 1.005 GB, free: 86.85 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008398/2.297, allocations: 3.128 MB / 1.008 GB, free: 86.07 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01084/2.308, allocations: 2.393 MB / 1.01 GB, free: 85.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02307/2.331, allocations: 24.2 MB / 1.034 GB, free: 62.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01083/2.342, allocations: 0.5721 MB / 1.034 GB, free: 62.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003391/2.345, allocations: 0.5638 MB / 1.035 GB, free: 61.97 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 768 * Number of states: 0 () * Number of discrete variables: 72 (prismatic2.boxColor[3],prismatic2.boxColor[2],prismatic2.boxColor[1],universal2.cylinderColor[3],universal2.cylinderColor[2],universal2.cylinderColor[1],pm3.sphereColor[3],pm3.sphereColor[2],pm3.sphereColor[1],springDamperParallel2.color[3],springDamperParallel2.color[2],springDamperParallel2.color[1],springDamperParallel2.color_b[3],springDamperParallel2.color_b[2],springDamperParallel2.color_b[1],springDamperParallel2.color_a[3],springDamperParallel2.color_a[2],springDamperParallel2.color_a[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],pm2.sphereColor[3],pm2.sphereColor[2],pm2.sphereColor[1],springDamperParallel1.color[3],springDamperParallel1.color[2],springDamperParallel1.color[1],springDamperParallel1.color_b[3],springDamperParallel1.color_b[2],springDamperParallel1.color_b[1],springDamperParallel1.color_a[3],springDamperParallel1.color_a[2],springDamperParallel1.color_a[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],pm1.sphereColor[3],pm1.sphereColor[2],pm1.sphereColor[1],springDamperParallel.color[3],springDamperParallel.color[2],springDamperParallel.color[1],springDamperParallel.color_b[3],springDamperParallel.color_b[2],springDamperParallel.color_b[1],springDamperParallel.color_a[3],springDamperParallel.color_a[2],springDamperParallel.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1230): * Single equations (assignments): 1217 * 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: 8 * 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: 8 {(1,100.0%) 9,(3,100.0%) 12,(1,100.0%) 4,(1,100.0%) 9,(3,100.0%) 12,(1,100.0%) 4,(1,100.0%) 9,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005687/2.351, allocations: 0.8392 MB / 1.036 GB, free: 61.14 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003276/2.354, allocations: 0.5477 MB / 1.036 GB, free: 60.58 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02946/2.384, allocations: 13.18 MB / 1.049 GB, free: 49.62 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.597e-05/2.384, allocations: 57.02 kB / 1.049 GB, free: 49.57 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.994e-05/2.384, allocations: 12 kB / 1.049 GB, free: 49.56 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001323/2.384, allocations: 28.73 kB / 1.049 GB, free: 49.55 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05615/2.44, allocations: 26.04 MB / 1.074 GB, free: 28.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.27e-05/2.44, allocations: 11.95 kB / 1.074 GB, free: 28.09 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00578/2.446, allocations: 0.893 MB / 1.075 GB, free: 27.35 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009085/2.455, allocations: 3.335 MB / 1.079 GB, free: 23.97 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001931/2.457, allocations: 104.9 kB / 1.079 GB, free: 23.87 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01952/2.477, allocations: 21.08 MB / 1.099 GB, free: 1.781 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/2.477, allocations: 4 kB / 1.099 GB, free: 1.777 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4343/2.911, allocations: 21.05 MB / 1.12 GB, free: 114.5 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002281/2.913, allocations: 0.5813 MB / 1.12 GB, free: 114.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002088/2.916, allocations: 91.34 kB / 1.121 GB, free: 114.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004829/2.92, allocations: 358.8 kB / 1.121 GB, free: 114.4 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001457/2.922, allocations: 346.9 kB / 1.121 GB, free: 114.4 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005315/2.922, allocations: 136.6 kB / 1.121 GB, free: 114.4 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.006957/2.929, allocations: 3.087 MB / 1.124 GB, free: 114.2 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3.31e-07/2.929, allocations: 3.969 kB / 1.124 GB, free: 114.2 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0139/2.943, allocations: 2.079 MB / 1.126 GB, free: 114.2 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 18 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b,prismatic.s,prismatic.v,universal1.phi_a,universal1.phi_b,universal1.w_a,universal1.w_b,prismatic1.s,prismatic1.v,pm3.r_0[1],pm3.r_0[2],pm3.r_0[3],pm3.v_0[1],pm3.v_0[2],pm3.v_0[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (448): * Single equations (assignments): 430 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 7 {(3,100.0%),(3,100.0%),(3,100.0%),(3,100.0%),(3,100.0%),(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: 7 {(1,100.0%) 6,(1,100.0%) 4,(1,100.0%) 6,(1,100.0%) 4,(1,100.0%) 6,(1,100.0%) 6,(1,100.0%) 4} * Non-linear torn systems: 1 {3 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.0393/2.983, allocations: 22.75 MB / 1.149 GB, free: 110.9 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.02725/3.01, allocations: 14.56 MB / 1.163 GB, free: 105.2 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.203e-05/3.01, allocations: 0 / 1.163 GB, free: 105.2 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.01523/3.025, allocations: 7.869 MB / 1.17 GB, free: 101.3 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006935/3.032, allocations: 0.5792 MB / 1.171 GB, free: 101 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05894/3.091, allocations: 19.36 MB / 1.19 GB, free: 93.96 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01109/3.102, allocations: 5.28 MB / 1.195 GB, free: 92.25 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0106/3.113, allocations: 3.207 MB / 1.198 GB, free: 92.04 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008155/3.121, allocations: 3.434 MB / 1.202 GB, free: 89.25 MB / 0.5417 GB Notification: Performance of SimCode: time 1.402e-06/3.121, allocations: 3.391 kB / 1.202 GB, free: 89.25 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6171/3.738, allocations: 154.8 MB / 1.353 GB, free: 125.3 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001586/3.739, allocations: 196.4 kB / 1.353 GB, free: 125.1 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.758/11.5, allocations: 0 / 1.353 GB, free: 125.1 MB / 0.5573 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperParallel.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperParallel.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperParallel.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperParallel.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperParallel_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_SpringDamperParallel_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-07 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_SpringDamperParallel.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperParallel.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperParallel_res.mat does not exist to compare? outputFormat=mat