Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.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.UniversalSpherical,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_FourbarVariants_UniversalSpherical",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.009609/0.009614, 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.638/1.638, 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.002115/0.002115, allocations: 112.4 kB / 226.2 MB, free: 10.09 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.4586/0.4586, allocations: 38.05 MB / 303.7 MB, free: 42.46 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004928/0.0004929, allocations: 8 kB / 363 MB, free: 5.48 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1053, allocations: 48.71 MB / 411.7 MB, free: 4.695 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4281/0.5334, allocations: 96.17 MB / 0.496 GB, free: 7.809 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002614/0.5338, allocations: 78.7 kB / 0.496 GB, free: 7.766 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8211/1.355, allocations: 126.3 MB / 0.6194 GB, free: 73.22 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.975e-06/1.355, allocations: 0 / 0.6194 GB, free: 73.22 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004628/1.355, allocations: 117.2 kB / 0.6195 GB, free: 73.22 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: 2238 * Number of variables: 2238 Notification: Performance of Generate backend data structure: time 0.03224/1.388, allocations: 6.778 MB / 0.6261 GB, free: 70.62 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.132e-05/1.388, allocations: 9.375 kB / 0.6261 GB, free: 70.62 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007048/1.395, allocations: 1.318 MB / 0.6274 GB, free: 70.5 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06264/1.457, allocations: 8.315 MB / 0.6355 GB, free: 70.06 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02993/1.487, allocations: 7.392 MB / 0.6427 GB, free: 69.23 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007361/1.488, allocations: 452.6 kB / 0.6432 GB, free: 69.22 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004316/1.493, allocations: 0.5881 MB / 0.6437 GB, free: 69.21 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04884/1.542, allocations: 15.72 MB / 0.6591 GB, free: 63.96 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004869/1.542, allocations: 70.66 kB / 0.6592 GB, free: 63.92 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003658/1.546, allocations: 284.5 kB / 0.6594 GB, free: 63.77 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003578/1.549, allocations: 1.618 MB / 0.661 GB, free: 63.47 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04133/1.591, allocations: 14 MB / 0.6747 GB, free: 59.08 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1014/1.692, allocations: 64.01 MB / 0.7372 GB, free: 3.32 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02377/1.716, allocations: 6.45 MB / 0.7435 GB, free: 12.63 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3394/2.055, allocations: 14.44 MB / 0.7576 GB, free: 82.26 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.431e-05/2.056, allocations: 64.56 kB / 0.7577 GB, free: 82.22 MB / 442.7 MB Notification: Performance of pre-optimization done (n=289): time 7.333e-06/2.056, allocations: 0 / 0.7577 GB, free: 82.22 MB / 442.7 MB Notification: Performance of matching and sorting (n=339): time 0.3073/2.363, allocations: 42.35 MB / 0.799 GB, free: 78.39 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001071/2.363, allocations: 214.7 kB / 0.7992 GB, free: 78.16 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01354/2.377, allocations: 4.825 MB / 0.8039 GB, free: 77.75 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009647/2.378, allocations: 73.55 kB / 0.804 GB, free: 77.72 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004153/2.382, allocations: 4.423 MB / 0.8083 GB, free: 75.41 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002246/2.384, allocations: 1.256 MB / 0.8096 GB, free: 74.67 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001727/2.386, allocations: 172.9 kB / 0.8097 GB, free: 74.67 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0009431/2.387, allocations: 0.6771 MB / 0.8104 GB, free: 74.35 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01089/2.398, allocations: 4.563 MB / 0.8148 GB, free: 73.45 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0145/2.412, allocations: 9.497 MB / 0.8241 GB, free: 65.2 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01438/2.427, allocations: 6.444 MB / 0.8304 GB, free: 62.79 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001772/2.427, allocations: 48.62 kB / 0.8305 GB, free: 62.79 MB / 442.7 MB Notification: Performance of matching and sorting (n=1149) (initialization): time 0.09368/2.521, allocations: 18.69 MB / 0.8487 GB, free: 56.87 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002149/2.521, allocations: 86.2 kB / 0.8488 GB, free: 56.86 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003964/2.521, allocations: 179.2 kB / 0.849 GB, free: 56.86 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.05481/2.576, allocations: 5.633 MB / 0.8545 GB, free: 56 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0135/2.59, allocations: 2.062 MB / 0.8565 GB, free: 55.76 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04919/2.639, allocations: 24.31 MB / 0.8802 GB, free: 36.39 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01139/2.651, allocations: 0.5353 MB / 0.8807 GB, free: 35.95 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002115/2.653, allocations: 0.5047 MB / 0.8812 GB, free: 35.46 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 790 * Number of states: 0 () * Number of discrete variables: 42 (fixedFrame4.color_x[3],fixedFrame4.color_x[2],fixedFrame4.color_x[1],b3.color[3],b3.color[2],b3.color[1],universalSpherical.cylinderColor[3],universalSpherical.cylinderColor[2],universalSpherical.cylinderColor[1],universalSpherical.sphereColor[3],universalSpherical.sphereColor[2],universalSpherical.sphereColor[1],universalSpherical.rodColor[3],universalSpherical.rodColor[2],universalSpherical.rodColor[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.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 (1058): * Single equations (assignments): 1050 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 42} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009029/2.662, allocations: 3.098 MB / 0.8843 GB, free: 32.65 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001716/2.663, allocations: 0.4974 MB / 0.8847 GB, free: 32.15 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05462/2.718, allocations: 12.43 MB / 0.8969 GB, free: 19.65 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001259/2.718, allocations: 54.34 kB / 0.8969 GB, free: 19.6 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.249e-05/2.718, allocations: 8 kB / 0.8969 GB, free: 19.59 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.036e-05/2.718, allocations: 19.94 kB / 0.897 GB, free: 19.57 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4046/3.123, allocations: 24.03 MB / 0.9204 GB, free: 87.05 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.199e-05/3.123, allocations: 5.188 kB / 0.9204 GB, free: 87.05 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0058/3.129, allocations: 0.5778 MB / 0.921 GB, free: 87.04 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03491/3.164, allocations: 4.644 MB / 0.9255 GB, free: 87.03 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009362/3.165, allocations: 61.34 kB / 0.9256 GB, free: 87.03 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04209/3.207, allocations: 19.57 MB / 0.9447 GB, free: 84.36 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.458e-05/3.207, allocations: 12.58 kB / 0.9447 GB, free: 84.36 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06086/3.268, allocations: 17.49 MB / 0.9618 GB, free: 80.65 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004714/3.273, allocations: 1.224 MB / 0.963 GB, free: 80.27 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001961/3.275, allocations: 55.77 kB / 0.963 GB, free: 80.23 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006703/3.281, allocations: 252.9 kB / 0.9633 GB, free: 80.19 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001613/3.283, allocations: 195.1 kB / 0.9635 GB, free: 80.16 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004968/3.284, allocations: 87.48 kB / 0.9635 GB, free: 80.14 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.00883/3.292, allocations: 3.363 MB / 0.9668 GB, free: 79.05 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.513e-06/3.293, allocations: 0 / 0.9668 GB, free: 79.05 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01166/3.304, allocations: 1.708 MB / 0.9685 GB, free: 78.87 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 2 (j1.phi,j1.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 (254): * Single equations (assignments): 246 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 38} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.06041/3.365, allocations: 19.19 MB / 0.9872 GB, free: 70.63 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02365/3.388, allocations: 10.51 MB / 0.9975 GB, free: 67.13 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.171e-05/3.388, allocations: 3 kB / 0.9975 GB, free: 67.13 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009237/3.398, allocations: 3.99 MB / 1.001 GB, free: 65.45 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005332/3.403, allocations: 0.5825 MB / 1.002 GB, free: 65.19 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4299/3.833, allocations: 149.5 MB / 1.148 GB, free: 65.32 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01921/3.852, allocations: 4.754 MB / 1.153 GB, free: 64.47 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.02112/3.873, allocations: 2.993 MB / 1.156 GB, free: 64.42 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01216/3.886, allocations: 2.913 MB / 1.158 GB, free: 64.42 MB / 490.7 MB Notification: Performance of SimCode: time 2.805e-06/3.886, allocations: 3.844 kB / 1.158 GB, free: 64.42 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6717/4.557, allocations: 133.2 MB / 1.288 GB, free: 108.6 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002778/4.558, allocations: 217.9 kB / 1.289 GB, free: 108.3 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.317/11.88, allocations: 0.6562 kB / 1.289 GB, free: 108.3 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical_res.mat does not exist to compare? outputFormat=mat