Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointSSR.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.JointSSR,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_FourbarVariants_JointSSR",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.01014/0.01014, allocations: 165.5 kB / 15.11 MB, free: 5.984 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.619/1.619, allocations: 170.8 MB / 186.6 MB, free: 1.109 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.002014/0.002014, 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.4363/0.4363, allocations: 38.05 MB / 303.7 MB, free: 42.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006471/0.0006473, allocations: 12 kB / 363 MB, free: 5.516 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1096, allocations: 48.7 MB / 411.7 MB, free: 4.73 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4488/0.5585, allocations: 102.8 MB / 0.5024 GB, free: 1.312 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002488/0.5588, allocations: 75.22 kB / 0.5025 GB, free: 1.273 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9144/1.473, allocations: 154.2 MB / 0.6531 GB, free: 76.41 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.887e-06/1.473, allocations: 0 / 0.6531 GB, free: 76.41 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004137/1.474, allocations: 131.9 kB / 0.6532 GB, free: 76.41 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: 2561 * Number of variables: 2561 Notification: Performance of Generate backend data structure: time 0.02963/1.503, allocations: 6.974 MB / 0.66 GB, free: 72.94 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/1.503, allocations: 11.28 kB / 0.66 GB, free: 72.94 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007309/1.511, allocations: 1.494 MB / 0.6615 GB, free: 72.32 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05148/1.562, allocations: 6.668 MB / 0.668 GB, free: 71.46 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02942/1.592, allocations: 8.405 MB / 0.6762 GB, free: 67.07 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00072/1.592, allocations: 0.5355 MB / 0.6767 GB, free: 66.86 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004274/1.597, allocations: 0.7085 MB / 0.6774 GB, free: 66.66 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06615/1.663, allocations: 18.86 MB / 0.6959 GB, free: 50.53 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005636/1.664, allocations: 79.27 kB / 0.6959 GB, free: 50.45 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003856/1.667, allocations: 339.3 kB / 0.6963 GB, free: 50.16 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003729/1.671, allocations: 1.719 MB / 0.6979 GB, free: 48.45 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0532/1.724, allocations: 16.54 MB / 0.7141 GB, free: 31.89 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4517/2.176, allocations: 74.12 MB / 0.7865 GB, free: 38.64 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02567/2.202, allocations: 6.15 MB / 0.7925 GB, free: 37.4 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03685/2.239, allocations: 13.92 MB / 0.8061 GB, free: 33.07 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.475e-05/2.239, allocations: 62.12 kB / 0.8061 GB, free: 33.03 MB / 442.7 MB Notification: Performance of pre-optimization done (n=284): time 6.983e-06/2.239, allocations: 0 / 0.8061 GB, free: 33.03 MB / 442.7 MB Notification: Performance of matching and sorting (n=344): time 0.1573/2.396, allocations: 24.74 MB / 0.8303 GB, free: 28.32 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001306/2.397, allocations: 193.6 kB / 0.8305 GB, free: 28.13 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01895/2.416, allocations: 5.247 MB / 0.8356 GB, free: 27.1 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001133/2.417, allocations: 77.94 kB / 0.8357 GB, free: 27.04 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006627/2.423, allocations: 5.001 MB / 0.8406 GB, free: 23.21 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002667/2.426, allocations: 1.282 MB / 0.8418 GB, free: 22.28 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002251/2.428, allocations: 185.4 kB / 0.842 GB, free: 22.13 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.001814/2.43, allocations: 0.6983 MB / 0.8427 GB, free: 21.66 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0146/2.445, allocations: 3.263 MB / 0.8459 GB, free: 20.58 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02005/2.465, allocations: 8.701 MB / 0.8543 GB, free: 12.22 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02054/2.486, allocations: 5.244 MB / 0.8595 GB, free: 10.27 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003146/2.486, allocations: 57.31 kB / 0.8595 GB, free: 10.27 MB / 442.7 MB Notification: Performance of matching and sorting (n=1238) (initialization): time 0.0606/2.547, allocations: 12.74 MB / 0.872 GB, free: 5.812 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002358/2.547, allocations: 87.53 kB / 0.8721 GB, free: 5.812 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004767/2.548, allocations: 190.4 kB / 0.8722 GB, free: 5.812 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01126/2.559, allocations: 1.337 MB / 0.8735 GB, free: 5.57 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01963/2.579, allocations: 2.173 MB / 0.8757 GB, free: 5.312 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02872/2.607, allocations: 7.413 MB / 0.8829 GB, free: 17.4 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01725/2.625, allocations: 0.5564 MB / 0.8834 GB, free: 17.23 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00298/2.628, allocations: 0.551 MB / 0.884 GB, free: 17.16 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 876 * Number of states: 0 () * Number of discrete variables: 43 (jointSSR.revolute.positiveBranch,Body2.sphereColor[3],Body2.sphereColor[2],Body2.sphereColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1],FixedFrame1.color_x[3],FixedFrame1.color_x[2],FixedFrame1.color_x[1],jointSSR.rod1Color[3],jointSSR.rod1Color[2],jointSSR.rod1Color[1],jointSSR.rod1.massColor[3],jointSSR.rod1.massColor[2],jointSSR.rod1.massColor[1],jointSSR.sphereColor[3],jointSSR.sphereColor[2],jointSSR.sphereColor[1],jointSSR.revoluteColor[3],jointSSR.revoluteColor[2],jointSSR.revoluteColor[1],b3.color[3],b3.color[2],b3.color[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[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 (1152): * Single equations (assignments): 1145 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 37} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01436/2.642, allocations: 3.451 MB / 0.8874 GB, free: 14.82 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002573/2.645, allocations: 0.5244 MB / 0.8879 GB, free: 14.29 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03306/2.678, allocations: 5.325 MB / 0.8931 GB, free: 9.848 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001305/2.678, allocations: 36 kB / 0.8931 GB, free: 9.812 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.542e-05/2.678, allocations: 8 kB / 0.8931 GB, free: 9.805 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.255e-05/2.678, allocations: 14.62 kB / 0.8931 GB, free: 9.805 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05574/2.734, allocations: 14.12 MB / 0.9069 GB, free: 14.05 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.676e-05/2.734, allocations: 16.25 kB / 0.9069 GB, free: 14.04 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004791/2.739, allocations: 0.5261 MB / 0.9074 GB, free: 13.61 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006948/2.746, allocations: 0.9274 MB / 0.9083 GB, free: 12.95 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007316/2.747, allocations: 68.86 kB / 0.9084 GB, free: 12.88 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01715/2.764, allocations: 5.696 MB / 0.914 GB, free: 7.762 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-05/2.764, allocations: 27.7 kB / 0.914 GB, free: 7.738 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4017/3.166, allocations: 10.98 MB / 0.9247 GB, free: 107.4 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003944/3.17, allocations: 0.9449 MB / 0.9256 GB, free: 107.3 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00209/3.172, allocations: 72.48 kB / 0.9257 GB, free: 107.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005594/3.177, allocations: 188.9 kB / 0.9259 GB, free: 107.3 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001258/3.179, allocations: 219.4 kB / 0.9261 GB, free: 107.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005288/3.179, allocations: 105.5 kB / 0.9262 GB, free: 107.3 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.01244/3.192, allocations: 3.656 MB / 0.9298 GB, free: 107.2 MB / 474.7 MB Notification: Performance of sort global known variables: time 9.22e-07/3.192, allocations: 0 / 0.9298 GB, free: 107.2 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01238/3.204, allocations: 1.659 MB / 0.9314 GB, free: 107.2 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 51 * Number of states: 2 (j2.s,j2.v) * 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 (267): * Single equations (assignments): 260 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 30} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02835/3.232, allocations: 13.25 MB / 0.9443 GB, free: 101.5 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01963/3.252, allocations: 7.773 MB / 0.9519 GB, free: 101.3 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.406e-05/3.252, allocations: 2.5 kB / 0.9519 GB, free: 101.3 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006767/3.259, allocations: 2.396 MB / 0.9543 GB, free: 101.1 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00587/3.265, allocations: 0.6418 MB / 0.9549 GB, free: 101.1 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4845/3.749, allocations: 166.7 MB / 1.118 GB, free: 149.1 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01622/3.766, allocations: 5.318 MB / 1.123 GB, free: 148.3 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01552/3.781, allocations: 3.038 MB / 1.126 GB, free: 148.2 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008793/3.79, allocations: 3.332 MB / 1.129 GB, free: 148.2 MB / 0.5261 GB Notification: Performance of SimCode: time 1.042e-06/3.79, allocations: 0 / 1.129 GB, free: 148.2 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2806/4.071, allocations: 121.4 MB / 1.248 GB, free: 82.08 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003021/4.071, allocations: 205.1 kB / 1.248 GB, free: 81.83 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.771/11.84, allocations: 0 / 1.248 GB, free: 81.83 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.mat does not exist to compare? outputFormat=mat