Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSP.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.FourbarVariants.JointUSP,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_FourbarVariants_JointUSP",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.01018/0.01018, allocations: 165.6 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.62/1.62, allocations: 170.8 MB / 186.6 MB, free: 1.129 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.00197/0.00197, allocations: 103.4 kB / 226.2 MB, free: 10.1 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.4463/0.4463, allocations: 38.05 MB / 303.7 MB, free: 42.32 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006287/0.0006287, allocations: 12 kB / 363 MB, free: 5.52 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1069, allocations: 48.71 MB / 411.7 MB, free: 4.723 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4334/0.5403, allocations: 102 MB / 0.5017 GB, free: 2.113 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002618/0.5407, allocations: 79.45 kB / 0.5017 GB, free: 2.07 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.872/1.413, allocations: 142.2 MB / 0.6406 GB, free: 73.12 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.727e-06/1.413, allocations: 0 / 0.6406 GB, free: 73.12 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0006665/1.413, allocations: 133.5 kB / 0.6407 GB, free: 73.11 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: 2162 * Number of variables: 2162 Notification: Performance of Generate backend data structure: time 0.04075/1.454, allocations: 7.291 MB / 0.6479 GB, free: 70.28 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/1.454, allocations: 10.81 kB / 0.6479 GB, free: 70.28 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00692/1.461, allocations: 1.281 MB / 0.6491 GB, free: 70.17 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06723/1.528, allocations: 9.318 MB / 0.6582 GB, free: 69.65 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03229/1.561, allocations: 9.171 MB / 0.6672 GB, free: 66.46 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006474/1.562, allocations: 480.5 kB / 0.6676 GB, free: 66.27 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003645/1.565, allocations: 0.6321 MB / 0.6683 GB, free: 66.08 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07051/1.636, allocations: 15.65 MB / 0.6835 GB, free: 57.86 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005762/1.636, allocations: 78.58 kB / 0.6836 GB, free: 57.81 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003439/1.64, allocations: 301 kB / 0.6839 GB, free: 57.64 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003399/1.643, allocations: 1.385 MB / 0.6853 GB, free: 57.14 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04294/1.686, allocations: 12.89 MB / 0.6978 GB, free: 46.56 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4616/2.148, allocations: 64.36 MB / 0.7607 GB, free: 46.42 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03075/2.179, allocations: 6.263 MB / 0.7668 GB, free: 45.75 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02743/2.206, allocations: 11.18 MB / 0.7777 GB, free: 43 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.446e-05/2.206, allocations: 62.53 kB / 0.7778 GB, free: 42.96 MB / 442.7 MB Notification: Performance of pre-optimization done (n=245): time 6.903e-06/2.206, allocations: 2.438 kB / 0.7778 GB, free: 42.96 MB / 442.7 MB Notification: Performance of matching and sorting (n=337): time 0.2697/2.476, allocations: 37.35 MB / 0.8143 GB, free: 38.32 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001089/2.476, allocations: 242.5 kB / 0.8145 GB, free: 38.07 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01066/2.487, allocations: 4.983 MB / 0.8194 GB, free: 37.07 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009109/2.488, allocations: 75.02 kB / 0.8194 GB, free: 37 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003793/2.492, allocations: 4.462 MB / 0.8238 GB, free: 33.59 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001904/2.494, allocations: 1.239 MB / 0.825 GB, free: 32.67 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001053/2.495, allocations: 166.2 kB / 0.8252 GB, free: 32.54 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0005567/2.495, allocations: 0.6478 MB / 0.8258 GB, free: 32.09 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009179/2.505, allocations: 3.605 MB / 0.8293 GB, free: 30.76 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01251/2.517, allocations: 8.12 MB / 0.8373 GB, free: 23.39 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01221/2.529, allocations: 5.297 MB / 0.8424 GB, free: 21.25 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000158/2.53, allocations: 47.53 kB / 0.8425 GB, free: 21.25 MB / 442.7 MB Notification: Performance of matching and sorting (n=1070) (initialization): time 0.04976/2.579, allocations: 14.72 MB / 0.8568 GB, free: 16.42 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001337/2.58, allocations: 74.5 kB / 0.8569 GB, free: 16.42 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002616/2.58, allocations: 156.8 kB / 0.8571 GB, free: 16.42 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02186/2.602, allocations: 3.589 MB / 0.8606 GB, free: 15.17 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0114/2.613, allocations: 1.789 MB / 0.8623 GB, free: 13.6 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05334/2.667, allocations: 18.74 MB / 0.8806 GB, free: 13.92 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01024/2.677, allocations: 483.9 kB / 0.8811 GB, free: 13.52 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002172/2.679, allocations: 468.9 kB / 0.8815 GB, free: 13.07 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 721 * Number of states: 0 () * Number of discrete variables: 43 (jointUSP.prismatic.positiveBranch,body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.sphereColor[1],ground_rod.color[3],ground_rod.color[2],ground_rod.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 (969): * Single equations (assignments): 965 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 77} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009553/2.689, allocations: 3.127 MB / 0.8846 GB, free: 10.32 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001742/2.69, allocations: 0.5245 MB / 0.8851 GB, free: 9.785 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04229/2.733, allocations: 8.891 MB / 0.8938 GB, free: 2.816 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-05/2.733, allocations: 32 kB / 0.8938 GB, free: 2.785 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.772e-05/2.733, allocations: 20 kB / 0.8938 GB, free: 2.766 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.272e-05/2.733, allocations: 14.48 kB / 0.8938 GB, free: 2.766 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07415/2.807, allocations: 18.68 MB / 0.9121 GB, free: 172 kB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-05/2.807, allocations: 4 kB / 0.9121 GB, free: 168 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004781/2.812, allocations: 492 kB / 0.9126 GB, free: 15.68 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02249/2.835, allocations: 3.118 MB / 0.9156 GB, free: 12.56 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009474/2.836, allocations: 60 kB / 0.9157 GB, free: 12.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3862/3.222, allocations: 16.31 MB / 0.9316 GB, free: 119 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.504e-05/3.222, allocations: 10.62 kB / 0.9316 GB, free: 119 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05674/3.279, allocations: 14.16 MB / 0.9454 GB, free: 117.2 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004226/3.283, allocations: 1.093 MB / 0.9465 GB, free: 117.1 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001616/3.285, allocations: 67.81 kB / 0.9466 GB, free: 117.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005019/3.29, allocations: 200.3 kB / 0.9467 GB, free: 117.1 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00113/3.291, allocations: 221.1 kB / 0.947 GB, free: 117.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003878/3.291, allocations: 89.59 kB / 0.947 GB, free: 117.1 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.008939/3.3, allocations: 3.532 MB / 0.9505 GB, free: 116.9 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.61e-07/3.3, allocations: 3.156 kB / 0.9505 GB, free: 116.9 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01144/3.312, allocations: 1.682 MB / 0.9521 GB, free: 116.9 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 2 (revolute.phi,revolute.w) * 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 (253): * Single equations (assignments): 249 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 64} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.04978/3.361, allocations: 16.07 MB / 0.9678 GB, free: 112.6 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02277/3.384, allocations: 8.906 MB / 0.9765 GB, free: 109.6 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.528e-05/3.384, allocations: 7.5 kB / 0.9765 GB, free: 109.6 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008863/3.393, allocations: 3.486 MB / 0.9799 GB, free: 108 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006848/3.4, allocations: 0.6885 MB / 0.9806 GB, free: 107.7 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5281/3.928, allocations: 137.6 MB / 1.115 GB, free: 135.7 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01273/3.941, allocations: 4.968 MB / 1.12 GB, free: 134.8 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01312/3.954, allocations: 2.603 MB / 1.122 GB, free: 134.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009297/3.964, allocations: 3.049 MB / 1.125 GB, free: 134.8 MB / 0.5105 GB Notification: Performance of SimCode: time 4.147e-06/3.964, allocations: 0 / 1.125 GB, free: 134.8 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2941/4.258, allocations: 130.4 MB / 1.253 GB, free: 65.05 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002192/4.258, allocations: 201 kB / 1.253 GB, free: 64.81 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.76/12.02, allocations: 1.094 kB / 1.253 GB, free: 64.81 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSP_res.mat does not exist to compare? outputFormat=mat