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.001487/0.001493, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.056/2.056, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001116/0.001115, allocations: 92.64 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3001/0.3001, allocations: 43.49 MB / 353.6 MB, free: 2.254 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.707e-05/1.701e-05, allocations: 224 / 418.3 MB, free: 40.93 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4058/0.4059, allocations: 58.85 MB / 477.2 MB, free: 5.156 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1936/0.5996, allocations: 103.8 MB / 0.5674 GB, free: 11.35 MB / 411.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002442/0.5999, allocations: 75.97 kB / 0.5675 GB, free: 11.28 MB / 411.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.8329/1.433, allocations: 124 MB / 0.6886 GB, free: 102.6 MB / 475.1 MB Notification: Performance of FrontEnd: time 2.064e-06/1.433, allocations: 2.719 kB / 0.6886 GB, free: 102.6 MB / 475.1 MB Notification: Performance of Transformations before backend: time 0.0003511/1.433, allocations: 139.7 kB / 0.6887 GB, free: 102.6 MB / 475.1 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.03562/1.469, allocations: 6.735 MB / 0.6953 GB, free: 99.34 MB / 475.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/1.469, allocations: 9.75 kB / 0.6953 GB, free: 99.34 MB / 475.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02003/1.489, allocations: 2.802 MB / 0.698 GB, free: 98.79 MB / 475.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01465/1.504, allocations: 3.879 MB / 0.7018 GB, free: 96.84 MB / 475.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005705/1.504, allocations: 240.6 kB / 0.702 GB, free: 96.84 MB / 475.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004593/1.509, allocations: 435.8 kB / 0.7025 GB, free: 96.84 MB / 475.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02854/1.537, allocations: 11.28 MB / 0.7135 GB, free: 92.76 MB / 475.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04319/1.581, allocations: 15.99 MB / 0.7291 GB, free: 75.54 MB / 475.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005826/1.581, allocations: 79.23 kB / 0.7292 GB, free: 75.46 MB / 475.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004028/1.585, allocations: 36 kB / 0.7292 GB, free: 75.43 MB / 475.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004701/1.59, allocations: 1.965 MB / 0.7311 GB, free: 73.47 MB / 475.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1247/1.715, allocations: 72.98 MB / 0.8024 GB, free: 15.16 MB / 491.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01561/1.731, allocations: 7.462 MB / 0.8097 GB, free: 7.535 MB / 491.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01207/1.743, allocations: 5.546 MB / 0.8151 GB, free: 1.969 MB / 491.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001908/1.745, allocations: 1.117 MB / 0.8162 GB, free: 0.707 MB / 491.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.048e-05/1.745, allocations: 77.09 kB / 0.8163 GB, free: 0.6211 MB / 491.1 MB Notification: Performance of pre-optimization done (n=392): time 8.136e-06/1.745, allocations: 0 / 0.8163 GB, free: 0.6211 MB / 491.1 MB Notification: Performance of matching and sorting (n=537): time 0.6024/2.347, allocations: 59.37 MB / 0.8742 GB, free: 113.1 MB / 0.4952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001096/2.347, allocations: 263.6 kB / 0.8745 GB, free: 112.8 MB / 0.4952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008727/2.356, allocations: 3.609 MB / 0.878 GB, free: 111.4 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 0.001807/2.358, allocations: 31.31 kB / 0.878 GB, free: 111.4 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 0.003894/2.362, allocations: 4.544 MB / 0.8825 GB, free: 107.9 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 0.003855/2.366, allocations: 1.861 MB / 0.8843 GB, free: 106.4 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002262/2.368, allocations: 4.312 kB / 0.8843 GB, free: 106.4 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 0.001126/2.369, allocations: 0.7521 MB / 0.885 GB, free: 105.9 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01363/2.383, allocations: 5.445 MB / 0.8904 GB, free: 103.8 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01714/2.4, allocations: 10.43 MB / 0.9005 GB, free: 95.03 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01696/2.417, allocations: 7.481 MB / 0.9078 GB, free: 92.34 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002409/2.418, allocations: 48.62 kB / 0.9079 GB, free: 92.34 MB / 0.4952 GB Notification: Performance of matching and sorting (n=1355) (initialization): time 0.05182/2.469, allocations: 17.49 MB / 0.925 GB, free: 83.87 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001349/2.47, allocations: 77.25 kB / 0.925 GB, free: 83.79 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002883/2.47, allocations: 176.8 kB / 0.9252 GB, free: 83.62 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01386/2.484, allocations: 3.082 MB / 0.9282 GB, free: 81.27 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01809/2.502, allocations: 2.461 MB / 0.9306 GB, free: 79.2 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03537/2.537, allocations: 22.66 MB / 0.9528 GB, free: 57.77 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01282/2.55, allocations: 408.3 kB / 0.9531 GB, free: 57.49 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003324/2.554, allocations: 0.5765 MB / 0.9537 GB, free: 56.95 MB / 0.4952 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.00502/2.559, allocations: 0.5731 MB / 0.9543 GB, free: 56.37 MB / 0.4952 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0385/2.597, allocations: 12.55 MB / 0.9665 GB, free: 45.68 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002714/2.6, allocations: 493.7 kB / 0.967 GB, free: 45.19 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03963/2.64, allocations: 12.92 MB / 0.9796 GB, free: 32.68 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001226/2.64, allocations: 52.55 kB / 0.9797 GB, free: 32.63 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.745e-05/2.64, allocations: 19.98 kB / 0.9797 GB, free: 32.61 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001479/2.64, allocations: 27.66 kB / 0.9797 GB, free: 32.59 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07362/2.714, allocations: 25.01 MB / 1.004 GB, free: 7.562 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.839e-05/2.714, allocations: 7.938 kB / 1.004 GB, free: 7.555 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01018/2.724, allocations: 0.9248 MB / 1.005 GB, free: 6.629 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01631/2.74, allocations: 3.28 MB / 1.008 GB, free: 3.312 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00172/2.742, allocations: 19.98 kB / 1.008 GB, free: 3.293 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4399/3.182, allocations: 20 MB / 1.028 GB, free: 117.8 MB / 0.5108 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.426e-05/3.182, allocations: 7.562 kB / 1.028 GB, free: 117.8 MB / 0.5108 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06063/3.243, allocations: 20.86 MB / 1.048 GB, free: 116.2 MB / 0.5108 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006243/3.249, allocations: 1.561 MB / 1.05 GB, free: 115.6 MB / 0.5108 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002389/3.251, allocations: 11.34 kB / 1.05 GB, free: 115.6 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008054/3.259, allocations: 294.1 kB / 1.05 GB, free: 115.6 MB / 0.5108 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002344/3.262, allocations: 345 kB / 1.05 GB, free: 115.6 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001408/3.263, allocations: 132.4 kB / 1.05 GB, free: 115.5 MB / 0.5108 GB Notification: Performance of sorting global known variables: time 0.00571/3.269, allocations: 2.341 MB / 1.053 GB, free: 114.7 MB / 0.5108 GB Notification: Performance of sort global known variables: time 1.022e-06/3.269, allocations: 0 / 1.053 GB, free: 114.7 MB / 0.5108 GB Notification: Performance of remove unused functions: time 0.01429/3.283, allocations: 1.792 MB / 1.054 GB, free: 114.7 MB / 0.5108 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.05377/3.337, allocations: 22.24 MB / 1.076 GB, free: 104.8 MB / 0.5108 GB Notification: Performance of simCode: created initialization part: time 0.03266/3.37, allocations: 14.34 MB / 1.09 GB, free: 99.07 MB / 0.5108 GB Notification: Performance of simCode: created event and clocks part: time 1.231e-05/3.37, allocations: 3.625 kB / 1.09 GB, free: 99.07 MB / 0.5108 GB Notification: Performance of simCode: created simulation system equations: time 0.02071/3.391, allocations: 7.881 MB / 1.098 GB, free: 95.07 MB / 0.5108 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004671/3.395, allocations: 348.5 kB / 1.098 GB, free: 94.9 MB / 0.5108 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06227/3.458, allocations: 19.84 MB / 1.118 GB, free: 81.55 MB / 0.5108 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01211/3.47, allocations: 5.294 MB / 1.123 GB, free: 77.62 MB / 0.5108 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01047/3.48, allocations: 3.466 MB / 1.126 GB, free: 74.43 MB / 0.5108 GB Notification: Performance of SimCode: time 3.106e-06/3.48, allocations: 0 / 1.126 GB, free: 74.43 MB / 0.5108 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 7.77/11.25, allocations: 0.4921 GB / 1.618 GB, free: 33.86 MB / 0.5733 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