Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperParallel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.SpringDamperParallel,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_SpringDamperParallel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.SpringDamperParallel,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_SpringDamperParallel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001598/0.001597, allocations: 179.1 kB / 13.66 MB, free: 1.66 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.103/2.103, allocations: 205.2 MB / 219.4 MB, free: 14.28 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001101/0.0011, allocations: 94.3 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2848/0.2848, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.52e-05/3.545e-05, allocations: 4 kB / 425.4 MB, free: 23.29 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1258, allocations: 58.86 MB / 484.2 MB, free: 12.38 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5193/0.6452, allocations: 104.5 MB / 0.5749 GB, free: 14.9 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002548/0.6455, allocations: 79.5 kB / 0.575 GB, free: 14.86 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5291/1.175, allocations: 127.7 MB / 0.6997 GB, free: 6.91 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.775e-06/1.175, allocations: 0 / 0.6997 GB, free: 6.91 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0004263/1.175, allocations: 136 kB / 0.6998 GB, free: 6.777 MB / 0.4948 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.7043/1.879, allocations: 6.747 MB / 0.7064 GB, free: 94.94 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 6.297e-05/1.88, allocations: 10.5 kB / 0.7064 GB, free: 94.94 MB / 0.4949 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00709/1.887, allocations: 1.296 MB / 0.7077 GB, free: 94.83 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02177/1.908, allocations: 2.813 MB / 0.7104 GB, free: 94.37 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01509/1.924, allocations: 3.876 MB / 0.7142 GB, free: 94.05 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001005/1.925, allocations: 0.5517 MB / 0.7148 GB, free: 94.04 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004634/1.929, allocations: 0.7404 MB / 0.7155 GB, free: 94.03 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07726/2.007, allocations: 20.5 MB / 0.7355 GB, free: 90.66 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007872/2.007, allocations: 83.02 kB / 0.7356 GB, free: 90.66 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004847/2.012, allocations: 344.7 kB / 0.7359 GB, free: 90.66 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004953/2.017, allocations: 1.95 MB / 0.7378 GB, free: 90.64 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06381/2.081, allocations: 18 MB / 0.7554 GB, free: 90.57 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.129/2.21, allocations: 74.95 MB / 0.8286 GB, free: 42.36 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03849/2.249, allocations: 8.634 MB / 0.837 GB, free: 35.36 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01086/2.26, allocations: 5.732 MB / 0.8426 GB, free: 30.07 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04449/2.304, allocations: 19.91 MB / 0.8621 GB, free: 12.86 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.224e-05/2.304, allocations: 69.17 kB / 0.8621 GB, free: 12.78 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=386): time 9.227e-06/2.304, allocations: 3.938 kB / 0.8621 GB, free: 12.78 MB / 0.4949 GB Notification: Performance of matching and sorting (n=531): time 0.6818/2.986, allocations: 59.1 MB / 0.9198 GB, free: 117.1 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00012/2.986, allocations: 186.5 kB / 0.92 GB, free: 117 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01393/3, allocations: 4.517 MB / 0.9244 GB, free: 116.5 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.001483/3.002, allocations: 110.1 kB / 0.9245 GB, free: 116.5 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.004367/3.006, allocations: 4.396 MB / 0.9288 GB, free: 114.5 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.003602/3.01, allocations: 1.913 MB / 0.9307 GB, free: 113.4 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002214/3.012, allocations: 205.3 kB / 0.9309 GB, free: 113.4 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 0.001111/3.013, allocations: 0.7345 MB / 0.9316 GB, free: 113.1 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01435/3.028, allocations: 5.481 MB / 0.937 GB, free: 113.1 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01749/3.045, allocations: 10.36 MB / 0.9471 GB, free: 106.9 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01726/3.063, allocations: 7.511 MB / 0.9544 GB, free: 106.9 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001927/3.063, allocations: 49.19 kB / 0.9545 GB, free: 106.9 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1325) (initialization): time 0.05319/3.116, allocations: 18.32 MB / 0.9724 GB, free: 103.1 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001393/3.116, allocations: 74.53 kB / 0.9724 GB, free: 103.1 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000272/3.117, allocations: 170.9 kB / 0.9726 GB, free: 103.1 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01421/3.131, allocations: 3.136 MB / 0.9757 GB, free: 102.3 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01794/3.149, allocations: 2.389 MB / 0.978 GB, free: 102.1 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03751/3.186, allocations: 24.21 MB / 1.002 GB, free: 85.84 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01332/3.2, allocations: 0.5761 MB / 1.002 GB, free: 85.66 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002736/3.202, allocations: 0.5624 MB / 1.003 GB, free: 85.58 MB / 0.5262 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.005136/3.208, allocations: 0.8408 MB / 1.004 GB, free: 84.9 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002762/3.21, allocations: 0.5495 MB / 1.004 GB, free: 84.6 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04292/3.253, allocations: 13.19 MB / 1.017 GB, free: 79.5 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.741e-05/3.254, allocations: 60.62 kB / 1.017 GB, free: 79.49 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.709e-05/3.254, allocations: 11.25 kB / 1.017 GB, free: 79.49 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001395/3.254, allocations: 25.55 kB / 1.017 GB, free: 79.49 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07755/3.331, allocations: 26.05 MB / 1.043 GB, free: 61.17 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001083/3.331, allocations: 4 kB / 1.043 GB, free: 61.17 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01007/3.342, allocations: 0.8992 MB / 1.043 GB, free: 60.44 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01631/3.358, allocations: 3.324 MB / 1.047 GB, free: 58.01 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001469/3.359, allocations: 105.6 kB / 1.047 GB, free: 57.91 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03069/3.39, allocations: 21.07 MB / 1.067 GB, free: 37.64 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.186e-06/3.39, allocations: 10.89 kB / 1.067 GB, free: 37.63 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05321/3.443, allocations: 21.07 MB / 1.088 GB, free: 18.69 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006404/3.45, allocations: 1.615 MB / 1.089 GB, free: 17.22 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002708/3.453, allocations: 88 kB / 1.09 GB, free: 17.14 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008406/3.461, allocations: 363.6 kB / 1.09 GB, free: 16.9 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002125/3.463, allocations: 350.9 kB / 1.09 GB, free: 16.69 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007636/3.464, allocations: 139.9 kB / 1.09 GB, free: 16.55 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.007422/3.472, allocations: 3.099 MB / 1.093 GB, free: 13.81 MB / 0.5262 GB Notification: Performance of sort global known variables: time 1.272e-06/3.472, allocations: 0 / 1.093 GB, free: 13.81 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.01195/3.484, allocations: 2.08 MB / 1.095 GB, free: 11.74 MB / 0.5262 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.4321/3.916, allocations: 22.96 MB / 1.118 GB, free: 105.2 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.03438/3.95, allocations: 14.56 MB / 1.132 GB, free: 104 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.27e-05/3.95, allocations: 6.219 kB / 1.132 GB, free: 104 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.0269/3.977, allocations: 7.887 MB / 1.14 GB, free: 102.3 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008254/3.985, allocations: 0.5637 MB / 1.14 GB, free: 102.3 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09259/4.078, allocations: 20.15 MB / 1.16 GB, free: 97.7 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01651/4.095, allocations: 5.292 MB / 1.165 GB, free: 95.98 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01004/4.105, allocations: 3.488 MB / 1.169 GB, free: 93.2 MB / 0.5262 GB Notification: Performance of SimCode: time 1.593e-06/4.105, allocations: 1.969 kB / 1.169 GB, free: 93.2 MB / 0.5262 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 7.774/11.88, allocations: 0.4963 GB / 1.665 GB, free: 52.55 MB / 0.573 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperParallel.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperParallel.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperParallel.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperParallel.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperParallel_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_SpringDamperParallel_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-07 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_SpringDamperParallel.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperParallel.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.SpringDamperParallel_res.mat does not exist to compare? outputFormat=mat