Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.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.SphericalAndUniversal,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal",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.02051/0.02051, allocations: 173.4 kB / 15.12 MB, free: 5.93 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.12/2.12, allocations: 194.5 MB / 210.3 MB, free: 7.801 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.001996/0.001996, allocations: 116.7 kB / 255.6 MB, free: 10.42 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.2532/0.2532, allocations: 40.01 MB / 340.8 MB, free: 11.43 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007214/0.0007214, allocations: 13.5 kB / 406.3 MB, free: 51.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1201, allocations: 54.87 MB / 461.1 MB, free: 3.223 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5668/0.6869, allocations: 101.2 MB / 0.5491 GB, free: 21.78 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002271/0.6872, allocations: 77.27 kB / 0.5492 GB, free: 21.78 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.411/1.098, allocations: 103.3 MB / 0.65 GB, free: 9.348 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.655e-06/1.098, allocations: 0 / 0.65 GB, free: 9.348 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004912/1.099, allocations: 108 kB / 0.6501 GB, free: 9.242 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: 1726 * Number of variables: 1726 Notification: Performance of Generate backend data structure: time 0.03689/1.136, allocations: 5.678 MB / 0.6557 GB, free: 3.484 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.386e-05/1.136, allocations: 8.031 kB / 0.6557 GB, free: 3.477 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007022/1.143, allocations: 1.02 MB / 0.6567 GB, free: 2.445 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0521/1.195, allocations: 6.885 MB / 0.6634 GB, free: 11.54 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02943/1.225, allocations: 7.519 MB / 0.6707 GB, free: 3.938 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006248/1.225, allocations: 377.8 kB / 0.6711 GB, free: 3.566 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003066/1.228, allocations: 499.7 kB / 0.6716 GB, free: 3.078 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04283/1.271, allocations: 12.34 MB / 0.6836 GB, free: 5.605 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000368/1.272, allocations: 75.31 kB / 0.6837 GB, free: 5.531 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001955/1.274, allocations: 239.9 kB / 0.6839 GB, free: 5.297 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002889/1.277, allocations: 1.137 MB / 0.685 GB, free: 4.16 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03643/1.313, allocations: 10.27 MB / 0.6951 GB, free: 9.867 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.506/1.819, allocations: 55.61 MB / 0.7494 GB, free: 70.29 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02656/1.846, allocations: 5.721 MB / 0.755 GB, free: 69.61 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02109/1.867, allocations: 8.799 MB / 0.7636 GB, free: 68.06 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.28e-05/1.867, allocations: 52.28 kB / 0.7636 GB, free: 68.02 MB / 490.7 MB Notification: Performance of pre-optimization done (n=206): time 5.841e-06/1.867, allocations: 0 / 0.7636 GB, free: 68.02 MB / 490.7 MB Notification: Performance of matching and sorting (n=265): time 0.2187/2.086, allocations: 35.99 MB / 0.7988 GB, free: 64.37 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.6e-05/2.086, allocations: 212.5 kB / 0.799 GB, free: 64.14 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01009/2.096, allocations: 4.2 MB / 0.8031 GB, free: 63.77 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000729/2.097, allocations: 65.52 kB / 0.8031 GB, free: 63.74 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003427/2.1, allocations: 3.589 MB / 0.8066 GB, free: 62.02 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001598/2.102, allocations: 0.9804 MB / 0.8076 GB, free: 61.3 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001086/2.103, allocations: 139 kB / 0.8077 GB, free: 61.19 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0005062/2.103, allocations: 0.5882 MB / 0.8083 GB, free: 60.77 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007696/2.111, allocations: 3.002 MB / 0.8112 GB, free: 59.69 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01053/2.122, allocations: 6.789 MB / 0.8179 GB, free: 53.55 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01058/2.132, allocations: 4.43 MB / 0.8222 GB, free: 51.86 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001486/2.133, allocations: 41.12 kB / 0.8222 GB, free: 51.86 MB / 490.7 MB Notification: Performance of matching and sorting (n=876) (initialization): time 0.04363/2.176, allocations: 13.04 MB / 0.835 GB, free: 46.27 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001121/2.176, allocations: 64.03 kB / 0.835 GB, free: 46.21 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00023/2.177, allocations: 135.3 kB / 0.8352 GB, free: 46.08 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02095/2.198, allocations: 4.088 MB / 0.8391 GB, free: 43.17 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008576/2.206, allocations: 1.418 MB / 0.8405 GB, free: 41.93 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.058/2.264, allocations: 26.88 MB / 0.8668 GB, free: 18.35 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009038/2.273, allocations: 398.8 kB / 0.8672 GB, free: 18.02 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002/2.275, allocations: 399.5 kB / 0.8675 GB, free: 17.64 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 607 * Number of states: 0 () * Number of discrete variables: 39 (Universal1.cylinderColor[3],Universal1.cylinderColor[2],Universal1.cylinderColor[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[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],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 (760): * Single equations (assignments): 754 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,50.0%) 50,(2,100.0%) 12} * Non-linear torn systems: 1 {2 21} Notification: Performance of prepare postOptimizeDAE: time 0.008323/2.284, allocations: 2.467 MB / 0.8699 GB, free: 15.46 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001428/2.285, allocations: 450.2 kB / 0.8704 GB, free: 15.02 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03029/2.316, allocations: 8.106 MB / 0.8783 GB, free: 8.723 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.78e-05/2.316, allocations: 35.69 kB / 0.8783 GB, free: 8.691 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.31e-05/2.316, allocations: 19.14 kB / 0.8783 GB, free: 8.68 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.924e-05/2.316, allocations: 19.14 kB / 0.8784 GB, free: 8.676 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06033/2.376, allocations: 16.69 MB / 0.8947 GB, free: 9.055 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.608e-05/2.376, allocations: 8 kB / 0.8947 GB, free: 9.047 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003728/2.38, allocations: 296.2 kB / 0.895 GB, free: 8.758 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02642/2.406, allocations: 3.778 MB / 0.8986 GB, free: 4.965 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007484/2.407, allocations: 51.98 kB / 0.8987 GB, free: 4.914 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4138/2.821, allocations: 25.63 MB / 0.9237 GB, free: 110.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.217e-05/2.821, allocations: 11.47 kB / 0.9237 GB, free: 110.1 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05213/2.873, allocations: 12.63 MB / 0.9361 GB, free: 108.5 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004738/2.878, allocations: 0.9397 MB / 0.937 GB, free: 108.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002086/2.88, allocations: 48.77 kB / 0.937 GB, free: 108.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006326/2.887, allocations: 164.3 kB / 0.9372 GB, free: 108.4 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001703/2.888, allocations: 200.1 kB / 0.9374 GB, free: 108.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005261/2.889, allocations: 78.5 kB / 0.9375 GB, free: 108.4 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.009644/2.899, allocations: 2.987 MB / 0.9404 GB, free: 108.2 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.31e-07/2.899, allocations: 0 / 0.9404 GB, free: 108.2 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01417/2.913, allocations: 1.424 MB / 0.9418 GB, free: 108.2 MB / 0.4948 GB 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 (161): * Single equations (assignments): 155 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,50.0%) 43,(2,100.0%) 9} * Non-linear torn systems: 1 {2 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.038/2.951, allocations: 14.42 MB / 0.9558 GB, free: 102 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0213/2.972, allocations: 8.13 MB / 0.9638 GB, free: 99.18 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.958e-06/2.972, allocations: 0 / 0.9638 GB, free: 99.18 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00985/2.982, allocations: 3.469 MB / 0.9672 GB, free: 97.59 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005124/2.987, allocations: 0.5539 MB / 0.9677 GB, free: 97.36 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1965/3.184, allocations: 140.7 MB / 1.105 GB, free: 1.902 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3636/3.548, allocations: 4.493 MB / 1.109 GB, free: 146.8 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01044/3.558, allocations: 2.026 MB / 1.111 GB, free: 146.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006939/3.565, allocations: 2.386 MB / 1.114 GB, free: 146.8 MB / 0.5261 GB Notification: Performance of SimCode: time 1.593e-06/3.565, allocations: 0 / 1.114 GB, free: 146.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2638/3.829, allocations: 117.5 MB / 1.228 GB, free: 88.02 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002431/3.829, allocations: 227.5 kB / 1.229 GB, free: 87.77 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.693/10.52, allocations: 3 kB / 1.229 GB, free: 87.77 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat does not exist to compare? outputFormat=mat