Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring2.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.Spring2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Spring2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Spring2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Spring2",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.001691/0.001691, allocations: 184.8 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.743/1.743, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0009116/0.0009116, allocations: 94.84 kB / 270.2 MB, free: 13.37 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.2214/0.2214, allocations: 43.56 MB / 362.1 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003559/0.0003559, allocations: 8 kB / 431.5 MB, free: 19.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1425, allocations: 58.86 MB / 490.3 MB, free: 8.586 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3998/0.5424, allocations: 103 MB / 0.5794 GB, free: 12.93 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002134/0.5427, allocations: 77.2 kB / 0.5795 GB, free: 12.89 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2662/0.8089, allocations: 98.62 MB / 0.6758 GB, free: 2.094 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.226e-06/0.809, allocations: 0 / 0.6758 GB, free: 2.094 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0003883/0.8094, allocations: 104 kB / 0.6759 GB, free: 1.992 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1730 * Number of variables: 1730 Notification: Performance of Generate backend data structure: time 0.02997/0.8394, allocations: 6.22 MB / 0.682 GB, free: 11.7 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.07e-05/0.8394, allocations: 8.031 kB / 0.682 GB, free: 11.69 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004978/0.8444, allocations: 0.9007 MB / 0.6829 GB, free: 10.78 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01663/0.8611, allocations: 2.93 MB / 0.6858 GB, free: 7.84 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02063/0.8818, allocations: 7.286 MB / 0.6929 GB, free: 500 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000545/0.8824, allocations: 365.6 kB / 0.6932 GB, free: 132 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002619/0.885, allocations: 0.4958 MB / 0.6937 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02825/0.9133, allocations: 12.63 MB / 0.706 GB, free: 1.773 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002768/0.9136, allocations: 83.23 kB / 0.7061 GB, free: 1.691 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009246/0.9145, allocations: 243.9 kB / 0.7063 GB, free: 1.453 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001867/0.9164, allocations: 1.241 MB / 0.7076 GB, free: 212 kB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2971/1.213, allocations: 10.8 MB / 0.7181 GB, free: 112.3 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06511/1.279, allocations: 58.03 MB / 0.7748 GB, free: 78.12 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0132/1.292, allocations: 5.367 MB / 0.78 GB, free: 76.29 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01914/1.311, allocations: 12.34 MB / 0.7921 GB, free: 69.59 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.015e-05/1.311, allocations: 51.28 kB / 0.7921 GB, free: 69.54 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=219): time 5.25e-06/1.311, allocations: 0 / 0.7921 GB, free: 69.54 MB / 0.4948 GB Notification: Performance of matching and sorting (n=258): time 0.06113/1.372, allocations: 25.22 MB / 0.8167 GB, free: 60.68 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00249/1.375, allocations: 4.657 MB / 0.8213 GB, free: 56.11 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007574/1.382, allocations: 4.144 MB / 0.8253 GB, free: 54.72 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008121/1.383, allocations: 64.78 kB / 0.8254 GB, free: 54.66 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002206/1.385, allocations: 3.532 MB / 0.8289 GB, free: 51.5 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001564/1.387, allocations: 1.012 MB / 0.8298 GB, free: 50.61 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004893/1.388, allocations: 150 kB / 0.83 GB, free: 50.46 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003696/1.388, allocations: 0.626 MB / 0.8306 GB, free: 49.93 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004647/1.393, allocations: 3.234 MB / 0.8338 GB, free: 47.25 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006807/1.399, allocations: 7.483 MB / 0.8411 GB, free: 38.46 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007151/1.407, allocations: 4.787 MB / 0.8457 GB, free: 34.26 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001232/1.407, allocations: 44 kB / 0.8458 GB, free: 34.21 MB / 0.4948 GB Notification: Performance of matching and sorting (n=985) (initialization): time 0.02981/1.437, allocations: 13.26 MB / 0.8587 GB, free: 23.26 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002005/1.437, allocations: 68 kB / 0.8588 GB, free: 23.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01484/1.452, allocations: 6.492 MB / 0.8651 GB, free: 18.21 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01068/1.462, allocations: 3.353 MB / 0.8684 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005841/1.468, allocations: 1.735 MB / 0.8701 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01661/1.485, allocations: 16.21 MB / 0.8859 GB, free: 12.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008559/1.494, allocations: 0.7697 MB / 0.8867 GB, free: 11.42 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002029/1.496, allocations: 457.2 kB / 0.8871 GB, free: 10.98 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 682 * Number of states: 0 () * Number of discrete variables: 45 (fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[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 (906): * Single equations (assignments): 886 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 5 {(4,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 3 {4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,100.0%) 13,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006653/1.502, allocations: 2.333 MB / 0.8894 GB, free: 8.637 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001279/1.504, allocations: 422.5 kB / 0.8898 GB, free: 8.219 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01609/1.52, allocations: 7.103 MB / 0.8967 GB, free: 1.074 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2901/1.81, allocations: 6.424 MB / 0.903 GB, free: 117.4 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.595e-05/1.81, allocations: 11.81 kB / 0.903 GB, free: 117.4 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.76e-05/1.81, allocations: 17.5 kB / 0.903 GB, free: 117.4 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03351/1.844, allocations: 15.41 MB / 0.9181 GB, free: 116.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.904e-05/1.844, allocations: 11.59 kB / 0.9181 GB, free: 116.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002213/1.846, allocations: 444.7 kB / 0.9185 GB, free: 116.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009772/1.856, allocations: 3.343 MB / 0.9218 GB, free: 116.4 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008432/1.857, allocations: 81.14 kB / 0.9219 GB, free: 116.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0173/1.874, allocations: 16.87 MB / 0.9383 GB, free: 108.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002148/1.876, allocations: 4.454 MB / 0.9427 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01822/1.894, allocations: 11.31 MB / 0.9537 GB, free: 102.8 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001985/1.896, allocations: 0.4893 MB / 0.9542 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001498/1.898, allocations: 65.5 kB / 0.9543 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003319/1.901, allocations: 346.3 kB / 0.9546 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006912/1.902, allocations: 206 kB / 0.9548 GB, free: 102.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000215/1.902, allocations: 79.88 kB / 0.9549 GB, free: 102.6 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004623/1.907, allocations: 2.903 MB / 0.9577 GB, free: 101.7 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.8e-07/1.907, allocations: 0 / 0.9577 GB, free: 101.7 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00697/1.914, allocations: 1.528 MB / 0.9592 GB, free: 101.5 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 36 ($STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.frame_a.r_0[1],body.frame_a.r_0[2],body.frame_a.r_0[3],body.v_0[1],body.v_0[2],body.v_0[3],body.w_a[1],body.w_a[2],body.w_a[3],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3],body2.frame_a.r_0[1],body2.frame_a.r_0[2],body2.frame_a.r_0[3],body2.v_0[1],body2.v_0[2],body2.v_0[3],body2.w_a[1],body2.w_a[2],body2.w_a[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 (196): * Single equations (assignments): 182 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 5 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 3 {4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,100.0%) 8,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01764/1.931, allocations: 13.26 MB / 0.9721 GB, free: 95.46 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0162/1.948, allocations: 9.379 MB / 0.9813 GB, free: 92.14 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.3e-05/1.948, allocations: 0 / 0.9813 GB, free: 92.14 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.008399/1.956, allocations: 4.65 MB / 0.9858 GB, free: 90 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003887/1.96, allocations: 0.4995 MB / 0.9863 GB, free: 89.79 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3634/2.323, allocations: 151.9 MB / 1.135 GB, free: 127.7 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00521/2.329, allocations: 3.809 MB / 1.138 GB, free: 126.8 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.005797/2.334, allocations: 2.262 MB / 1.141 GB, free: 126.8 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003664/2.338, allocations: 2.281 MB / 1.143 GB, free: 126.8 MB / 0.5417 GB Notification: Performance of SimCode: time 2.515e-06/2.338, allocations: 2.625 kB / 1.143 GB, free: 126.8 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1627/2.501, allocations: 106.7 MB / 1.247 GB, free: 60.55 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001353/2.501, allocations: 201.7 kB / 1.247 GB, free: 60.31 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.557/8.058, allocations: 4 kB / 1.247 GB, free: 60.31 MB / 0.5417 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Spring2_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Spring2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring2_res.mat does not exist to compare? outputFormat=mat