Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01622/0.01622, allocations: 174.8 kB / 15.12 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.026/2.026, allocations: 194.5 MB / 210.3 MB, free: 8.781 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003552/0.003552, allocations: 112.6 kB / 255.6 MB, free: 11.4 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2642/0.2642, allocations: 40.01 MB / 340.8 MB, free: 11.55 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006331/0.0006332, allocations: 11.59 kB / 406.3 MB, free: 52.03 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1012, allocations: 54.87 MB / 461.1 MB, free: 3.312 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5106/0.6119, allocations: 98.16 MB / 0.5462 GB, free: 21.7 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000293/0.6122, allocations: 75.69 kB / 0.5463 GB, free: 21.7 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4014/1.014, allocations: 94.62 MB / 0.6387 GB, free: 4.992 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.62e-06/1.014, allocations: 3.938 kB / 0.6387 GB, free: 4.988 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003192/1.014, allocations: 91.94 kB / 0.6388 GB, free: 4.898 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1784 * Number of variables: 1784 Notification: Performance of Generate backend data structure: time 0.02774/1.042, allocations: 4.649 MB / 0.6433 GB, free: 184 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.275e-05/1.042, allocations: 8.031 kB / 0.6433 GB, free: 176 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005559/1.047, allocations: 0.9021 MB / 0.6442 GB, free: 15.26 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03913/1.087, allocations: 3.589 MB / 0.6477 GB, free: 11.66 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02643/1.113, allocations: 4.832 MB / 0.6524 GB, free: 6.773 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007729/1.114, allocations: 357.3 kB / 0.6527 GB, free: 6.422 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004027/1.118, allocations: 475.8 kB / 0.6532 GB, free: 5.957 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0543/1.172, allocations: 11.48 MB / 0.6644 GB, free: 9.996 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004348/1.173, allocations: 23.81 kB / 0.6644 GB, free: 9.973 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003507/1.176, allocations: 207.9 kB / 0.6646 GB, free: 9.77 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004656/1.181, allocations: 1.244 MB / 0.6658 GB, free: 8.523 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03709/1.218, allocations: 10.96 MB / 0.6765 GB, free: 13.55 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09302/1.311, allocations: 38.45 MB / 0.7141 GB, free: 6.207 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01406/1.325, allocations: 4.394 MB / 0.7184 GB, free: 1.586 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001986/1.327, allocations: 1.319 MB / 0.7197 GB, free: 48 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.326/1.653, allocations: 49.55 kB / 0.7197 GB, free: 116.7 MB / 490.7 MB Notification: Performance of pre-optimization done (n=244): time 3.895e-05/1.654, allocations: 0 / 0.7197 GB, free: 116.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=265): time 0.1091/1.763, allocations: 14.3 MB / 0.7337 GB, free: 115.2 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001164/1.763, allocations: 82.12 kB / 0.7338 GB, free: 115.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00949/1.773, allocations: 2.635 MB / 0.7363 GB, free: 114.9 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007495/1.773, allocations: 59.95 kB / 0.7364 GB, free: 114.8 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003892/1.777, allocations: 3.097 MB / 0.7394 GB, free: 113.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002053/1.779, allocations: 0.9751 MB / 0.7404 GB, free: 112.7 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001053/1.78, allocations: 119.5 kB / 0.7405 GB, free: 112.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0007453/1.781, allocations: 0.5664 MB / 0.741 GB, free: 112.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008677/1.79, allocations: 2.362 MB / 0.7433 GB, free: 112.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01139/1.801, allocations: 5.63 MB / 0.7488 GB, free: 108.2 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01189/1.813, allocations: 3.655 MB / 0.7524 GB, free: 108.2 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001578/1.814, allocations: 35 kB / 0.7524 GB, free: 108.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=793) (initialization): time 0.04401/1.858, allocations: 8.72 MB / 0.761 GB, free: 107.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.726e-05/1.858, allocations: 52.34 kB / 0.761 GB, free: 107.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001844/1.858, allocations: 124.7 kB / 0.7611 GB, free: 107.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006708/1.865, allocations: 1.054 MB / 0.7622 GB, free: 107.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008672/1.873, allocations: 1.374 MB / 0.7635 GB, free: 107.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004139/1.878, allocations: 2.497 MB / 0.7659 GB, free: 106.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006254/1.884, allocations: 317.2 kB / 0.7662 GB, free: 106.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001509/1.885, allocations: 352.2 kB / 0.7666 GB, free: 106.1 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 521 * Number of states: 0 () * Number of discrete variables: 24 (freeMotionScalarInit2.arrowColor[3],freeMotionScalarInit2.arrowColor[2],freeMotionScalarInit2.arrowColor[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],freeMotionScalarInit1.arrowColor[3],freeMotionScalarInit1.arrowColor[2],freeMotionScalarInit1.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 (740): * Single equations (assignments): 731 * 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.00701/1.893, allocations: 2.356 MB / 0.7689 GB, free: 105.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009648/1.894, allocations: 298.2 kB / 0.7692 GB, free: 105.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02289/1.916, allocations: 5.086 MB / 0.7741 GB, free: 104.1 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000109/1.917, allocations: 49.77 kB / 0.7742 GB, free: 104.1 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.539e-05/1.917, allocations: 0 / 0.7742 GB, free: 104.1 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.638e-05/1.917, allocations: 10.22 kB / 0.7742 GB, free: 104.1 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03502/1.952, allocations: 11.81 MB / 0.7857 GB, free: 100 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.676e-05/1.952, allocations: 7 kB / 0.7857 GB, free: 100 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003658/1.955, allocations: 424.7 kB / 0.7861 GB, free: 100 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006143/1.962, allocations: 0.9084 MB / 0.787 GB, free: 99.89 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005425/1.962, allocations: 63 kB / 0.7871 GB, free: 99.86 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003454/1.966, allocations: 2.301 MB / 0.7893 GB, free: 98.35 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-05/1.966, allocations: 11.81 kB / 0.7893 GB, free: 98.34 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02499/1.991, allocations: 8.194 MB / 0.7973 GB, free: 94.54 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001527/1.992, allocations: 351.5 kB / 0.7977 GB, free: 94.27 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001501/1.994, allocations: 50.14 kB / 0.7977 GB, free: 94.25 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002761/1.997, allocations: 144.1 kB / 0.7979 GB, free: 94.22 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005713/1.997, allocations: 160.5 kB / 0.798 GB, free: 94.18 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002851/1.998, allocations: 77.52 kB / 0.7981 GB, free: 94.17 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003803/2.001, allocations: 1.803 MB / 0.7999 GB, free: 92.93 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.713e-06/2.001, allocations: 0 / 0.7999 GB, free: 92.93 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006424/2.008, allocations: 1.045 MB / 0.8009 GB, free: 91.9 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 12 (freeMotionScalarInit1.r_rel_a_1,freeMotionScalarInit1.r_rel_a_2,freeMotionScalarInit1.r_rel_a_3,freeMotionScalarInit1.v_rel_a_1,freeMotionScalarInit1.v_rel_a_2,freeMotionScalarInit1.v_rel_a_3,freeMotionScalarInit2.angle_1,freeMotionScalarInit2.angle_2,freeMotionScalarInit2.angle_3,freeMotionScalarInit2.angle_d_1,freeMotionScalarInit2.angle_d_2,freeMotionScalarInit2.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.01989/2.028, allocations: 10.76 MB / 0.8114 GB, free: 81.93 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01515/2.043, allocations: 6.221 MB / 0.8175 GB, free: 76.51 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.176e-05/2.043, allocations: 0 / 0.8175 GB, free: 76.51 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007206/2.05, allocations: 2.598 MB / 0.82 GB, free: 74.24 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003826/2.054, allocations: 450 kB / 0.8204 GB, free: 73.89 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4546/2.509, allocations: 112.5 MB / 0.9303 GB, free: 115 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007162/2.516, allocations: 3.752 MB / 0.934 GB, free: 114.2 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.00856/2.525, allocations: 2.141 MB / 0.936 GB, free: 114.2 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005172/2.53, allocations: 2.075 MB / 0.9381 GB, free: 114.2 MB / 0.4948 GB Notification: Performance of SimCode: time 1.823e-06/2.53, allocations: 0 / 0.9381 GB, free: 114.2 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1883/2.718, allocations: 74.27 MB / 1.011 GB, free: 81.24 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002631/2.719, allocations: 205.7 kB / 1.011 GB, free: 81 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.174/7.893, allocations: 0 / 1.011 GB, free: 81 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5_res.mat does not exist to compare? outputFormat=mat