Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperParallel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.SpringDamperParallel,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_SpringDamperParallel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.SpringDamperParallel,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_SpringDamperParallel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001501/0.001501, allocations: 173.7 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 221.5 MB / 230.7 MB, free: 7.57 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009527/0.0009529, allocations: 92.69 kB / 281.6 MB, free: 5.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2089/0.2089, allocations: 44.16 MB / 376.5 MB, free: 3.031 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.814e-05/1.818e-05, allocations: 11.88 kB / 444.7 MB, free: 15.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1362, allocations: 61.9 MB / 0.4948 GB, free: 1.148 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4258/0.562, allocations: 105.1 MB / 0.5974 GB, free: 7.207 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002552/0.5623, allocations: 79.95 kB / 0.5975 GB, free: 7.129 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.745/1.307, allocations: 125.7 MB / 0.7202 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.244e-06/1.307, allocations: 3.281 kB / 0.7202 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0007169/1.308, allocations: 136.8 kB / 0.7203 GB, free: 107.2 MB / 0.5105 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.03122/1.339, allocations: 6.728 MB / 0.7269 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.055e-05/1.339, allocations: 14.23 kB / 0.7269 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02279/1.362, allocations: 2.805 MB / 0.7297 GB, free: 104.3 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01839/1.381, allocations: 3.869 MB / 0.7334 GB, free: 103.6 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001291/1.382, allocations: 242.2 kB / 0.7337 GB, free: 103.6 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007367/1.389, allocations: 444.5 kB / 0.7341 GB, free: 103.6 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03206/1.422, allocations: 11.28 MB / 0.7451 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05743/1.479, allocations: 15.99 MB / 0.7607 GB, free: 100.2 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006037/1.48, allocations: 81.16 kB / 0.7608 GB, free: 100.2 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004894/1.485, allocations: 37.69 kB / 0.7608 GB, free: 100.2 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004898/1.49, allocations: 1.953 MB / 0.7628 GB, free: 100.2 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1005/1.59, allocations: 72.96 MB / 0.834 GB, free: 53.01 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009663/1.6, allocations: 7.468 MB / 0.8413 GB, free: 48.66 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006522/1.607, allocations: 5.546 MB / 0.8467 GB, free: 43.55 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001045/1.608, allocations: 1.115 MB / 0.8478 GB, free: 42.38 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.536e-05/1.608, allocations: 80.7 kB / 0.8479 GB, free: 42.3 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=392): time 7.865e-06/1.608, allocations: 0 / 0.8479 GB, free: 42.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=537): time 0.1284/1.736, allocations: 59.35 MB / 0.9058 GB, free: 7.844 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002044/1.736, allocations: 261.3 kB / 0.9061 GB, free: 7.539 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006644/1.743, allocations: 3.597 MB / 0.9096 GB, free: 4.363 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001598/1.745, allocations: 29.7 kB / 0.9096 GB, free: 4.328 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.3673/2.112, allocations: 4.572 MB / 0.9141 GB, free: 114.8 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.003924/2.116, allocations: 1.863 MB / 0.9159 GB, free: 114.6 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002295/2.118, allocations: 1.062 kB / 0.9159 GB, free: 114.6 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.001323/2.12, allocations: 0.7439 MB / 0.9166 GB, free: 114.3 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01067/2.13, allocations: 5.445 MB / 0.922 GB, free: 114.3 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01649/2.147, allocations: 10.43 MB / 0.9321 GB, free: 108 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01413/2.161, allocations: 7.494 MB / 0.9395 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000298/2.161, allocations: 50 kB / 0.9395 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1355) (initialization): time 0.04115/2.202, allocations: 17.57 MB / 0.9567 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005212/2.203, allocations: 79.5 kB / 0.9567 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006675/2.204, allocations: 179.2 kB / 0.9569 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008521/2.212, allocations: 3.082 MB / 0.9599 GB, free: 107.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01085/2.223, allocations: 2.461 MB / 0.9623 GB, free: 107 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02258/2.246, allocations: 22.65 MB / 0.9844 GB, free: 91.99 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009269/2.255, allocations: 412 kB / 0.9848 GB, free: 91.98 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002548/2.258, allocations: 0.5721 MB / 0.9854 GB, free: 91.9 MB / 0.5261 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.002985/2.261, allocations: 0.5823 MB / 0.986 GB, free: 91.54 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02105/2.282, allocations: 12.54 MB / 0.9982 GB, free: 86.93 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002152/2.284, allocations: 495.4 kB / 0.9987 GB, free: 86.66 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.022/2.306, allocations: 12.91 MB / 1.011 GB, free: 81.72 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.993e-05/2.306, allocations: 63.56 kB / 1.011 GB, free: 81.72 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.549e-05/2.306, allocations: 14.12 kB / 1.011 GB, free: 81.72 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001597/2.306, allocations: 26.16 kB / 1.011 GB, free: 81.72 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04772/2.354, allocations: 25.01 MB / 1.036 GB, free: 64.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.752e-05/2.354, allocations: 3.562 kB / 1.036 GB, free: 64.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005521/2.36, allocations: 0.9255 MB / 1.037 GB, free: 63.96 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008431/2.368, allocations: 3.278 MB / 1.04 GB, free: 61.58 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001348/2.37, allocations: 27.08 kB / 1.04 GB, free: 61.56 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01688/2.386, allocations: 20 MB / 1.059 GB, free: 42.45 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.514e-06/2.386, allocations: 15.89 kB / 1.059 GB, free: 42.44 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02908/2.416, allocations: 20.85 MB / 1.08 GB, free: 23.76 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001607/2.417, allocations: 0.4925 MB / 1.08 GB, free: 23.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002796/2.42, allocations: 11.95 kB / 1.08 GB, free: 23.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005589/2.426, allocations: 292.5 kB / 1.081 GB, free: 23.09 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00167/2.427, allocations: 347.4 kB / 1.081 GB, free: 22.88 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005557/2.428, allocations: 131.4 kB / 1.081 GB, free: 22.75 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003976/2.432, allocations: 2.325 MB / 1.083 GB, free: 20.72 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.11e-07/2.432, allocations: 4 kB / 1.083 GB, free: 20.72 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01178/2.444, allocations: 1.796 MB / 1.085 GB, free: 18.94 MB / 0.5261 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.0314/2.475, allocations: 22.24 MB / 1.107 GB, free: 13.68 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.3691/2.844, allocations: 14.33 MB / 1.121 GB, free: 118.3 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.206e-05/2.844, allocations: 1.406 kB / 1.121 GB, free: 118.3 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.01669/2.861, allocations: 7.862 MB / 1.129 GB, free: 116.7 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004208/2.865, allocations: 357.6 kB / 1.129 GB, free: 116.7 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05411/2.919, allocations: 19.05 MB / 1.147 GB, free: 113.8 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01231/2.932, allocations: 5.286 MB / 1.153 GB, free: 112.9 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.01059/2.942, allocations: 3.264 MB / 1.156 GB, free: 112.6 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008329/2.951, allocations: 3.395 MB / 1.159 GB, free: 112.6 MB / 0.5417 GB Notification: Performance of SimCode: time 1.062e-06/2.951, allocations: 0 / 1.159 GB, free: 112.6 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2003/3.151, allocations: 143.1 MB / 1.299 GB, free: 13.21 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001294/3.151, allocations: 158.5 kB / 1.299 GB, free: 13 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.602/9.753, allocations: 0 / 1.299 GB, free: 13 MB / 0.5417 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperParallel.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperParallel.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperParallel.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperParallel.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperParallel_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_SpringDamperParallel_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-07 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_SpringDamperParallel.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperParallel.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.SpringDamperParallel_res.mat does not exist to compare? outputFormat=mat