Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperParallel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.SpringDamperParallel,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_SpringDamperParallel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.SpringDamperParallel,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_SpringDamperParallel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001556/0.001556, allocations: 196.9 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.305/1.305, allocations: 225.4 MB / 240.1 MB, free: 15.16 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009653/0.0009652, allocations: 88.66 kB / 292.1 MB, free: 5.883 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.212/0.212, allocations: 45.14 MB / 389.3 MB, free: 11.89 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.688e-05/4.701e-05, allocations: 4 kB / 460.5 MB, free: 69.95 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1224, allocations: 63.25 MB / 0.5115 GB, free: 6.723 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4526/0.5751, allocations: 106.9 MB / 0.6158 GB, free: 3.277 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002726/0.5754, allocations: 77.17 kB / 0.6159 GB, free: 3.242 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3212/0.8966, allocations: 129.5 MB / 0.7423 GB, free: 9.34 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.673e-06/0.8967, allocations: 0 / 0.7423 GB, free: 9.34 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0002922/0.897, allocations: 136 kB / 0.7424 GB, free: 9.207 MB / 0.5261 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.02049/0.9175, allocations: 6.87 MB / 0.7491 GB, free: 2.262 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.9175, allocations: 11.97 kB / 0.7492 GB, free: 2.25 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004391/0.9219, allocations: 1.303 MB / 0.7504 GB, free: 0.9336 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.289/1.211, allocations: 2.797 MB / 0.7532 GB, free: 107.5 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009765/1.221, allocations: 3.878 MB / 0.7569 GB, free: 107.2 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005451/1.221, allocations: 0.5524 MB / 0.7575 GB, free: 107.2 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0034/1.225, allocations: 0.7352 MB / 0.7582 GB, free: 107.2 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04728/1.272, allocations: 20.5 MB / 0.7782 GB, free: 103.8 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000417/1.272, allocations: 80.47 kB / 0.7783 GB, free: 103.8 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002229/1.275, allocations: 351.1 kB / 0.7786 GB, free: 103.8 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002234/1.277, allocations: 1.958 MB / 0.7805 GB, free: 103.8 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03621/1.313, allocations: 17.99 MB / 0.7981 GB, free: 103.7 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07685/1.39, allocations: 74.95 MB / 0.8713 GB, free: 55.74 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02071/1.411, allocations: 8.629 MB / 0.8797 GB, free: 50.83 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006084/1.417, allocations: 5.73 MB / 0.8853 GB, free: 45.55 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02318/1.44, allocations: 19.9 MB / 0.9048 GB, free: 28.36 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.092e-05/1.44, allocations: 84.64 kB / 0.9048 GB, free: 28.28 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=386): time 6.011e-06/1.44, allocations: 0 / 0.9048 GB, free: 28.28 MB / 0.5261 GB Notification: Performance of matching and sorting (n=531): time 0.4103/1.851, allocations: 59.08 MB / 0.9625 GB, free: 113 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.412e-05/1.851, allocations: 185.1 kB / 0.9627 GB, free: 112.9 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007691/1.858, allocations: 4.501 MB / 0.9671 GB, free: 112.4 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.001356/1.86, allocations: 111.4 kB / 0.9672 GB, free: 112.4 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.003449/1.863, allocations: 4.525 MB / 0.9716 GB, free: 110.4 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.00273/1.866, allocations: 1.908 MB / 0.9735 GB, free: 109.5 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009728/1.867, allocations: 200.9 kB / 0.9737 GB, free: 109.5 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0005918/1.868, allocations: 0.7344 MB / 0.9744 GB, free: 109.1 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008429/1.876, allocations: 5.474 MB / 0.9798 GB, free: 109.1 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01016/1.886, allocations: 10.37 MB / 0.9899 GB, free: 103 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01073/1.897, allocations: 7.508 MB / 0.9972 GB, free: 102.9 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001521/1.897, allocations: 46.19 kB / 0.9973 GB, free: 102.9 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1325) (initialization): time 0.03395/1.931, allocations: 18.49 MB / 1.015 GB, free: 98.79 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001149/1.931, allocations: 78.66 kB / 1.015 GB, free: 98.79 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001635/1.931, allocations: 174.5 kB / 1.016 GB, free: 98.79 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007157/1.939, allocations: 3.126 MB / 1.019 GB, free: 98.03 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008703/1.947, allocations: 2.399 MB / 1.021 GB, free: 97.77 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02074/1.968, allocations: 24.2 MB / 1.045 GB, free: 81.54 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008578/1.977, allocations: 0.5715 MB / 1.045 GB, free: 81.37 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001974/1.979, allocations: 0.5625 MB / 1.046 GB, free: 81.29 MB / 0.5417 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.002691/1.981, allocations: 0.8446 MB / 1.047 GB, free: 80.61 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001363/1.983, allocations: 0.5497 MB / 1.047 GB, free: 80.31 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02058/2.003, allocations: 13.18 MB / 1.06 GB, free: 75.21 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.699e-05/2.004, allocations: 56.14 kB / 1.06 GB, free: 75.2 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-05/2.004, allocations: 16.69 kB / 1.06 GB, free: 75.2 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001332/2.004, allocations: 27.09 kB / 1.06 GB, free: 75.2 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04348/2.047, allocations: 26.04 MB / 1.085 GB, free: 58.68 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.17e-05/2.047, allocations: 4 kB / 1.085 GB, free: 58.68 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004835/2.052, allocations: 0.9001 MB / 1.086 GB, free: 57.95 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008184/2.06, allocations: 3.335 MB / 1.09 GB, free: 55.49 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001064/2.061, allocations: 95.52 kB / 1.09 GB, free: 55.4 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01683/2.078, allocations: 21.08 MB / 1.11 GB, free: 35.12 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/2.078, allocations: 7.891 kB / 1.11 GB, free: 35.12 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0268/2.105, allocations: 21.06 MB / 1.131 GB, free: 16.18 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00158/2.107, allocations: 0.5805 MB / 1.131 GB, free: 15.59 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001819/2.109, allocations: 92 kB / 1.131 GB, free: 15.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004168/2.113, allocations: 359.9 kB / 1.132 GB, free: 15.27 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001031/2.114, allocations: 352.7 kB / 1.132 GB, free: 15.05 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004023/2.114, allocations: 131.7 kB / 1.132 GB, free: 14.93 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.004274/2.119, allocations: 3.087 MB / 1.135 GB, free: 12.2 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.41e-07/2.119, allocations: 3.938 kB / 1.135 GB, free: 12.19 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.008074/2.127, allocations: 2.083 MB / 1.137 GB, free: 10.12 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.3062/2.433, allocations: 23.21 MB / 1.16 GB, free: 115.7 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02398/2.457, allocations: 14.55 MB / 1.174 GB, free: 114.4 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.055e-05/2.457, allocations: 1.562 kB / 1.174 GB, free: 114.4 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01203/2.469, allocations: 7.882 MB / 1.182 GB, free: 112.8 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003661/2.473, allocations: 0.565 MB / 1.182 GB, free: 112.8 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03513/2.508, allocations: 19.37 MB / 1.201 GB, free: 109.8 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004941/2.513, allocations: 5.274 MB / 1.207 GB, free: 108.9 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.007321/2.52, allocations: 3.215 MB / 1.21 GB, free: 108.7 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004717/2.525, allocations: 3.425 MB / 1.213 GB, free: 107.7 MB / 0.5573 GB Notification: Performance of SimCode: time 7.41e-07/2.525, allocations: 0 / 1.213 GB, free: 107.7 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4435/2.968, allocations: 154.8 MB / 1.364 GB, free: 136.7 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001361/2.969, allocations: 189.3 kB / 1.364 GB, free: 136.4 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.545/8.513, allocations: 1.656 kB / 1.364 GB, free: 136.4 MB / 0.573 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperParallel.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperParallel.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperParallel.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperParallel.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperParallel_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_SpringDamperParallel_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-07 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_SpringDamperParallel.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperParallel.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.SpringDamperParallel_res.mat does not exist to compare? outputFormat=mat