Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.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.UniversalSpherical,fileNamePrefix="ModelicaTest_3_2_2_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.2+maint.om/package.mo): time 0.009999/0.009999, allocations: 177.5 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 2.139/2.139, 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.002038/0.002037, allocations: 128.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.3376/0.3376, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000533/0.000533, allocations: 10 kB / 406.3 MB, free: 51.8 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1056, allocations: 54.88 MB / 461.1 MB, free: 3.195 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5143/0.62, allocations: 103 MB / 0.5509 GB, free: 25.92 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002684/0.6203, allocations: 75.36 kB / 0.551 GB, free: 25.92 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5255/1.146, allocations: 126.3 MB / 0.6744 GB, free: 2.027 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.605e-06/1.146, allocations: 0 / 0.6744 GB, free: 2.027 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004636/1.146, allocations: 112 kB / 0.6745 GB, free: 1.918 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2239 * Number of variables: 2239 Notification: Performance of Generate backend data structure: time 0.03261/1.179, allocations: 6.782 MB / 0.6811 GB, free: 11.05 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.926e-05/1.179, allocations: 12.02 kB / 0.6811 GB, free: 11.04 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007027/1.186, allocations: 1.312 MB / 0.6824 GB, free: 9.715 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06349/1.25, allocations: 8.31 MB / 0.6905 GB, free: 1.383 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03123/1.281, allocations: 7.404 MB / 0.6977 GB, free: 9.918 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007807/1.282, allocations: 447.8 kB / 0.6982 GB, free: 9.48 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004325/1.286, allocations: 0.5896 MB / 0.6987 GB, free: 8.891 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.394/1.68, allocations: 15.72 MB / 0.7141 GB, free: 78.17 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005913/1.681, allocations: 77.78 kB / 0.7142 GB, free: 78.17 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003649/1.685, allocations: 287.2 kB / 0.7144 GB, free: 78.17 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004361/1.689, allocations: 1.612 MB / 0.716 GB, free: 78.15 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04502/1.734, allocations: 14.01 MB / 0.7297 GB, free: 78.09 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1077/1.842, allocations: 64 MB / 0.7922 GB, free: 41.24 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02289/1.865, allocations: 6.475 MB / 0.7985 GB, free: 38.44 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03599/1.901, allocations: 14.44 MB / 0.8126 GB, free: 31.12 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.643e-05/1.901, allocations: 59.94 kB / 0.8127 GB, free: 31.06 MB / 474.7 MB Notification: Performance of pre-optimization done (n=289): time 7.454e-06/1.901, allocations: 0 / 0.8127 GB, free: 31.06 MB / 474.7 MB Notification: Performance of matching and sorting (n=339): time 0.2696/2.171, allocations: 42.35 MB / 0.854 GB, free: 10.8 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.297e-05/2.171, allocations: 217.9 kB / 0.8542 GB, free: 10.55 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.012/2.183, allocations: 4.816 MB / 0.8589 GB, free: 6.578 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009484/2.184, allocations: 69.7 kB / 0.859 GB, free: 6.504 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004039/2.188, allocations: 4.427 MB / 0.8633 GB, free: 2.555 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002119/2.19, allocations: 1.247 MB / 0.8646 GB, free: 1.453 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001791/2.192, allocations: 176 kB / 0.8647 GB, free: 1.281 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0008418/2.193, allocations: 0.6863 MB / 0.8654 GB, free: 0.6953 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02895/2.222, allocations: 5.599 MB / 0.8709 GB, free: 15.27 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01793/2.24, allocations: 9.498 MB / 0.8801 GB, free: 3.328 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01703/2.257, allocations: 6.44 MB / 0.8864 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001785/2.257, allocations: 48 kB / 0.8865 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1149) (initialization): time 0.4336/2.691, allocations: 18.7 MB / 0.9047 GB, free: 98.66 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000191/2.691, allocations: 82.5 kB / 0.9048 GB, free: 98.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003644/2.691, allocations: 172.5 kB / 0.905 GB, free: 98.66 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04132/2.733, allocations: 5.632 MB / 0.9105 GB, free: 98.64 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01422/2.747, allocations: 2.057 MB / 0.9125 GB, free: 98.64 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05121/2.798, allocations: 24.3 MB / 0.9362 GB, free: 95.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01124/2.81, allocations: 0.5383 MB / 0.9367 GB, free: 95.91 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002452/2.812, allocations: 0.5009 MB / 0.9372 GB, free: 95.91 MB / 0.4948 GB 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.009855/2.822, allocations: 3.097 MB / 0.9402 GB, free: 95.79 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001951/2.824, allocations: 0.4931 MB / 0.9407 GB, free: 95.79 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05562/2.88, allocations: 12.42 MB / 0.9529 GB, free: 94.67 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001357/2.88, allocations: 58.02 kB / 0.9529 GB, free: 94.67 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.59e-05/2.88, allocations: 16.02 kB / 0.9529 GB, free: 94.66 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-05/2.88, allocations: 13.92 kB / 0.9529 GB, free: 94.66 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08679/2.967, allocations: 24.06 MB / 0.9764 GB, free: 85.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-05/2.967, allocations: 3.594 kB / 0.9764 GB, free: 85.27 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005754/2.973, allocations: 0.5693 MB / 0.977 GB, free: 85.25 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03532/3.008, allocations: 4.657 MB / 0.9815 GB, free: 84.56 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009102/3.009, allocations: 54.31 kB / 0.9816 GB, free: 84.53 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04093/3.05, allocations: 19.58 MB / 1.001 GB, free: 75.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.997e-06/3.05, allocations: 3.688 kB / 1.001 GB, free: 75.09 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05941/3.109, allocations: 17.48 MB / 1.018 GB, free: 63.37 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004629/3.114, allocations: 1.23 MB / 1.019 GB, free: 62.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001913/3.116, allocations: 52 kB / 1.019 GB, free: 62.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006232/3.122, allocations: 251.5 kB / 1.019 GB, free: 62.12 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001524/3.124, allocations: 198.2 kB / 1.019 GB, free: 62 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004828/3.124, allocations: 87.84 kB / 1.02 GB, free: 61.92 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.009581/3.134, allocations: 3.355 MB / 1.023 GB, free: 59.18 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.92e-07/3.134, allocations: 4 kB / 1.023 GB, free: 59.18 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01124/3.145, allocations: 1.707 MB / 1.025 GB, free: 57.48 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 (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.06062/3.206, allocations: 19.19 MB / 1.043 GB, free: 39.28 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.02324/3.229, allocations: 10.51 MB / 1.054 GB, free: 29.3 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.225e-05/3.229, allocations: 0 / 1.054 GB, free: 29.3 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.01181/3.241, allocations: 3.993 MB / 1.057 GB, free: 25.36 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008539/3.25, allocations: 0.5818 MB / 1.058 GB, free: 24.8 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4807/3.73, allocations: 149.5 MB / 1.204 GB, free: 39.09 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01418/3.745, allocations: 4.761 MB / 1.209 GB, free: 54.23 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.01471/3.759, allocations: 2.991 MB / 1.212 GB, free: 54.17 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007651/3.767, allocations: 2.918 MB / 1.214 GB, free: 54.16 MB / 0.573 GB Notification: Performance of SimCode: time 1.172e-06/3.767, allocations: 0 / 1.214 GB, free: 54.16 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7011/4.468, allocations: 133.2 MB / 1.344 GB, free: 160.8 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002235/4.469, allocations: 212.5 kB / 1.345 GB, free: 160.5 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.884/12.35, allocations: 0 / 1.345 GB, free: 160.5 MB / 0.573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical_res.mat does not exist to compare? outputFormat=mat