Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.conf.json 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/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_ForceWithTwoMasses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_ForceWithTwoMasses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 95.89 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001917/0.001918, allocations: 179.2 kB / 16.57 MB, free: 6.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.996/1.996, allocations: 205.4 MB / 222.7 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4754/0.4754, allocations: 43.55 MB / 314.5 MB, free: 9.012 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005393/0.0005394, allocations: 16 kB / 384 MB, free: 8.156 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1599, allocations: 58.85 MB / 442.8 MB, free: 13.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses): time 0.3654/0.5254, allocations: 29.8 MB / 472.6 MB, free: 34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02197/0.5475, allocations: 7.755 MB / 480.4 MB, free: 28.78 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008892/0.5564, allocations: 147.6 kB / 480.5 MB, free: 28.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006589/0.5631, allocations: 1.437 MB / 482 MB, free: 28.28 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01699/0.5801, allocations: 4.339 MB / 486.3 MB, free: 26.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002791/0.5829, allocations: 0.568 MB / 486.9 MB, free: 26.01 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02381/0.6067, allocations: 13.96 MB / 0.4891 GB, free: 22.01 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006766/0.6135, allocations: 2.972 MB / 0.492 GB, free: 20.88 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002573/0.6162, allocations: 0.9327 MB / 0.4929 GB, free: 20.56 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002429/0.6186, allocations: 1.282 MB / 0.4942 GB, free: 20.16 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005683/0.6192, allocations: 124.1 kB / 0.4943 GB, free: 20.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002496/0.6217, allocations: 0.9271 MB / 0.4952 GB, free: 19.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001877/0.6236, allocations: 1.396 MB / 0.4966 GB, free: 19.55 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001004/0.6246, allocations: 0.7247 MB / 0.4973 GB, free: 19.04 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006366/0.631, allocations: 4.851 MB / 0.502 GB, free: 16.6 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.631, allocations: 1.375 kB / 0.502 GB, free: 16.6 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.896e-06/0.631, allocations: 0 / 0.502 GB, free: 16.6 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002122/0.6313, allocations: 7.938 kB / 0.502 GB, free: 16.59 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1319 * Number of variables: 1319 Notification: Performance of Generate backend data structure: time 0.01098/0.6422, allocations: 3.699 MB / 0.5056 GB, free: 14.01 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.6423, allocations: 13.84 kB / 0.5056 GB, free: 14.01 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001793/0.6441, allocations: 0.633 MB / 0.5063 GB, free: 13.56 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08284/0.727, allocations: 8.285 MB / 0.5143 GB, free: 6.816 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007461/0.7345, allocations: 2.599 MB / 0.5169 GB, free: 4.156 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001318/0.7346, allocations: 192.9 kB / 0.5171 GB, free: 3.965 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001055/0.7357, allocations: 267.7 kB / 0.5173 GB, free: 3.703 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01558/0.7513, allocations: 8.58 MB / 0.5257 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001709/0.7515, allocations: 39.64 kB / 0.5257 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005906/0.7521, allocations: 131.8 kB / 0.5259 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004422/0.7565, allocations: 1.735 MB / 0.5276 GB, free: 8.59 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02523/0.7818, allocations: 7.225 MB / 0.5346 GB, free: 1.355 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07845/0.8603, allocations: 34.06 MB / 0.5679 GB, free: 14.24 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01741/0.8778, allocations: 3.456 MB / 0.5713 GB, free: 10.65 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02171/0.8995, allocations: 7.295 MB / 0.5784 GB, free: 3.082 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.994e-05/0.8997, allocations: 55.5 kB / 0.5784 GB, free: 3.02 MB / 446.1 MB Notification: Performance of pre-optimization done (n=151): time 8.246e-06/0.8997, allocations: 4 kB / 0.5784 GB, free: 3.016 MB / 446.1 MB Notification: Performance of matching and sorting (n=188): time 0.07972/0.9794, allocations: 19.67 MB / 0.5976 GB, free: 15.13 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001093/0.9796, allocations: 205.2 kB / 0.5978 GB, free: 14.89 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005726/0.9853, allocations: 3.866 MB / 0.6016 GB, free: 11.04 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005019/0.9858, allocations: 57.7 kB / 0.6017 GB, free: 10.97 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002524/0.9884, allocations: 2.822 MB / 0.6044 GB, free: 8.109 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001038/0.9894, allocations: 0.7174 MB / 0.6051 GB, free: 7.383 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002621/0.9897, allocations: 116 kB / 0.6052 GB, free: 7.27 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0003506/0.9901, allocations: 0.55 MB / 0.6058 GB, free: 6.711 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003212/0.9933, allocations: 2.069 MB / 0.6078 GB, free: 4.637 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005617/0.9989, allocations: 5.605 MB / 0.6133 GB, free: 13.25 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004822/1.004, allocations: 3.339 MB / 0.6165 GB, free: 9.914 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-05/1.004, allocations: 39.95 kB / 0.6166 GB, free: 9.875 MB / 494.1 MB Notification: Performance of matching and sorting (n=763) (initialization): time 0.01811/1.022, allocations: 8.675 MB / 0.625 GB, free: 1.195 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001213/1.022, allocations: 56 kB / 0.6251 GB, free: 1.141 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001722/1.022, allocations: 132.1 kB / 0.6252 GB, free: 1.012 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2725/1.295, allocations: 1.444 MB / 0.6266 GB, free: 137.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004739/1.3, allocations: 1.295 MB / 0.6279 GB, free: 137.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01283/1.312, allocations: 8.877 MB / 0.6366 GB, free: 135.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005138/1.318, allocations: 306.5 kB / 0.6368 GB, free: 135.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001119/1.319, allocations: 360.7 kB / 0.6372 GB, free: 135.7 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 570 * Number of states: 0 () * Number of discrete variables: 36 (FixedTranslation2.color[3],FixedTranslation2.color[2],FixedTranslation2.color[1],force.massColor[3],force.massColor[2],force.massColor[1],force.color_b[3],force.color_b[2],force.color_b[1],force.color_a[3],force.color_a[2],force.color_a[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 (695): * Single equations (assignments): 691 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 43} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003978/1.323, allocations: 1.904 MB / 0.6391 GB, free: 134.9 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007641/1.324, allocations: 331 kB / 0.6394 GB, free: 134.9 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007842/1.331, allocations: 3.785 MB / 0.6431 GB, free: 133.6 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.746e-05/1.332, allocations: 24.02 kB / 0.6431 GB, free: 133.6 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.621e-05/1.332, allocations: 6.594 kB / 0.6431 GB, free: 133.6 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.192e-05/1.332, allocations: 12.75 kB / 0.6431 GB, free: 133.6 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01742/1.349, allocations: 8.212 MB / 0.6511 GB, free: 130.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.392e-05/1.349, allocations: 1.469 kB / 0.6511 GB, free: 130.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001464/1.351, allocations: 249.3 kB / 0.6514 GB, free: 130.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004964/1.356, allocations: 1.21 MB / 0.6525 GB, free: 130.5 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000388/1.356, allocations: 33.03 kB / 0.6526 GB, free: 130.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01295/1.369, allocations: 8.185 MB / 0.6606 GB, free: 126.6 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/1.369, allocations: 5.5 kB / 0.6606 GB, free: 126.6 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01277/1.382, allocations: 6.359 MB / 0.6668 GB, free: 124.2 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00207/1.384, allocations: 0.6178 MB / 0.6674 GB, free: 123.9 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006283/1.385, allocations: 28.45 kB / 0.6674 GB, free: 123.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001372/1.386, allocations: 86.06 kB / 0.6675 GB, free: 123.8 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003654/1.386, allocations: 111.1 kB / 0.6676 GB, free: 123.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001445/1.386, allocations: 57.5 kB / 0.6677 GB, free: 123.8 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004455/1.391, allocations: 2.422 MB / 0.67 GB, free: 123 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.91e-07/1.391, allocations: 3.938 kB / 0.67 GB, free: 123 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005871/1.397, allocations: 0.9888 MB / 0.671 GB, free: 122.9 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (revolute.phi,revolute.w) * 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 (130): * Single equations (assignments): 126 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01203/1.409, allocations: 7.252 MB / 0.6781 GB, free: 119.6 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008801/1.418, allocations: 5.174 MB / 0.6831 GB, free: 117.8 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.095e-06/1.418, allocations: 3.938 kB / 0.6831 GB, free: 117.8 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002575/1.42, allocations: 1.733 MB / 0.6848 GB, free: 116.7 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002262/1.423, allocations: 370.6 kB / 0.6852 GB, free: 116.4 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07208/1.495, allocations: 118.7 MB / 0.8011 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003064/1.498, allocations: 3.048 MB / 0.8041 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004345/1.502, allocations: 1.827 MB / 0.8059 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002136/1.504, allocations: 1.655 MB / 0.8075 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of SimCode: time 9.31e-07/1.504, allocations: 0 / 0.8075 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3228/1.827, allocations: 74.81 MB / 0.8806 GB, free: 119.6 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001466/1.827, allocations: 217.3 kB / 0.8808 GB, free: 119.3 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.85/5.677, allocations: 0 / 0.8808 GB, free: 119.3 MB / 0.4981 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_ForceWithTwoMasses_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_ForceWithTwoMasses.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses_res.mat does not exist to compare? outputFormat=mat