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.001754/0.001754, allocations: 177 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 223.2 MB / 241 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 86.62 kB / 292.1 MB, free: 10.93 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.3411/0.3411, allocations: 44.21 MB / 387.5 MB, free: 38.8 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004052/0.0004053, allocations: 8 kB / 460 MB, free: 1.445 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4252/0.4256, allocations: 61.91 MB / 0.5096 GB, free: 37.99 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1807/0.6064, allocations: 105.9 MB / 0.613 GB, free: 5.23 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004345/0.6069, allocations: 87.91 kB / 0.6131 GB, free: 5.152 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.62/1.227, allocations: 129.2 MB / 0.7393 GB, free: 89.05 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.975e-06/1.227, allocations: 0 / 0.7393 GB, free: 89.05 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003963/1.227, allocations: 139.5 kB / 0.7394 GB, free: 89.04 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.02457/1.252, allocations: 6.948 MB / 0.7462 GB, free: 85.65 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/1.252, allocations: 9.781 kB / 0.7462 GB, free: 85.65 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006595/1.259, allocations: 1.308 MB / 0.7475 GB, free: 84.98 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01252/1.271, allocations: 2.809 MB / 0.7502 GB, free: 84.41 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01261/1.284, allocations: 3.883 MB / 0.754 GB, free: 82.44 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007072/1.285, allocations: 0.5471 MB / 0.7545 GB, free: 82.18 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004407/1.289, allocations: 0.7347 MB / 0.7552 GB, free: 81.93 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05863/1.348, allocations: 20.64 MB / 0.7754 GB, free: 68.25 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006904/1.348, allocations: 91.11 kB / 0.7755 GB, free: 68.16 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004684/1.353, allocations: 343.8 kB / 0.7758 GB, free: 67.82 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00325/1.356, allocations: 1.953 MB / 0.7777 GB, free: 65.87 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04322/1.4, allocations: 18.23 MB / 0.7955 GB, free: 47.62 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1058/1.505, allocations: 74.96 MB / 0.8687 GB, free: 2.789 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.338/1.844, allocations: 8.691 MB / 0.8772 GB, free: 112.1 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03078/1.874, allocations: 19.83 MB / 0.8966 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.674e-05/1.875, allocations: 71.05 kB / 0.8967 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=386): time 6.462e-06/1.875, allocations: 0 / 0.8967 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=531): time 0.3225/2.197, allocations: 92.51 MB / 0.987 GB, free: 65.13 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.294e-05/2.197, allocations: 183.7 kB / 0.9872 GB, free: 64.92 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00991/2.207, allocations: 4.551 MB / 0.9916 GB, free: 60.38 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001628/2.209, allocations: 109.7 kB / 0.9917 GB, free: 60.27 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00279/2.212, allocations: 4.52 MB / 0.9961 GB, free: 55.75 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002672/2.214, allocations: 1.91 MB / 0.998 GB, free: 53.86 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001815/2.216, allocations: 200 kB / 0.9982 GB, free: 53.66 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001054/2.217, allocations: 0.7397 MB / 0.9989 GB, free: 52.91 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009473/2.227, allocations: 5.56 MB / 1.004 GB, free: 47.35 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0122/2.239, allocations: 10.46 MB / 1.015 GB, free: 34.61 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01159/2.251, allocations: 7.538 MB / 1.022 GB, free: 27.21 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001806/2.251, allocations: 48 kB / 1.022 GB, free: 27.16 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1325) (initialization): time 0.03672/2.288, allocations: 18.66 MB / 1.04 GB, free: 8.68 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002639/2.288, allocations: 80.94 kB / 1.04 GB, free: 8.602 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003096/2.288, allocations: 172 kB / 1.04 GB, free: 8.434 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008386/2.297, allocations: 3.14 MB / 1.043 GB, free: 5.266 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01003/2.307, allocations: 2.39 MB / 1.046 GB, free: 2.871 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3675/2.674, allocations: 24.83 MB / 1.07 GB, free: 121.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009319/2.684, allocations: 0.5823 MB / 1.071 GB, free: 121.1 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002372/2.686, allocations: 0.5609 MB / 1.071 GB, free: 121.1 MB / 0.5417 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.009954/2.696, allocations: 3.33 MB / 1.074 GB, free: 121 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002024/2.698, allocations: 0.5373 MB / 1.075 GB, free: 121 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02671/2.725, allocations: 13.29 MB / 1.088 GB, free: 120.7 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.744e-05/2.725, allocations: 53.34 kB / 1.088 GB, free: 120.7 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-05/2.725, allocations: 13.81 kB / 1.088 GB, free: 120.7 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001078/2.725, allocations: 28.36 kB / 1.088 GB, free: 120.7 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05514/2.78, allocations: 26.11 MB / 1.114 GB, free: 113.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-05/2.78, allocations: 7.438 kB / 1.114 GB, free: 113.3 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005296/2.786, allocations: 0.897 MB / 1.114 GB, free: 113.2 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008868/2.795, allocations: 3.337 MB / 1.118 GB, free: 112.4 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001194/2.796, allocations: 102.6 kB / 1.118 GB, free: 112.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01903/2.815, allocations: 21.67 MB / 1.139 GB, free: 97.41 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-06/2.815, allocations: 8.5 kB / 1.139 GB, free: 97.41 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0324/2.847, allocations: 21.2 MB / 1.16 GB, free: 88.28 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002169/2.85, allocations: 0.5864 MB / 1.16 GB, free: 88.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002406/2.852, allocations: 96.66 kB / 1.16 GB, free: 88.02 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00519/2.857, allocations: 360.6 kB / 1.161 GB, free: 87.96 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001528/2.859, allocations: 353.7 kB / 1.161 GB, free: 87.91 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004925/2.859, allocations: 132.3 kB / 1.161 GB, free: 87.88 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.005255/2.864, allocations: 3.138 MB / 1.164 GB, free: 86.81 MB / 0.5417 GB Notification: Performance of sort global known variables: time 4.11e-07/2.864, allocations: 0 / 1.164 GB, free: 86.81 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01151/2.876, allocations: 2.077 MB / 1.166 GB, free: 86.57 MB / 0.5417 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.03697/2.913, allocations: 22.89 MB / 1.189 GB, free: 72.6 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.02492/2.938, allocations: 14.71 MB / 1.203 GB, free: 59.77 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.108e-05/2.938, allocations: 5.75 kB / 1.203 GB, free: 59.77 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.01398/2.952, allocations: 7.946 MB / 1.211 GB, free: 52.53 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005244/2.957, allocations: 0.5629 MB / 1.211 GB, free: 52.04 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3762/3.334, allocations: 155.4 MB / 1.363 GB, free: 49.62 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01023/3.344, allocations: 5.286 MB / 1.368 GB, free: 48.74 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.008957/3.353, allocations: 3.208 MB / 1.371 GB, free: 48.68 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006419/3.359, allocations: 3.428 MB / 1.375 GB, free: 48.68 MB / 0.5573 GB Notification: Performance of SimCode: time 1.463e-06/3.359, allocations: 0 / 1.375 GB, free: 48.68 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5394/3.899, allocations: 152.4 MB / 1.523 GB, free: 142.3 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002076/3.899, allocations: 223.6 kB / 1.524 GB, free: 142 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.48/11.38, allocations: 0 / 1.524 GB, free: 142 MB / 0.573 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