Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSP.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.FourbarVariants.JointUSP,fileNamePrefix="ModelicaTest_3_2_2_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.2+maint.om/package.mo): time 0.01/0.01, allocations: 175.7 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 1.919/1.919, allocations: 194.5 MB / 210.3 MB, free: 7.617 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.002071/0.002071, allocations: 124.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.2448/0.2448, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006365/0.0006367, allocations: 14.22 kB / 406.3 MB, free: 51.78 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1009, allocations: 54.86 MB / 461.1 MB, free: 3.191 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5074/0.6084, allocations: 108.8 MB / 0.5566 GB, free: 21.71 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002732/0.6088, allocations: 81.59 kB / 0.5567 GB, free: 21.71 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5791/1.188, allocations: 142.2 MB / 0.6956 GB, free: 10.36 MB / 474.7 MB Notification: Performance of FrontEnd: time 4.889e-06/1.188, allocations: 0 / 0.6956 GB, free: 10.36 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0005342/1.189, allocations: 135.9 kB / 0.6957 GB, free: 10.23 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2163 * Number of variables: 2163 Notification: Performance of Generate backend data structure: time 0.03269/1.221, allocations: 7.294 MB / 0.7029 GB, free: 2.852 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.779e-05/1.221, allocations: 8.031 kB / 0.7029 GB, free: 2.844 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006649/1.228, allocations: 1.276 MB / 0.7041 GB, free: 1.555 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0704/1.298, allocations: 9.324 MB / 0.7132 GB, free: 8.207 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3806/1.679, allocations: 9.164 MB / 0.7222 GB, free: 86.46 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007823/1.68, allocations: 477.5 kB / 0.7226 GB, free: 86.44 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003613/1.684, allocations: 0.6363 MB / 0.7232 GB, free: 86.44 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05218/1.736, allocations: 15.65 MB / 0.7385 GB, free: 83.24 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004073/1.736, allocations: 82 kB / 0.7386 GB, free: 83.24 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00166/1.738, allocations: 299.1 kB / 0.7389 GB, free: 83.24 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002807/1.741, allocations: 1.387 MB / 0.7402 GB, free: 83.22 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04126/1.782, allocations: 12.9 MB / 0.7528 GB, free: 83.17 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1011/1.883, allocations: 64.37 MB / 0.8157 GB, free: 44.19 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02996/1.913, allocations: 6.267 MB / 0.8218 GB, free: 42.23 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02486/1.938, allocations: 11.17 MB / 0.8327 GB, free: 36.29 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.728e-05/1.938, allocations: 64.94 kB / 0.8328 GB, free: 36.23 MB / 490.7 MB Notification: Performance of pre-optimization done (n=245): time 6.883e-06/1.938, allocations: 0 / 0.8328 GB, free: 36.23 MB / 490.7 MB Notification: Performance of matching and sorting (n=337): time 0.2502/2.189, allocations: 37.35 MB / 0.8693 GB, free: 19.07 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/2.189, allocations: 243.1 kB / 0.8695 GB, free: 18.78 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01207/2.201, allocations: 4.976 MB / 0.8744 GB, free: 14.7 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001035/2.202, allocations: 77.7 kB / 0.8744 GB, free: 14.62 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00491/2.207, allocations: 4.473 MB / 0.8788 GB, free: 10.63 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002249/2.209, allocations: 1.229 MB / 0.88 GB, free: 9.543 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001401/2.211, allocations: 175.6 kB / 0.8802 GB, free: 9.379 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000718/2.211, allocations: 0.6446 MB / 0.8808 GB, free: 8.824 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009449/2.221, allocations: 3.6 MB / 0.8843 GB, free: 5.734 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01405/2.235, allocations: 8.12 MB / 0.8922 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01464/2.25, allocations: 5.304 MB / 0.8974 GB, free: 7.199 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001565/2.25, allocations: 44 kB / 0.8975 GB, free: 7.156 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1070) (initialization): time 0.43/2.68, allocations: 15.34 MB / 0.9124 GB, free: 87.84 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001552/2.68, allocations: 73.42 kB / 0.9125 GB, free: 87.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003502/2.68, allocations: 160.7 kB / 0.9127 GB, free: 87.84 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02315/2.704, allocations: 3.583 MB / 0.9162 GB, free: 87.82 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01193/2.716, allocations: 1.789 MB / 0.9179 GB, free: 87.82 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04813/2.764, allocations: 18.65 MB / 0.9361 GB, free: 86.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01025/2.774, allocations: 476.7 kB / 0.9366 GB, free: 86.43 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002427/2.777, allocations: 475.1 kB / 0.937 GB, free: 86.43 MB / 0.4948 GB 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.009404/2.786, allocations: 3.106 MB / 0.9401 GB, free: 86.31 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001676/2.788, allocations: 0.522 MB / 0.9406 GB, free: 86.31 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.037/2.825, allocations: 8.892 MB / 0.9493 GB, free: 86.06 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.125e-05/2.825, allocations: 41.53 kB / 0.9493 GB, free: 86.06 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.814e-05/2.825, allocations: 13.88 kB / 0.9493 GB, free: 86.06 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.246e-05/2.825, allocations: 17.8 kB / 0.9493 GB, free: 86.06 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06563/2.891, allocations: 18.68 MB / 0.9676 GB, free: 82.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.057e-05/2.891, allocations: 5.281 kB / 0.9676 GB, free: 82.54 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004517/2.895, allocations: 491.8 kB / 0.968 GB, free: 82.52 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02201/2.917, allocations: 3.122 MB / 0.9711 GB, free: 81.93 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001046/2.918, allocations: 54.56 kB / 0.9711 GB, free: 81.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04319/2.962, allocations: 16.32 MB / 0.9871 GB, free: 74.74 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.106e-05/2.962, allocations: 10.12 kB / 0.9871 GB, free: 74.74 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04396/3.006, allocations: 14.15 MB / 1.001 GB, free: 68.57 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004646/3.01, allocations: 1.091 MB / 1.002 GB, free: 67.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00249/3.013, allocations: 61.66 kB / 1.002 GB, free: 67.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006044/3.019, allocations: 203.4 kB / 1.002 GB, free: 67.91 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001546/3.021, allocations: 221.8 kB / 1.002 GB, free: 67.88 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005595/3.021, allocations: 88.7 kB / 1.003 GB, free: 67.86 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.01069/3.032, allocations: 3.525 MB / 1.006 GB, free: 66.69 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6.82e-07/3.032, allocations: 0 / 1.006 GB, free: 66.69 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01148/3.043, allocations: 1.68 MB / 1.008 GB, free: 66.51 MB / 0.4948 GB 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.04509/3.089, allocations: 16.08 MB / 1.023 GB, free: 58.38 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.02106/3.11, allocations: 8.911 MB / 1.032 GB, free: 51.01 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.458e-05/3.11, allocations: 0 / 1.032 GB, free: 51.01 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.008576/3.118, allocations: 3.487 MB / 1.035 GB, free: 47.95 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00608/3.125, allocations: 0.6946 MB / 1.036 GB, free: 47.38 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4756/3.6, allocations: 137.6 MB / 1.171 GB, free: 44.8 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01403/3.614, allocations: 4.957 MB / 1.175 GB, free: 43.94 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01313/3.627, allocations: 2.597 MB / 1.178 GB, free: 43.89 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007854/3.635, allocations: 3.052 MB / 1.181 GB, free: 43.88 MB / 0.5261 GB Notification: Performance of SimCode: time 1.072e-06/3.635, allocations: 0 / 1.181 GB, free: 43.88 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6814/4.317, allocations: 130.4 MB / 1.308 GB, free: 98.86 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002885/4.317, allocations: 200.8 kB / 1.308 GB, free: 98.62 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.024/12.34, allocations: 0 / 1.308 GB, free: 98.62 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSP_res.mat does not exist to compare? outputFormat=mat