Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Spring,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_Spring",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01556/0.01556, allocations: 110.8 kB / 15.06 MB, free: 5.988 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001747/0.001747, allocations: 176 kB / 15.95 MB, free: 5.918 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.991/1.991, allocations: 194.6 MB / 211.3 MB, free: 11.05 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.2737/0.2737, allocations: 40.04 MB / 296.5 MB, free: 6.305 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004762/0.0004762, allocations: 12 kB / 361.1 MB, free: 9.551 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1225, allocations: 54.88 MB / 416 MB, free: 2.578 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.3774/0.5, allocations: 34.94 MB / 451 MB, free: 30.43 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02557/0.5256, allocations: 8.689 MB / 459.6 MB, free: 30.3 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009451/0.5352, allocations: 172.4 kB / 459.8 MB, free: 30.3 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006619/0.5418, allocations: 1.746 MB / 461.6 MB, free: 30.07 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0193/0.5612, allocations: 5.069 MB / 466.6 MB, free: 29.71 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003586/0.5648, allocations: 0.6533 MB / 467.3 MB, free: 29.7 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005951/0.5708, allocations: 2.46 MB / 469.7 MB, free: 29.59 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008092/0.579, allocations: 4.096 MB / 473.8 MB, free: 29.17 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002762/0.5818, allocations: 1.052 MB / 474.9 MB, free: 29 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003326/0.5852, allocations: 1.495 MB / 476.4 MB, free: 28.79 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001269/0.5865, allocations: 152.6 kB / 476.5 MB, free: 28.79 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00292/0.5894, allocations: 0.6978 MB / 477.2 MB, free: 28.78 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002841/0.5923, allocations: 1.554 MB / 478.8 MB, free: 28.61 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00188/0.5943, allocations: 0.8143 MB / 479.6 MB, free: 28.41 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01027/0.6046, allocations: 5.169 MB / 484.8 MB, free: 28.04 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.6047, allocations: 0 / 484.8 MB, free: 28.04 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.296e-06/0.6047, allocations: 0 / 484.8 MB, free: 28.04 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002924/0.605, allocations: 0 / 484.8 MB, free: 28.04 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1500 * Number of variables: 1500 Notification: Performance of Generate backend data structure: time 0.01414/0.6191, allocations: 3.962 MB / 488.7 MB, free: 26.18 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.223e-05/0.6192, allocations: 9.219 kB / 488.7 MB, free: 26.18 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003024/0.6222, allocations: 0.7214 MB / 489.5 MB, free: 26.1 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0162/0.6385, allocations: 2.29 MB / 491.8 MB, free: 25.3 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009316/0.6479, allocations: 2.748 MB / 494.5 MB, free: 24.29 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003957/0.6483, allocations: 248.6 kB / 494.7 MB, free: 24.28 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00217/0.6505, allocations: 316.6 kB / 495.1 MB, free: 24.27 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03369/0.6842, allocations: 10.03 MB / 0.4932 GB, free: 20.1 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002884/0.6846, allocations: 50.78 kB / 0.4933 GB, free: 20.07 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001808/0.6864, allocations: 151.3 kB / 0.4934 GB, free: 20 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00555/0.692, allocations: 1.875 MB / 0.4953 GB, free: 19.28 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0268/0.7188, allocations: 8.024 MB / 0.5031 GB, free: 15.27 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0658/0.7847, allocations: 38.92 MB / 0.5411 GB, free: 7.414 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01343/0.7982, allocations: 3.086 MB / 0.5441 GB, free: 4.172 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01296/0.8112, allocations: 5.196 MB / 0.5492 GB, free: 14.77 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.362e-05/0.8113, allocations: 51.16 kB / 0.5492 GB, free: 14.71 MB / 426.7 MB Notification: Performance of pre-optimization done (n=134): time 5.81e-06/0.8113, allocations: 0 / 0.5492 GB, free: 14.71 MB / 426.7 MB Notification: Performance of matching and sorting (n=146): time 0.03824/0.8496, allocations: 9.266 MB / 0.5583 GB, free: 5.281 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/0.8498, allocations: 153.4 kB / 0.5584 GB, free: 5.102 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01052/0.8603, allocations: 4.251 MB / 0.5626 GB, free: 0.8281 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003343/0.8607, allocations: 49.7 kB / 0.5626 GB, free: 0.7734 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003918/0.8646, allocations: 3.156 MB / 0.5657 GB, free: 13.63 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001192/0.8659, allocations: 0.5919 MB / 0.5663 GB, free: 13.05 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007141/0.8666, allocations: 121.6 kB / 0.5664 GB, free: 12.93 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0005247/0.8672, allocations: 0.5502 MB / 0.567 GB, free: 12.37 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00544/0.8726, allocations: 1.577 MB / 0.5685 GB, free: 10.79 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009861/0.8825, allocations: 5.387 MB / 0.5738 GB, free: 3.477 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008003/0.8906, allocations: 2.858 MB / 0.5765 GB, free: 0.6172 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001152/0.8908, allocations: 36 kB / 0.5766 GB, free: 0.582 MB / 442.7 MB Notification: Performance of matching and sorting (n=774) (initialization): time 0.01976/0.9106, allocations: 6.708 MB / 0.5831 GB, free: 9.867 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001209/0.9107, allocations: 64 kB / 0.5832 GB, free: 9.805 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002147/0.911, allocations: 136 kB / 0.5833 GB, free: 9.672 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002701/0.9113, allocations: 196 kB / 0.5835 GB, free: 9.48 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008661/0.9199, allocations: 1.396 MB / 0.5849 GB, free: 8.082 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003144/0.9203, allocations: 271.2 kB / 0.5851 GB, free: 7.816 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00607/0.9264, allocations: 295.9 kB / 0.5854 GB, free: 7.531 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001119/0.9275, allocations: 374.5 kB / 0.5858 GB, free: 7.168 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 622 * Number of states: 0 () * Number of discrete variables: 36 (prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[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.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 (750): * Single equations (assignments): 747 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005521/0.9331, allocations: 2.001 MB / 0.5877 GB, free: 5.152 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009085/0.934, allocations: 344.7 kB / 0.5881 GB, free: 4.812 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003601/0.9376, allocations: 1.249 MB / 0.5893 GB, free: 3.551 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.286e-05/0.9377, allocations: 19.94 kB / 0.5893 GB, free: 3.531 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-05/0.9377, allocations: 4 kB / 0.5893 GB, free: 3.527 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.971e-05/0.9377, allocations: 7.938 kB / 0.5893 GB, free: 3.52 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01523/0.953, allocations: 5.539 MB / 0.5947 GB, free: 13.73 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.881e-05/0.9531, allocations: 12 kB / 0.5947 GB, free: 13.72 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001926/0.955, allocations: 259.6 kB / 0.595 GB, free: 13.47 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.36e-05/0.9551, allocations: 20 kB / 0.595 GB, free: 13.45 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001316/0.9552, allocations: 47.98 kB / 0.595 GB, free: 13.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-05/0.9552, allocations: 27.92 kB / 0.5951 GB, free: 13.38 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.493e-05/0.9553, allocations: 29.88 kB / 0.5951 GB, free: 13.35 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00712/0.9624, allocations: 4.838 MB / 0.5998 GB, free: 7.801 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001861/0.9643, allocations: 0.5316 MB / 0.6003 GB, free: 7.246 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006404/0.965, allocations: 47.17 kB / 0.6004 GB, free: 7.203 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001965/0.967, allocations: 58.23 kB / 0.6004 GB, free: 7.148 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002931/0.9673, allocations: 135.5 kB / 0.6006 GB, free: 7.016 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001472/0.9674, allocations: 56 kB / 0.6006 GB, free: 6.961 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.006855/0.9743, allocations: 2.672 MB / 0.6032 GB, free: 4.277 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.51e-07/0.9744, allocations: 0 / 0.6032 GB, free: 4.277 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006885/0.9813, allocations: 0.8984 MB / 0.6041 GB, free: 3.379 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 68 * Number of states: 4 (prismatic.s,prismatic.v,prismatic1.s,prismatic1.v) * 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 (133): * Single equations (assignments): 130 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009119/0.9904, allocations: 9.144 MB / 0.613 GB, free: 9.762 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009769/1, allocations: 3.636 MB / 0.6166 GB, free: 6.152 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.009e-05/1, allocations: 4 kB / 0.6166 GB, free: 6.148 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001867/1.002, allocations: 0.7006 MB / 0.6173 GB, free: 5.453 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003931/1.006, allocations: 422.5 kB / 0.6177 GB, free: 5.039 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.36/1.366, allocations: 113.2 MB / 0.7282 GB, free: 48.65 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007013/1.373, allocations: 3.218 MB / 0.7314 GB, free: 47.86 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.008348/1.382, allocations: 1.8 MB / 0.7331 GB, free: 47.7 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003989/1.386, allocations: 1.836 MB / 0.7349 GB, free: 47.68 MB / 490.7 MB Notification: Performance of SimCode: time 1.032e-06/1.386, allocations: 0 / 0.7349 GB, free: 47.68 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1573/1.543, allocations: 66.58 MB / 0.7999 GB, free: 6.914 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002853/1.543, allocations: 171.4 kB / 0.8001 GB, free: 6.672 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.122/6.665, allocations: 4 kB / 0.8001 GB, free: 6.668 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring_res.mat does not exist to compare? outputFormat=mat