Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_ModelicaTest_MultiBody_Forces_SpringDamperParallel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.SpringDamperParallel,fileNamePrefix="ModelicaTest_3_2_3_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.001249/0.001249, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.601/1.601, allocations: 205.3 MB / 213.7 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008124/0.0008124, allocations: 94.28 kB / 261.7 MB, free: 1.688 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1925/0.1925, allocations: 43.5 MB / 353.2 MB, free: 288 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.131e-05/2.133e-05, allocations: 4 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1145, allocations: 58.86 MB / 477.2 MB, free: 1.543 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3858/0.5004, allocations: 103.8 MB / 0.5674 GB, free: 7.5 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000182/0.5006, allocations: 84.39 kB / 0.5675 GB, free: 7.461 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2964/0.797, allocations: 124 MB / 0.6886 GB, free: 3.305 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.7971, allocations: 0 / 0.6886 GB, free: 3.305 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002828/0.7974, allocations: 136 kB / 0.6887 GB, free: 3.172 MB / 490.7 MB 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.02017/0.8176, allocations: 6.734 MB / 0.6953 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/0.8176, allocations: 12.03 kB / 0.6953 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01237/0.83, allocations: 2.806 MB / 0.6981 GB, free: 9.531 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01064/0.8407, allocations: 3.883 MB / 0.7019 GB, free: 5.586 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004003/0.8411, allocations: 240 kB / 0.7021 GB, free: 5.352 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003249/0.8444, allocations: 443.8 kB / 0.7025 GB, free: 4.918 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.6168/1.461, allocations: 11.27 MB / 0.7135 GB, free: 67.17 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04037/1.502, allocations: 16 MB / 0.7291 GB, free: 63.84 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004671/1.502, allocations: 77.94 kB / 0.7292 GB, free: 63.84 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003392/1.506, allocations: 42.03 kB / 0.7292 GB, free: 63.84 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002894/1.508, allocations: 1.946 MB / 0.7311 GB, free: 63.83 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08862/1.597, allocations: 72.98 MB / 0.8024 GB, free: 25.53 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009555/1.607, allocations: 7.46 MB / 0.8097 GB, free: 21.98 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00766/1.614, allocations: 5.553 MB / 0.8151 GB, free: 19.62 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001068/1.616, allocations: 1.115 MB / 0.8162 GB, free: 18.71 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.385e-05/1.616, allocations: 80.25 kB / 0.8163 GB, free: 18.64 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=392): time 7.104e-06/1.616, allocations: 3.094 kB / 0.8163 GB, free: 18.64 MB / 0.4949 GB Notification: Performance of matching and sorting (n=537): time 0.1296/1.745, allocations: 59.38 MB / 0.8743 GB, free: 6.836 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001232/1.745, allocations: 264.4 kB / 0.8745 GB, free: 6.535 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00547/1.751, allocations: 3.612 MB / 0.8781 GB, free: 3.453 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001489/1.752, allocations: 25.7 kB / 0.8781 GB, free: 3.422 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00376/1.756, allocations: 4.589 MB / 0.8826 GB, free: 15.34 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.003088/1.759, allocations: 1.862 MB / 0.8844 GB, free: 13.64 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006906/1.76, allocations: 0 / 0.8844 GB, free: 13.64 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 0.0005313/1.76, allocations: 0.7445 MB / 0.8851 GB, free: 13.02 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008629/1.769, allocations: 5.44 MB / 0.8904 GB, free: 8.102 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01504/1.784, allocations: 10.43 MB / 0.9006 GB, free: 12.05 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01273/1.797, allocations: 7.484 MB / 0.9079 GB, free: 5.605 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002106/1.797, allocations: 52 kB / 0.908 GB, free: 5.555 MB / 0.5418 GB Notification: Performance of matching and sorting (n=1355) (initialization): time 0.3519/2.149, allocations: 17.57 MB / 0.9251 GB, free: 130.6 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003991/2.15, allocations: 81.22 kB / 0.9252 GB, free: 130.6 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006522/2.15, allocations: 181 kB / 0.9254 GB, free: 130.6 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01022/2.16, allocations: 3.071 MB / 0.9284 GB, free: 130.5 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01184/2.172, allocations: 2.466 MB / 0.9308 GB, free: 130.5 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0223/2.195, allocations: 22.67 MB / 0.9529 GB, free: 120.8 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009868/2.205, allocations: 410.3 kB / 0.9533 GB, free: 120.8 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003125/2.208, allocations: 0.5725 MB / 0.9539 GB, free: 120.8 MB / 0.5418 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 794 * 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 (1260): * Single equations (assignments): 1247 * 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.003111/2.211, allocations: 0.579 MB / 0.9544 GB, free: 120.7 MB / 0.5418 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01984/2.231, allocations: 12.55 MB / 0.9667 GB, free: 120.4 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001751/2.233, allocations: 497.6 kB / 0.9672 GB, free: 120.3 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02044/2.253, allocations: 12.92 MB / 0.9798 GB, free: 117.9 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.547e-05/2.253, allocations: 57.59 kB / 0.9798 GB, free: 117.9 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.091e-05/2.253, allocations: 12.16 kB / 0.9798 GB, free: 117.9 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001049/2.253, allocations: 26.88 kB / 0.9799 GB, free: 117.9 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04162/2.295, allocations: 25.02 MB / 1.004 GB, free: 108 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.623e-05/2.295, allocations: 3.719 kB / 1.004 GB, free: 108 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00566/2.301, allocations: 0.9191 MB / 1.005 GB, free: 107.9 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008882/2.31, allocations: 3.274 MB / 1.008 GB, free: 107.1 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001653/2.311, allocations: 23.7 kB / 1.008 GB, free: 107.1 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01822/2.33, allocations: 20 MB / 1.028 GB, free: 93 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.005e-05/2.33, allocations: 11.42 kB / 1.028 GB, free: 92.99 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02868/2.358, allocations: 20.86 MB / 1.048 GB, free: 75.78 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004078/2.363, allocations: 1.557 MB / 1.05 GB, free: 74.36 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001315/2.364, allocations: 8 kB / 1.05 GB, free: 74.36 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00389/2.368, allocations: 289 kB / 1.05 GB, free: 74.2 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008387/2.369, allocations: 351.9 kB / 1.05 GB, free: 73.99 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003989/2.369, allocations: 132 kB / 1.051 GB, free: 73.87 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.003272/2.372, allocations: 2.342 MB / 1.053 GB, free: 71.82 MB / 0.5418 GB Notification: Performance of sort global known variables: time 1.5e-07/2.372, allocations: 0 / 1.053 GB, free: 71.82 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.008809/2.381, allocations: 1.795 MB / 1.055 GB, free: 70.04 MB / 0.5418 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (454): * Single equations (assignments): 436 * 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.02635/2.407, allocations: 22.25 MB / 1.076 GB, free: 50.09 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.02068/2.428, allocations: 14.32 MB / 1.09 GB, free: 36.97 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 1.14e-05/2.428, allocations: 8 kB / 1.09 GB, free: 36.96 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.01151/2.44, allocations: 7.865 MB / 1.098 GB, free: 29.68 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003125/2.443, allocations: 355.8 kB / 1.098 GB, free: 29.37 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04433/2.487, allocations: 19.06 MB / 1.117 GB, free: 10.77 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.31/2.797, allocations: 5.287 MB / 1.122 GB, free: 129.1 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 0.01377/2.811, allocations: 3.268 MB / 1.125 GB, free: 129 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008326/2.82, allocations: 3.399 MB / 1.129 GB, free: 129 MB / 0.5418 GB Notification: Performance of SimCode: time 1.042e-06/2.82, allocations: 0 / 1.129 GB, free: 129 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2085/3.028, allocations: 143.1 MB / 1.268 GB, free: 52.96 MB / 0.5418 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001314/3.028, allocations: 138.2 kB / 1.269 GB, free: 52.78 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.306/9.334, allocations: 3.938 kB / 1.269 GB, free: 52.77 MB / 0.5418 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperParallel.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperParallel.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperParallel.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperParallel.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperParallel_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_SpringDamperParallel_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-07 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_SpringDamperParallel.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperParallel.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.SpringDamperParallel_res.mat does not exist to compare? outputFormat=mat