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.001243/0.001243, allocations: 183.9 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.701/1.701, allocations: 205.4 MB / 221.9 MB, free: 13.85 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.0009313/0.0009312, allocations: 102.8 kB / 270.2 MB, free: 13.38 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.2065/0.2065, allocations: 43.56 MB / 362.1 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003519/0.0003519, allocations: 8 kB / 431.5 MB, free: 19.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1165, allocations: 58.86 MB / 490.3 MB, free: 8.598 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.414/0.5306, allocations: 104.6 MB / 0.581 GB, free: 11.39 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002452/0.5309, allocations: 80.7 kB / 0.581 GB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3274/0.8583, allocations: 127.6 MB / 0.7056 GB, free: 3.266 MB / 0.4949 GB Notification: Performance of FrontEnd: time 1.884e-06/0.8583, allocations: 0 / 0.7056 GB, free: 3.266 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 0.0004145/0.8587, allocations: 136 kB / 0.7057 GB, free: 3.133 MB / 0.4949 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.2974/1.156, allocations: 6.964 MB / 0.7125 GB, free: 96.65 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/1.156, allocations: 9.156 kB / 0.7126 GB, free: 96.65 MB / 0.4949 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005676/1.162, allocations: 1.303 MB / 0.7138 GB, free: 96.54 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01486/1.177, allocations: 2.808 MB / 0.7166 GB, free: 96.07 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01544/1.192, allocations: 3.891 MB / 0.7204 GB, free: 95.76 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001066/1.193, allocations: 0.5511 MB / 0.7209 GB, free: 95.74 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005105/1.199, allocations: 0.7402 MB / 0.7216 GB, free: 95.73 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06826/1.267, allocations: 20.64 MB / 0.7418 GB, free: 92.37 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006871/1.268, allocations: 85.72 kB / 0.7419 GB, free: 92.36 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0049/1.273, allocations: 348.3 kB / 0.7422 GB, free: 92.36 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004406/1.277, allocations: 1.945 MB / 0.7441 GB, free: 92.34 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05458/1.332, allocations: 18.23 MB / 0.7619 GB, free: 92.28 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09812/1.43, allocations: 74.96 MB / 0.8351 GB, free: 42.09 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02154/1.451, allocations: 8.69 MB / 0.8436 GB, free: 35.01 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03074/1.482, allocations: 19.85 MB / 0.863 GB, free: 17.79 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.644e-05/1.482, allocations: 77.11 kB / 0.863 GB, free: 17.71 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=386): time 8.215e-06/1.482, allocations: 0 / 0.863 GB, free: 17.71 MB / 0.4949 GB Notification: Performance of matching and sorting (n=531): time 0.7982/2.281, allocations: 92.5 MB / 0.9534 GB, free: 119.7 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001143/2.281, allocations: 190 kB / 0.9536 GB, free: 119.5 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01018/2.291, allocations: 4.569 MB / 0.958 GB, free: 119.1 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.001816/2.293, allocations: 104.1 kB / 0.9581 GB, free: 119.1 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.003764/2.297, allocations: 4.523 MB / 0.9625 GB, free: 116.6 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.003467/2.3, allocations: 1.901 MB / 0.9644 GB, free: 115.4 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00223/2.302, allocations: 204.3 kB / 0.9646 GB, free: 115.4 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 0.001224/2.304, allocations: 0.7414 MB / 0.9653 GB, free: 115.1 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00955/2.313, allocations: 5.564 MB / 0.9708 GB, free: 114 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01473/2.328, allocations: 10.45 MB / 0.981 GB, free: 105.5 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0133/2.341, allocations: 7.553 MB / 0.9883 GB, free: 102.6 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002902/2.342, allocations: 47.97 kB / 0.9884 GB, free: 102.6 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1325) (initialization): time 0.04333/2.385, allocations: 18.66 MB / 1.007 GB, free: 96.21 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002785/2.385, allocations: 77.66 kB / 1.007 GB, free: 96.21 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004818/2.386, allocations: 168.5 kB / 1.007 GB, free: 96.21 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008943/2.395, allocations: 3.145 MB / 1.01 GB, free: 95.45 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01004/2.405, allocations: 2.389 MB / 1.012 GB, free: 95.19 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02445/2.429, allocations: 24.83 MB / 1.036 GB, free: 72.12 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01168/2.441, allocations: 0.5707 MB / 1.037 GB, free: 71.66 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00352/2.445, allocations: 0.567 MB / 1.038 GB, free: 71.13 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 () * Number of clocked 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.01004/2.455, allocations: 3.333 MB / 1.041 GB, free: 68.18 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001699/2.456, allocations: 0.5477 MB / 1.041 GB, free: 67.62 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02166/2.478, allocations: 13.29 MB / 1.054 GB, free: 56.59 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-05/2.478, allocations: 52 kB / 1.054 GB, free: 56.54 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.56e-05/2.478, allocations: 19.95 kB / 1.054 GB, free: 56.52 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001231/2.478, allocations: 25.17 kB / 1.054 GB, free: 56.52 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04808/2.526, allocations: 26.14 MB / 1.08 GB, free: 35.02 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.801e-05/2.527, allocations: 8.094 kB / 1.08 GB, free: 35.01 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004921/2.531, allocations: 0.8924 MB / 1.081 GB, free: 34.29 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008819/2.54, allocations: 3.341 MB / 1.084 GB, free: 31.11 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001322/2.542, allocations: 95.98 kB / 1.084 GB, free: 31.02 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.319/2.861, allocations: 21.68 MB / 1.105 GB, free: 109 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.375e-06/2.861, allocations: 6.875 kB / 1.105 GB, free: 109 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04043/2.901, allocations: 21.2 MB / 1.126 GB, free: 107.3 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005691/2.907, allocations: 1.603 MB / 1.128 GB, free: 107.2 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002433/2.909, allocations: 97.19 kB / 1.128 GB, free: 107.2 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005983/2.915, allocations: 365.2 kB / 1.128 GB, free: 107.2 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002245/2.918, allocations: 344.5 kB / 1.128 GB, free: 107.2 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001038/2.919, allocations: 134.2 kB / 1.129 GB, free: 107.2 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.006423/2.925, allocations: 3.151 MB / 1.132 GB, free: 107.1 MB / 0.5262 GB Notification: Performance of sort global known variables: time 7.32e-07/2.925, allocations: 0 / 1.132 GB, free: 107.1 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.01143/2.937, allocations: 2.076 MB / 1.134 GB, free: 107.1 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 () * Number of clocked 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.03276/2.97, allocations: 22.91 MB / 1.156 GB, free: 102.3 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.02382/2.993, allocations: 14.7 MB / 1.17 GB, free: 96.68 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.787e-05/2.993, allocations: 7.062 kB / 1.17 GB, free: 96.68 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.01531/3.009, allocations: 7.956 MB / 1.178 GB, free: 92.77 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006214/3.015, allocations: 0.5562 MB / 1.179 GB, free: 92.5 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4091/3.424, allocations: 155.4 MB / 1.33 GB, free: 107.1 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01275/3.437, allocations: 5.292 MB / 1.336 GB, free: 106.2 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.01157/3.449, allocations: 3.207 MB / 1.339 GB, free: 106.1 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00746/3.456, allocations: 3.426 MB / 1.342 GB, free: 106.1 MB / 0.5574 GB Notification: Performance of SimCode: time 1.153e-06/3.456, allocations: 0 / 1.342 GB, free: 106.1 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2286/3.685, allocations: 152.3 MB / 1.491 GB, free: 14.06 MB / 0.5574 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000139/3.685, allocations: 212.5 kB / 1.491 GB, free: 13.82 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.601/11.29, allocations: 0 / 1.491 GB, free: 13.82 MB / 0.5574 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