Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3.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.FreeMotionScalarInit3,fileNamePrefix="ModelicaTest_3_2_2_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.2+maint.om/package.mo): time 0.009649/0.009649, allocations: 174.5 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.07/2.07, allocations: 194.5 MB / 210.3 MB, free: 7.613 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.002031/0.002031, allocations: 120.6 kB / 255.6 MB, free: 10.23 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.2579/0.2579, allocations: 40.02 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005114/0.0005114, allocations: 11.53 kB / 406.3 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.115, allocations: 54.87 MB / 461.1 MB, free: 3.227 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5214/0.6364, allocations: 101.7 MB / 0.5496 GB, free: 21.41 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002628/0.6368, allocations: 76.91 kB / 0.5497 GB, free: 21.41 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3835/1.02, allocations: 97.45 MB / 0.6449 GB, free: 14.38 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.795e-06/1.02, allocations: 4 kB / 0.6449 GB, free: 14.38 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002689/1.021, allocations: 95.92 kB / 0.645 GB, free: 14.29 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.02603/1.047, allocations: 4.787 MB / 0.6497 GB, free: 9.426 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.799e-05/1.047, allocations: 16.02 kB / 0.6497 GB, free: 9.41 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005046/1.052, allocations: 0.9433 MB / 0.6506 GB, free: 8.453 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02893/1.081, allocations: 3.616 MB / 0.6541 GB, free: 4.824 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02135/1.102, allocations: 4.915 MB / 0.6589 GB, free: 15.86 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006589/1.103, allocations: 381.8 kB / 0.6593 GB, free: 15.48 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004471/1.107, allocations: 499.8 kB / 0.6598 GB, free: 14.99 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04277/1.15, allocations: 12.19 MB / 0.6717 GB, free: 2.266 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003148/1.151, allocations: 39.66 kB / 0.6717 GB, free: 2.227 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002839/1.153, allocations: 223.8 kB / 0.6719 GB, free: 2.008 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003347/1.157, allocations: 1.314 MB / 0.6732 GB, free: 0.6914 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03699/1.194, allocations: 11.51 MB / 0.6844 GB, free: 5.16 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4575/1.651, allocations: 41.88 MB / 0.7253 GB, free: 92.57 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01895/1.67, allocations: 4.948 MB / 0.7302 GB, free: 91.38 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01694/1.687, allocations: 6.567 MB / 0.7366 GB, free: 89.47 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.89e-05/1.688, allocations: 52.8 kB / 0.7366 GB, free: 89.43 MB / 490.7 MB Notification: Performance of pre-optimization done (n=228): time 7.164e-06/1.688, allocations: 0.9062 kB / 0.7366 GB, free: 89.43 MB / 490.7 MB Notification: Performance of matching and sorting (n=237): time 0.06394/1.752, allocations: 16.77 MB / 0.753 GB, free: 87.09 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.103e-05/1.752, allocations: 74.22 kB / 0.7531 GB, free: 87.03 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006674/1.758, allocations: 2.839 MB / 0.7559 GB, free: 86.72 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005243/1.759, allocations: 53.08 kB / 0.7559 GB, free: 86.69 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002587/1.762, allocations: 3.284 MB / 0.7591 GB, free: 84.96 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00136/1.763, allocations: 0.8886 MB / 0.76 GB, free: 84.44 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008444/1.764, allocations: 117.2 kB / 0.7601 GB, free: 84.44 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004992/1.764, allocations: 0.5647 MB / 0.7606 GB, free: 84.12 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006105/1.77, allocations: 2.381 MB / 0.763 GB, free: 84.11 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008679/1.779, allocations: 5.739 MB / 0.7686 GB, free: 79.8 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008661/1.788, allocations: 3.682 MB / 0.7722 GB, free: 79.75 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001691/1.788, allocations: 34.03 kB / 0.7722 GB, free: 79.75 MB / 490.7 MB Notification: Performance of matching and sorting (n=802) (initialization): time 0.03506/1.823, allocations: 8.92 MB / 0.7809 GB, free: 78.94 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001594/1.823, allocations: 58.69 kB / 0.781 GB, free: 78.94 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002855/1.824, allocations: 118.7 kB / 0.7811 GB, free: 78.93 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008643/1.832, allocations: 1.157 MB / 0.7822 GB, free: 78.81 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0114/1.844, allocations: 1.384 MB / 0.7836 GB, free: 78.64 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01234/1.856, allocations: 4.648 MB / 0.7881 GB, free: 76.07 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009227/1.866, allocations: 325.8 kB / 0.7884 GB, free: 75.98 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001909/1.868, allocations: 347.2 kB / 0.7887 GB, free: 75.93 MB / 490.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.01121/1.879, allocations: 2.419 MB / 0.7911 GB, free: 74.84 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009318/1.88, allocations: 299.2 kB / 0.7914 GB, free: 74.68 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02281/1.903, allocations: 4.435 MB / 0.7957 GB, free: 73.14 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001499/1.903, allocations: 46.56 kB / 0.7958 GB, free: 73.14 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-05/1.903, allocations: 9.578 kB / 0.7958 GB, free: 73.14 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.887e-05/1.903, allocations: 6.656 kB / 0.7958 GB, free: 73.14 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04681/1.95, allocations: 10.45 MB / 0.806 GB, free: 69.51 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-05/1.95, allocations: 3.281 kB / 0.806 GB, free: 69.51 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005837/1.956, allocations: 396.7 kB / 0.8064 GB, free: 69.48 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005534/1.961, allocations: 0.6664 MB / 0.807 GB, free: 69.37 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006284/1.962, allocations: 46.75 kB / 0.8071 GB, free: 69.34 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005927/1.968, allocations: 2.446 MB / 0.8095 GB, free: 67.78 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.068e-05/1.968, allocations: 3.938 kB / 0.8095 GB, free: 67.78 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02504/1.993, allocations: 7.195 MB / 0.8165 GB, free: 62.46 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001429/1.995, allocations: 352.3 kB / 0.8168 GB, free: 62.11 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001709/1.996, allocations: 36 kB / 0.8169 GB, free: 62.07 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004539/2.001, allocations: 145.2 kB / 0.817 GB, free: 61.99 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001038/2.002, allocations: 129.9 kB / 0.8171 GB, free: 61.91 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004069/2.002, allocations: 65.28 kB / 0.8172 GB, free: 61.85 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.007011/2.01, allocations: 1.929 MB / 0.8191 GB, free: 60.27 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.943e-06/2.01, allocations: 0 / 0.8191 GB, free: 60.27 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01088/2.021, allocations: 1.076 MB / 0.8201 GB, free: 59.2 MB / 490.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.02534/2.046, allocations: 8.977 MB / 0.8289 GB, free: 50.96 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02157/2.068, allocations: 5.809 MB / 0.8346 GB, free: 45.89 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.168e-05/2.068, allocations: 4 kB / 0.8346 GB, free: 45.88 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006542/2.074, allocations: 2.414 MB / 0.8369 GB, free: 43.75 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00324/2.077, allocations: 420.4 kB / 0.8373 GB, free: 43.42 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4565/2.534, allocations: 115.6 MB / 0.9502 GB, free: 110.8 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008504/2.543, allocations: 3.827 MB / 0.9539 GB, free: 110 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.008804/2.551, allocations: 2.056 MB / 0.9559 GB, free: 110 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005188/2.557, allocations: 2.114 MB / 0.958 GB, free: 110 MB / 0.5105 GB Notification: Performance of SimCode: time 1.413e-06/2.557, allocations: 0 / 0.958 GB, free: 110 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2108/2.768, allocations: 75.78 MB / 1.032 GB, free: 77.73 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000259/2.768, allocations: 221.3 kB / 1.032 GB, free: 77.49 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.199/7.967, allocations: 3.938 kB / 1.032 GB, free: 77.48 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3_res.mat does not exist to compare? outputFormat=mat