Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0143/0.0143, allocations: 166 kB / 15.11 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.934/1.934, allocations: 170.8 MB / 186.6 MB, free: 1.137 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001971/0.001971, allocations: 103.4 kB / 226.2 MB, free: 10.12 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4791/0.4791, allocations: 38.05 MB / 303.7 MB, free: 42.46 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004816/0.0004815, allocations: 8 kB / 363 MB, free: 5.504 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.108, allocations: 48.71 MB / 411.7 MB, free: 4.715 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4429/0.5509, allocations: 94.97 MB / 0.4948 GB, free: 9.059 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002837/0.5513, allocations: 73.91 kB / 0.4949 GB, free: 9.023 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7072/1.259, allocations: 97.43 MB / 0.59 GB, free: 78.17 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.206e-06/1.259, allocations: 3.938 kB / 0.59 GB, free: 78.17 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002998/1.259, allocations: 90.7 kB / 0.5901 GB, free: 78.17 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1869 * Number of variables: 1869 Notification: Performance of Generate backend data structure: time 0.02629/1.285, allocations: 4.793 MB / 0.5948 GB, free: 76.43 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/1.285, allocations: 8.25 kB / 0.5948 GB, free: 76.43 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004912/1.29, allocations: 0.9426 MB / 0.5957 GB, free: 76.35 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02773/1.318, allocations: 3.625 MB / 0.5992 GB, free: 76.02 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01995/1.338, allocations: 4.904 MB / 0.604 GB, free: 75.48 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006024/1.339, allocations: 377.9 kB / 0.6044 GB, free: 75.46 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003483/1.342, allocations: 498 kB / 0.6049 GB, free: 75.46 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03861/1.381, allocations: 12.21 MB / 0.6168 GB, free: 73.93 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003884/1.381, allocations: 28.14 kB / 0.6168 GB, free: 73.93 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003181/1.384, allocations: 223.1 kB / 0.617 GB, free: 73.93 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003566/1.388, allocations: 1.318 MB / 0.6183 GB, free: 73.92 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03741/1.426, allocations: 11.51 MB / 0.6296 GB, free: 73.87 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08737/1.513, allocations: 41.9 MB / 0.6705 GB, free: 49.95 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01637/1.529, allocations: 4.95 MB / 0.6753 GB, free: 47.66 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01661/1.546, allocations: 6.559 MB / 0.6817 GB, free: 43.98 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.025e-05/1.546, allocations: 55.69 kB / 0.6818 GB, free: 43.93 MB / 426.7 MB Notification: Performance of pre-optimization done (n=228): time 6.212e-06/1.546, allocations: 0.75 kB / 0.6818 GB, free: 43.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=237): time 0.06588/1.612, allocations: 16.75 MB / 0.6981 GB, free: 37.27 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.598e-05/1.612, allocations: 75.78 kB / 0.6982 GB, free: 37.18 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006877/1.619, allocations: 2.845 MB / 0.701 GB, free: 34.77 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006194/1.62, allocations: 57.7 kB / 0.701 GB, free: 34.71 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00268/1.622, allocations: 3.28 MB / 0.7042 GB, free: 31.79 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001513/1.624, allocations: 0.8892 MB / 0.7051 GB, free: 31 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009275/1.625, allocations: 116 kB / 0.7052 GB, free: 30.89 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0005729/1.626, allocations: 0.5626 MB / 0.7058 GB, free: 30.39 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006091/1.632, allocations: 2.382 MB / 0.7081 GB, free: 28.36 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009099/1.641, allocations: 5.734 MB / 0.7137 GB, free: 21.42 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008662/1.65, allocations: 3.684 MB / 0.7173 GB, free: 18.12 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001525/1.65, allocations: 39.94 kB / 0.7173 GB, free: 18.08 MB / 426.7 MB Notification: Performance of matching and sorting (n=802) (initialization): time 0.02938/1.679, allocations: 8.91 MB / 0.726 GB, free: 10.38 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001501/1.679, allocations: 56 kB / 0.7261 GB, free: 10.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002735/1.68, allocations: 122.9 kB / 0.7262 GB, free: 10.21 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008817/1.689, allocations: 1.154 MB / 0.7273 GB, free: 9.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01141/1.7, allocations: 1.382 MB / 0.7287 GB, free: 8.203 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01198/1.712, allocations: 4.651 MB / 0.7332 GB, free: 4.031 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009161/1.721, allocations: 328.1 kB / 0.7335 GB, free: 3.762 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001293/1.723, allocations: 358.3 kB / 0.7339 GB, free: 3.418 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 538 * Number of states: 0 () * Number of discrete variables: 27 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],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 (742): * Single equations (assignments): 734 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 3} * Non-linear torn systems: 1 {3 5} Notification: Performance of prepare postOptimizeDAE: time 0.008229/1.731, allocations: 2.41 MB / 0.7362 GB, free: 1.324 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009893/1.732, allocations: 304 kB / 0.7365 GB, free: 1.023 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02943/1.761, allocations: 4.753 MB / 0.7412 GB, free: 14 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001695/1.762, allocations: 38.03 kB / 0.7412 GB, free: 13.96 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.416e-05/1.762, allocations: 4 kB / 0.7412 GB, free: 13.96 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.806e-05/1.762, allocations: 15.89 kB / 0.7412 GB, free: 13.95 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05152/1.813, allocations: 10.45 MB / 0.7514 GB, free: 3.402 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.673e-05/1.813, allocations: 11.89 kB / 0.7514 GB, free: 3.395 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003882/1.817, allocations: 391.5 kB / 0.7518 GB, free: 3.012 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003852/1.821, allocations: 0.6695 MB / 0.7525 GB, free: 2.332 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006588/1.822, allocations: 49.31 kB / 0.7525 GB, free: 2.285 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.366/2.188, allocations: 2.433 MB / 0.7549 GB, free: 82.73 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.079e-05/2.188, allocations: 7.781 kB / 0.7549 GB, free: 82.73 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01937/2.207, allocations: 7.194 MB / 0.7619 GB, free: 81.8 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00107/2.208, allocations: 351.6 kB / 0.7622 GB, free: 81.7 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00119/2.21, allocations: 40.83 kB / 0.7623 GB, free: 81.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003117/2.213, allocations: 143.3 kB / 0.7624 GB, free: 81.7 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007503/2.214, allocations: 125.8 kB / 0.7625 GB, free: 81.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002708/2.214, allocations: 67.59 kB / 0.7626 GB, free: 81.7 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.005102/2.219, allocations: 1.925 MB / 0.7645 GB, free: 81.55 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.924e-06/2.219, allocations: 4.969 kB / 0.7645 GB, free: 81.55 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007228/2.226, allocations: 1.074 MB / 0.7655 GB, free: 81.55 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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,body.w_a[1],body.w_a[2],body.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 (191): * Single equations (assignments): 182 * 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.01772/2.244, allocations: 8.973 MB / 0.7743 GB, free: 79.04 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01528/2.259, allocations: 5.812 MB / 0.78 GB, free: 78.89 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.391e-05/2.259, allocations: 0 / 0.78 GB, free: 78.89 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008176/2.268, allocations: 2.416 MB / 0.7823 GB, free: 78.56 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00388/2.272, allocations: 416 kB / 0.7827 GB, free: 78.55 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.109/2.381, allocations: 115.6 MB / 0.8956 GB, free: 28.92 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009914/2.391, allocations: 3.831 MB / 0.8993 GB, free: 27.52 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.00859/2.399, allocations: 2.055 MB / 0.9014 GB, free: 27.38 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005548/2.405, allocations: 2.108 MB / 0.9034 GB, free: 25.64 MB / 490.7 MB Notification: Performance of SimCode: time 2.535e-06/2.405, allocations: 0 / 0.9034 GB, free: 25.64 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5227/2.928, allocations: 75.77 MB / 0.9774 GB, free: 120.5 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002412/2.928, allocations: 219.2 kB / 0.9776 GB, free: 120.3 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.349/8.277, allocations: 0 / 0.9776 GB, free: 120.3 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3_res.mat does not exist to compare? outputFormat=mat