Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSR.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.Joints.JointSSR,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_JointSSR",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.009852/0.009852, allocations: 175.9 kB / 15.12 MB, free: 5.977 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.026/2.026, allocations: 194.5 MB / 210.3 MB, free: 8.582 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.002043/0.002043, allocations: 120.7 kB / 255.6 MB, free: 11.2 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.2735/0.2735, allocations: 40.01 MB / 340.8 MB, free: 11.52 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004927/0.0004927, allocations: 14.84 kB / 406.3 MB, free: 51.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09679/0.09734, allocations: 54.87 MB / 461.1 MB, free: 3.309 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5389/0.6363, allocations: 100.1 MB / 0.5481 GB, free: 21.71 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003074/0.6366, allocations: 79.95 kB / 0.5481 GB, free: 21.71 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2443/0.8809, allocations: 56.26 MB / 0.6031 GB, free: 4.297 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.375e-06/0.881, allocations: 0 / 0.6031 GB, free: 4.297 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001627/0.8812, allocations: 56.66 kB / 0.6031 GB, free: 4.293 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 905 * Number of variables: 905 Notification: Performance of Generate backend data structure: time 0.01137/0.8926, allocations: 2.696 MB / 0.6058 GB, free: 2.598 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.818e-05/0.8927, allocations: 8.031 kB / 0.6058 GB, free: 2.59 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0024/0.8951, allocations: 485.3 kB / 0.6062 GB, free: 2.305 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004664/0.8998, allocations: 483.5 kB / 0.6067 GB, free: 1.832 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005544/0.9054, allocations: 1.541 MB / 0.6082 GB, free: 0.625 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002481/0.9057, allocations: 211.5 kB / 0.6084 GB, free: 0.5078 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001606/0.9073, allocations: 277.3 kB / 0.6087 GB, free: 336 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0276/0.9349, allocations: 6.699 MB / 0.6152 GB, free: 11.11 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001626/0.9352, allocations: 15.88 kB / 0.6152 GB, free: 11.09 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001097/0.9363, allocations: 131.6 kB / 0.6153 GB, free: 11.05 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001725/0.938, allocations: 0.5246 MB / 0.6159 GB, free: 10.61 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02441/0.9625, allocations: 5.53 MB / 0.6213 GB, free: 5.867 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04946/1.012, allocations: 21.29 MB / 0.642 GB, free: 88 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01344/1.026, allocations: 1.81 MB / 0.6438 GB, free: 14.26 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01144/1.037, allocations: 4.901 MB / 0.6486 GB, free: 8.984 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.856e-05/1.037, allocations: 43.12 kB / 0.6486 GB, free: 8.934 MB / 426.7 MB Notification: Performance of pre-optimization done (n=70): time 4.248e-06/1.037, allocations: 0 / 0.6486 GB, free: 8.934 MB / 426.7 MB Notification: Performance of matching and sorting (n=110): time 0.09227/1.129, allocations: 10.09 MB / 0.6585 GB, free: 14.83 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.788e-05/1.13, allocations: 97.98 kB / 0.6586 GB, free: 14.72 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004378/1.134, allocations: 1.717 MB / 0.6603 GB, free: 13 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003047/1.134, allocations: 41.7 kB / 0.6603 GB, free: 12.96 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001963/1.136, allocations: 1.67 MB / 0.6619 GB, free: 11.29 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007706/1.137, allocations: 413.7 kB / 0.6623 GB, free: 10.88 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003999/1.138, allocations: 52 kB / 0.6624 GB, free: 10.83 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003398/1.138, allocations: 428 kB / 0.6628 GB, free: 10.41 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003197/1.141, allocations: 1.021 MB / 0.6638 GB, free: 9.383 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005038/1.146, allocations: 2.623 MB / 0.6663 GB, free: 5.957 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004621/1.151, allocations: 1.564 MB / 0.6679 GB, free: 4.395 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.013e-05/1.151, allocations: 19.78 kB / 0.6679 GB, free: 4.379 MB / 442.7 MB Notification: Performance of matching and sorting (n=371) (initialization): time 0.0117/1.163, allocations: 3.649 MB / 0.6715 GB, free: 0.7227 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.466e-05/1.163, allocations: 35.94 kB / 0.6715 GB, free: 0.6875 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001088/1.163, allocations: 56 kB / 0.6715 GB, free: 0.6328 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001331/1.163, allocations: 84 kB / 0.6716 GB, free: 0.5508 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005805/1.169, allocations: 0.7213 MB / 0.6723 GB, free: 15.83 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002113/1.169, allocations: 115.6 kB / 0.6724 GB, free: 15.71 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004835/1.174, allocations: 159.9 kB / 0.6726 GB, free: 15.56 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008754/1.175, allocations: 164 kB / 0.6727 GB, free: 15.4 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 257 * Number of states: 0 () * Number of discrete variables: 31 (jointSSR.revolute.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[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],Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (371): * Single equations (assignments): 371 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004485/1.179, allocations: 1.195 MB / 0.6739 GB, free: 14.19 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007246/1.18, allocations: 173.8 kB / 0.6741 GB, free: 14.02 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007991/1.188, allocations: 1.727 MB / 0.6758 GB, free: 12.28 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.21e-05/1.188, allocations: 12 kB / 0.6758 GB, free: 12.27 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.25e-05/1.188, allocations: 0 / 0.6758 GB, free: 12.27 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.801e-05/1.188, allocations: 3.984 kB / 0.6758 GB, free: 12.27 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02249/1.211, allocations: 5.911 MB / 0.6816 GB, free: 6.113 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.305e-05/1.211, allocations: 8.188 kB / 0.6816 GB, free: 6.105 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002734/1.214, allocations: 255.5 kB / 0.6818 GB, free: 5.855 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.564e-05/1.214, allocations: 20 kB / 0.6818 GB, free: 5.836 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001948/1.214, allocations: 36 kB / 0.6819 GB, free: 5.801 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.561e-05/1.214, allocations: 27.86 kB / 0.6819 GB, free: 5.773 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-05/1.214, allocations: 15.94 kB / 0.6819 GB, free: 5.758 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006237/1.22, allocations: 2.625 MB / 0.6845 GB, free: 2.535 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001017/1.221, allocations: 282.6 kB / 0.6847 GB, free: 2.238 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005908/1.222, allocations: 28 kB / 0.6848 GB, free: 2.211 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002128/1.224, allocations: 63.94 kB / 0.6848 GB, free: 2.148 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003685/1.225, allocations: 100.2 kB / 0.6849 GB, free: 2.051 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001629/1.225, allocations: 44 kB / 0.685 GB, free: 2.008 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004868/1.23, allocations: 1.26 MB / 0.6862 GB, free: 0.7578 MB / 458.7 MB Notification: Performance of sort global known variables: time 7.71e-07/1.23, allocations: 0 / 0.6862 GB, free: 0.7578 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006043/1.236, allocations: 0.5389 MB / 0.6867 GB, free: 224 kB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 53 * Number of states: 0 () * 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 (110): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00973/1.246, allocations: 6.526 MB / 0.6931 GB, free: 9.309 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007218/1.253, allocations: 2.259 MB / 0.6953 GB, free: 7.062 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.534e-05/1.253, allocations: 0 / 0.6953 GB, free: 7.062 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001856/1.255, allocations: 0.607 MB / 0.6959 GB, free: 6.453 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002078/1.257, allocations: 226.8 kB / 0.6961 GB, free: 6.227 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3729/1.63, allocations: 48.22 MB / 0.7432 GB, free: 115.5 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005341/1.635, allocations: 2.228 MB / 0.7454 GB, free: 114.8 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.004818/1.64, allocations: 0.7784 MB / 0.7461 GB, free: 114.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00313/1.643, allocations: 1.042 MB / 0.7471 GB, free: 114.7 MB / 490.7 MB Notification: Performance of SimCode: time 1.523e-06/1.643, allocations: 0 / 0.7471 GB, free: 114.7 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1179/1.761, allocations: 39.49 MB / 0.7857 GB, free: 111.9 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002717/1.762, allocations: 166.4 kB / 0.7859 GB, free: 111.6 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.778/5.54, allocations: 0 / 0.7859 GB, free: 111.6 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSR_res.mat does not exist to compare? outputFormat=mat