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.001565/0.001565, allocations: 185.3 kB / 16.41 MB, free: 5.727 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.286/2.286, allocations: 205.4 MB / 222.5 MB, free: 9.141 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.001124/0.001124, allocations: 88.42 kB / 270.9 MB, free: 8.391 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.5302/0.5302, allocations: 43.55 MB / 362.7 MB, free: 52.27 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004973/0.0004973, allocations: 12 kB / 431.5 MB, free: 6.094 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1297, allocations: 58.84 MB / 490.3 MB, free: 11.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4946/0.6243, allocations: 104.6 MB / 0.5809 GB, free: 14.07 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002776/0.6247, allocations: 79.95 kB / 0.581 GB, free: 13.99 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8901/1.515, allocations: 127.6 MB / 0.7056 GB, free: 83.01 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.055e-06/1.515, allocations: 6.812 kB / 0.7056 GB, free: 83.01 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003875/1.515, allocations: 135.2 kB / 0.7057 GB, free: 83 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.03114/1.546, allocations: 6.968 MB / 0.7125 GB, free: 80.29 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.966e-05/1.546, allocations: 9.875 kB / 0.7125 GB, free: 80.29 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007273/1.554, allocations: 1.309 MB / 0.7138 GB, free: 80.18 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0212/1.575, allocations: 2.801 MB / 0.7166 GB, free: 79.71 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01519/1.59, allocations: 3.891 MB / 0.7204 GB, free: 78.98 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009898/1.591, allocations: 0.5493 MB / 0.7209 GB, free: 78.96 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004973/1.596, allocations: 0.7384 MB / 0.7216 GB, free: 78.95 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07827/1.675, allocations: 20.64 MB / 0.7418 GB, free: 73.83 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006374/1.675, allocations: 87.88 kB / 0.7419 GB, free: 73.78 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004587/1.68, allocations: 362.4 kB / 0.7422 GB, free: 73.57 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004875/1.685, allocations: 1.954 MB / 0.7441 GB, free: 73.22 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08723/1.772, allocations: 18.22 MB / 0.7619 GB, free: 68.31 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1721/1.944, allocations: 74.96 MB / 0.8351 GB, free: 6.129 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.06163/2.006, allocations: 8.693 MB / 0.8436 GB, free: 13.29 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05822/2.064, allocations: 19.83 MB / 0.863 GB, free: 9.305 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001016/2.064, allocations: 73.11 kB / 0.863 GB, free: 9.223 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=386): time 8.476e-06/2.064, allocations: 0 / 0.863 GB, free: 9.223 MB / 0.5105 GB Notification: Performance of matching and sorting (n=531): time 1.002/3.067, allocations: 92.52 MB / 0.9534 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.546e-05/3.067, allocations: 182.5 kB / 0.9536 GB, free: 99.93 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01222/3.079, allocations: 4.573 MB / 0.958 GB, free: 98.35 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001688/3.081, allocations: 106.4 kB / 0.9581 GB, free: 98.25 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003831/3.085, allocations: 4.392 MB / 0.9624 GB, free: 94.99 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.003458/3.088, allocations: 1.903 MB / 0.9643 GB, free: 93.56 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002513/3.091, allocations: 205.2 kB / 0.9645 GB, free: 93.4 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001024/3.092, allocations: 0.7415 MB / 0.9652 GB, free: 92.91 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01484/3.107, allocations: 5.563 MB / 0.9706 GB, free: 90.83 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01787/3.125, allocations: 10.46 MB / 0.9808 GB, free: 79.23 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01794/3.143, allocations: 7.545 MB / 0.9882 GB, free: 72.55 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001554/3.143, allocations: 50.95 kB / 0.9883 GB, free: 72.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1325) (initialization): time 0.05616/3.199, allocations: 18.5 MB / 1.006 GB, free: 56.81 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001317/3.199, allocations: 80 kB / 1.006 GB, free: 56.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002832/3.199, allocations: 168 kB / 1.007 GB, free: 56.57 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01421/3.214, allocations: 3.142 MB / 1.01 GB, free: 53.77 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0176/3.231, allocations: 2.382 MB / 1.012 GB, free: 51.39 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03931/3.271, allocations: 24.83 MB / 1.036 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01273/3.283, allocations: 0.5696 MB / 1.037 GB, free: 24.96 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00283/3.286, allocations: 0.5647 MB / 1.037 GB, free: 24.4 MB / 0.5105 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.0109/3.297, allocations: 3.335 MB / 1.041 GB, free: 21.05 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00247/3.3, allocations: 0.5476 MB / 1.041 GB, free: 20.5 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04418/3.344, allocations: 13.28 MB / 1.054 GB, free: 7.152 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.196e-05/3.344, allocations: 63.95 kB / 1.054 GB, free: 7.09 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-05/3.344, allocations: 12 kB / 1.054 GB, free: 7.078 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001506/3.344, allocations: 23.91 kB / 1.054 GB, free: 7.055 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4639/3.808, allocations: 26.13 MB / 1.08 GB, free: 108.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.249e-05/3.808, allocations: 9.219 kB / 1.08 GB, free: 108.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009837/3.818, allocations: 0.8971 MB / 1.081 GB, free: 108.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01666/3.835, allocations: 3.337 MB / 1.084 GB, free: 108 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001571/3.837, allocations: 101.9 kB / 1.084 GB, free: 108 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03533/3.872, allocations: 21.67 MB / 1.105 GB, free: 98.02 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.149e-05/3.872, allocations: 6.625 kB / 1.105 GB, free: 98.02 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05961/3.932, allocations: 21.21 MB / 1.126 GB, free: 89.02 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006406/3.938, allocations: 1.607 MB / 1.127 GB, free: 88.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002793/3.941, allocations: 96.05 kB / 1.127 GB, free: 88.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00841/3.949, allocations: 365.4 kB / 1.128 GB, free: 88.33 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002397/3.952, allocations: 344.2 kB / 1.128 GB, free: 88.29 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001133/3.953, allocations: 136.5 kB / 1.128 GB, free: 88.25 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.008594/3.962, allocations: 3.151 MB / 1.131 GB, free: 87.18 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.263e-06/3.962, allocations: 0 / 1.131 GB, free: 87.18 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0135/3.975, allocations: 2.081 MB / 1.133 GB, free: 86.94 MB / 0.5261 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.05697/4.032, allocations: 22.89 MB / 1.156 GB, free: 76.36 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.03589/4.068, allocations: 14.72 MB / 1.17 GB, free: 70.58 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.218e-05/4.068, allocations: 3.531 kB / 1.17 GB, free: 70.58 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.02227/4.091, allocations: 7.961 MB / 1.178 GB, free: 66.57 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005658/4.096, allocations: 0.565 MB / 1.178 GB, free: 66.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4965/4.593, allocations: 156.2 MB / 1.331 GB, free: 48.11 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01456/4.607, allocations: 5.294 MB / 1.336 GB, free: 47.23 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01086/4.618, allocations: 3.491 MB / 1.34 GB, free: 47.22 MB / 0.5417 GB Notification: Performance of SimCode: time 1.383e-06/4.618, allocations: 0 / 1.34 GB, free: 47.22 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 7.869/12.49, allocations: 0.4943 GB / 1.834 GB, free: 44.66 MB / 0.5574 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