Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit.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.Joints.FreeMotionScalarInit,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit",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.01123/0.01124, allocations: 107.5 kB / 15.06 MB, free: 5.555 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.001282/0.001282, allocations: 181.8 kB / 15.95 MB, free: 5.52 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 2.072/2.072, allocations: 194.6 MB / 211.3 MB, free: 11.21 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.343/0.343, allocations: 40.03 MB / 296.5 MB, free: 6.465 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004883/0.0004883, allocations: 8 kB / 361.1 MB, free: 9.566 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1198, allocations: 54.88 MB / 416 MB, free: 2.586 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit): time 0.04398/0.1638, allocations: 28.09 MB / 444.1 MB, free: 6.406 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.3298/0.4937, allocations: 7.281 MB / 451.4 MB, free: 30.2 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005457/0.4992, allocations: 131.9 kB / 451.5 MB, free: 30.2 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004614/0.5038, allocations: 1.45 MB / 453 MB, free: 30.2 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01549/0.5194, allocations: 4.24 MB / 457.2 MB, free: 30.13 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00268/0.5221, allocations: 428.5 kB / 457.6 MB, free: 30.13 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004951/0.5271, allocations: 2.111 MB / 459.7 MB, free: 30.12 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006393/0.5336, allocations: 3.342 MB / 463.1 MB, free: 29.87 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001884/0.5355, allocations: 0.9335 MB / 464 MB, free: 29.87 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002274/0.5378, allocations: 1.29 MB / 465.3 MB, free: 29.87 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007417/0.5386, allocations: 146 kB / 465.4 MB, free: 29.87 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002446/0.5411, allocations: 0.8516 MB / 466.3 MB, free: 29.87 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002188/0.5433, allocations: 1.521 MB / 467.8 MB, free: 29.87 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001317/0.5446, allocations: 0.8454 MB / 468.7 MB, free: 29.83 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00821/0.5529, allocations: 5.587 MB / 474.3 MB, free: 29.46 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.5529, allocations: 0 / 474.3 MB, free: 29.46 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.266e-06/0.5529, allocations: 2.078 kB / 474.3 MB, free: 29.46 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002654/0.5532, allocations: 1.875 kB / 474.3 MB, free: 29.46 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: 1696 * Number of variables: 1696 Notification: Performance of Generate backend data structure: time 0.01455/0.5678, allocations: 4.12 MB / 478.4 MB, free: 27.61 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/0.5679, allocations: 12.22 kB / 478.4 MB, free: 27.61 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002864/0.5707, allocations: 0.7909 MB / 479.2 MB, free: 27.53 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02354/0.5943, allocations: 3.797 MB / 483 MB, free: 27.22 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007501/0.6019, allocations: 2.326 MB / 485.3 MB, free: 26.64 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000322/0.6022, allocations: 224.5 kB / 485.5 MB, free: 26.63 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00197/0.6042, allocations: 296 kB / 485.8 MB, free: 26.62 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03037/0.6346, allocations: 11.48 MB / 497.3 MB, free: 23.75 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000205/0.6349, allocations: 34.64 kB / 497.3 MB, free: 23.73 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001839/0.6367, allocations: 137.2 kB / 497.5 MB, free: 23.73 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007701/0.6445, allocations: 2.624 MB / 0.4884 GB, free: 23.14 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03184/0.6764, allocations: 10.73 MB / 0.4988 GB, free: 19.64 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08051/0.7569, allocations: 36.43 MB / 0.5344 GB, free: 14.68 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01839/0.7754, allocations: 4.408 MB / 0.5387 GB, free: 10.05 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001965/0.7774, allocations: 1.315 MB / 0.54 GB, free: 8.527 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.894e-05/0.7775, allocations: 48.56 kB / 0.5401 GB, free: 8.473 MB / 410.7 MB Notification: Performance of pre-optimization done (n=244): time 7.083e-06/0.7775, allocations: 0 / 0.5401 GB, free: 8.473 MB / 410.7 MB Notification: Performance of matching and sorting (n=265): time 0.07515/0.8527, allocations: 14.5 MB / 0.5542 GB, free: 9.832 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.473e-05/0.8528, allocations: 73.41 kB / 0.5543 GB, free: 9.75 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007668/0.8605, allocations: 2.911 MB / 0.5571 GB, free: 6.828 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006659/0.8612, allocations: 61.7 kB / 0.5572 GB, free: 6.762 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00325/0.8645, allocations: 2.937 MB / 0.5601 GB, free: 3.836 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001751/0.8663, allocations: 0.966 MB / 0.561 GB, free: 2.879 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006282/0.8669, allocations: 112 kB / 0.5611 GB, free: 2.77 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0005697/0.8675, allocations: 0.5618 MB / 0.5617 GB, free: 2.199 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006326/0.8738, allocations: 2.33 MB / 0.5639 GB, free: 15.86 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01/0.8839, allocations: 5.469 MB / 0.5693 GB, free: 8.867 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009552/0.8935, allocations: 3.578 MB / 0.5728 GB, free: 5.297 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001062/0.8936, allocations: 33.64 kB / 0.5728 GB, free: 5.266 MB / 442.7 MB Notification: Performance of matching and sorting (n=773) (initialization): time 0.02775/0.9214, allocations: 8.537 MB / 0.5811 GB, free: 12.71 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001054/0.9216, allocations: 52 kB / 0.5812 GB, free: 12.66 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001778/0.9218, allocations: 108 kB / 0.5813 GB, free: 12.55 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006882/0.9286, allocations: 1.052 MB / 0.5823 GB, free: 11.49 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008728/0.9374, allocations: 1.33 MB / 0.5836 GB, free: 10.16 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004831/0.9423, allocations: 2.502 MB / 0.5861 GB, free: 7.516 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005711/0.9481, allocations: 319.8 kB / 0.5864 GB, free: 7.203 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001257/0.9494, allocations: 336 kB / 0.5867 GB, free: 6.875 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 499 * Number of states: 0 () * Number of discrete variables: 21 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (720): * Single equations (assignments): 711 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006628/0.956, allocations: 2.261 MB / 0.5889 GB, free: 4.602 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00124/0.9573, allocations: 284.3 kB / 0.5892 GB, free: 4.32 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02805/0.9854, allocations: 5.077 MB / 0.5941 GB, free: 15.18 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001629/0.9856, allocations: 46.72 kB / 0.5942 GB, free: 15.14 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.01e-05/0.9856, allocations: 3.984 kB / 0.5942 GB, free: 15.13 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.186e-05/0.9857, allocations: 7.969 kB / 0.5942 GB, free: 15.12 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05663/1.042, allocations: 11.57 MB / 0.6055 GB, free: 3.441 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.593e-05/1.042, allocations: 8 kB / 0.6055 GB, free: 3.434 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006416/1.049, allocations: 427.4 kB / 0.6059 GB, free: 3.016 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00964/1.059, allocations: 0.9113 MB / 0.6068 GB, free: 2.094 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008609/1.06, allocations: 54.48 kB / 0.6068 GB, free: 2.043 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006428/1.066, allocations: 2.299 MB / 0.6091 GB, free: 15.61 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.348e-05/1.066, allocations: 15.94 kB / 0.6091 GB, free: 15.59 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03268/1.099, allocations: 8.153 MB / 0.6171 GB, free: 7.102 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001374/1.1, allocations: 333.3 kB / 0.6174 GB, free: 6.754 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001205/1.101, allocations: 59.03 kB / 0.6174 GB, free: 6.699 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003706/1.105, allocations: 137.6 kB / 0.6176 GB, free: 6.566 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009048/1.106, allocations: 161.6 kB / 0.6177 GB, free: 6.406 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000448/1.107, allocations: 83.33 kB / 0.6178 GB, free: 6.328 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.006178/1.113, allocations: 1.791 MB / 0.6195 GB, free: 4.531 MB / 490.7 MB Notification: Performance of sort global known variables: time 9.72e-07/1.113, allocations: 0 / 0.6195 GB, free: 4.531 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00997/1.123, allocations: 1.012 MB / 0.6205 GB, free: 3.52 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 12 (freeMotionScalarInit.r_rel_a_1,freeMotionScalarInit.r_rel_a_2,freeMotionScalarInit.r_rel_a_3,freeMotionScalarInit.v_rel_a_1,freeMotionScalarInit.v_rel_a_2,freeMotionScalarInit.v_rel_a_3,freeMotionScalarInit.angle_1,freeMotionScalarInit.angle_2,freeMotionScalarInit.angle_3,freeMotionScalarInit.angle_d_1,freeMotionScalarInit.angle_d_2,freeMotionScalarInit.angle_d_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 (216): * Single equations (assignments): 207 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.3599/1.483, allocations: 10.77 MB / 0.631 GB, free: 152 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01561/1.498, allocations: 6.144 MB / 0.637 GB, free: 151.1 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.141e-05/1.498, allocations: 0 / 0.637 GB, free: 151.1 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007986/1.506, allocations: 2.592 MB / 0.6396 GB, free: 150.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003192/1.51, allocations: 399.8 kB / 0.64 GB, free: 150 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09135/1.601, allocations: 108 MB / 0.7454 GB, free: 55.45 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007492/1.609, allocations: 3.594 MB / 0.7489 GB, free: 54.08 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.008627/1.617, allocations: 2.082 MB / 0.751 GB, free: 53.95 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004665/1.622, allocations: 1.972 MB / 0.7529 GB, free: 52.33 MB / 490.7 MB Notification: Performance of SimCode: time 9.82e-07/1.622, allocations: 0 / 0.7529 GB, free: 52.33 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4814/2.103, allocations: 71.25 MB / 0.8225 GB, free: 142.9 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002426/2.104, allocations: 214.9 kB / 0.8227 GB, free: 142.7 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.747/6.851, allocations: 3.188 kB / 0.8227 GB, free: 142.7 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit_res.mat does not exist to compare? outputFormat=mat