Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001653/0.001653, allocations: 179.3 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.63/1.63, allocations: 205.4 MB / 222.5 MB, free: 9.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000784/0.000784, allocations: 81.19 kB / 270.9 MB, free: 8.359 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4555/0.4555, allocations: 43.57 MB / 362.7 MB, free: 52.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004287/0.0004288, allocations: 12 kB / 431.4 MB, free: 6.16 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.159, allocations: 58.85 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical): time 0.3587/0.5178, allocations: 48.46 MB / 0.5261 GB, free: 16.16 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.031/0.5488, allocations: 10.64 MB / 0.5365 GB, free: 8.945 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01662/0.5655, allocations: 230.1 kB / 0.5367 GB, free: 8.91 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01135/0.5769, allocations: 2.515 MB / 0.5391 GB, free: 8.023 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02923/0.6062, allocations: 7.59 MB / 0.5465 GB, free: 4.867 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004988/0.6112, allocations: 0.8602 MB / 0.5474 GB, free: 4.555 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.05312/0.6643, allocations: 36.62 MB / 0.5831 GB, free: 11.56 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0115/0.6759, allocations: 5.129 MB / 0.5882 GB, free: 6.391 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005932/0.6819, allocations: 1.895 MB / 0.59 GB, free: 4.488 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006553/0.6885, allocations: 3.143 MB / 0.5931 GB, free: 1.336 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002495/0.691, allocations: 236 kB / 0.5933 GB, free: 1.105 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004575/0.6957, allocations: 1.108 MB / 0.5944 GB, free: 15.99 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004694/0.7004, allocations: 2.591 MB / 0.5969 GB, free: 13.4 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003192/0.7036, allocations: 1.193 MB / 0.5981 GB, free: 12.2 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01387/0.7176, allocations: 7.969 MB / 0.6059 GB, free: 4.207 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.718e-06/0.7176, allocations: 0 / 0.6059 GB, free: 4.207 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.086e-06/0.7177, allocations: 0 / 0.6059 GB, free: 4.207 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005645/0.7182, allocations: 0 / 0.6059 GB, free: 4.207 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: 2242 * Number of variables: 2242 Notification: Performance of Generate backend data structure: time 0.0192/0.7374, allocations: 6.183 MB / 0.6119 GB, free: 13.94 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.002e-05/0.7375, allocations: 8.562 kB / 0.6119 GB, free: 13.93 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01777/0.7553, allocations: 4.024 MB / 0.6158 GB, free: 9.895 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01241/0.7677, allocations: 4.155 MB / 0.6199 GB, free: 5.684 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004929/0.7683, allocations: 316 kB / 0.6202 GB, free: 5.371 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002698/0.771, allocations: 439.5 kB / 0.6206 GB, free: 4.941 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0378/0.8089, allocations: 15.72 MB / 0.636 GB, free: 4.289 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004011/0.8093, allocations: 59.47 kB / 0.636 GB, free: 4.23 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002493/0.8118, allocations: 199.8 kB / 0.6362 GB, free: 4.035 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006481/0.8183, allocations: 3.22 MB / 0.6394 GB, free: 0.8125 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03427/0.8527, allocations: 14.13 MB / 0.6532 GB, free: 2.66 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3798/1.232, allocations: 57.76 MB / 0.7096 GB, free: 97.84 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01296/1.246, allocations: 6.593 MB / 0.716 GB, free: 94.98 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006136/1.252, allocations: 3.747 MB / 0.7197 GB, free: 93.48 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02349/1.275, allocations: 14.8 MB / 0.7341 GB, free: 85.91 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.995e-05/1.275, allocations: 62.03 kB / 0.7342 GB, free: 85.85 MB / 490.7 MB Notification: Performance of pre-optimization done (n=292): time 6.833e-06/1.275, allocations: 3.375 kB / 0.7342 GB, free: 85.85 MB / 490.7 MB Notification: Performance of matching and sorting (n=342): time 0.1405/1.416, allocations: 42.78 MB / 0.776 GB, free: 66.12 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.117e-05/1.416, allocations: 210 kB / 0.7762 GB, free: 65.87 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007151/1.423, allocations: 5.459 MB / 0.7815 GB, free: 60.43 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001018/1.424, allocations: 69.7 kB / 0.7816 GB, free: 60.35 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002406/1.427, allocations: 4.353 MB / 0.7858 GB, free: 56 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00168/1.428, allocations: 1.269 MB / 0.787 GB, free: 54.75 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005144/1.429, allocations: 176 kB / 0.7872 GB, free: 54.57 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003776/1.429, allocations: 0.6982 MB / 0.7879 GB, free: 53.87 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005788/1.435, allocations: 4.8 MB / 0.7926 GB, free: 49.06 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007991/1.443, allocations: 9.792 MB / 0.8021 GB, free: 36.82 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00904/1.452, allocations: 6.692 MB / 0.8087 GB, free: 30.11 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.573e-05/1.452, allocations: 48 kB / 0.8087 GB, free: 30.07 MB / 490.7 MB Notification: Performance of matching and sorting (n=1190) (initialization): time 0.03923/1.491, allocations: 19.56 MB / 0.8278 GB, free: 10.46 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000108/1.492, allocations: 80 kB / 0.8279 GB, free: 10.39 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001762/1.492, allocations: 176 kB / 0.8281 GB, free: 10.21 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01981/1.512, allocations: 5.999 MB / 0.8339 GB, free: 4.207 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007644/1.519, allocations: 2.121 MB / 0.836 GB, free: 2.082 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0347/1.554, allocations: 24.79 MB / 0.8602 GB, free: 9.023 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00954/1.564, allocations: 0.5617 MB / 0.8607 GB, free: 8.461 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002191/1.566, allocations: 0.5078 MB / 0.8612 GB, free: 7.953 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 789 * Number of states: 0 () * Number of discrete variables: 45 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (1099): * Single equations (assignments): 1091 * 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.008253/1.574, allocations: 3.107 MB / 0.8643 GB, free: 4.836 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001531/1.576, allocations: 0.4935 MB / 0.8648 GB, free: 4.336 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3151/1.891, allocations: 13.01 MB / 0.8775 GB, free: 152.8 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.771e-05/1.891, allocations: 55.64 kB / 0.8775 GB, free: 152.8 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.598e-05/1.891, allocations: 7.781 kB / 0.8775 GB, free: 152.8 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001032/1.891, allocations: 15.64 kB / 0.8775 GB, free: 152.8 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.051/1.942, allocations: 24.74 MB / 0.9017 GB, free: 144.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.018e-05/1.942, allocations: 6.406 kB / 0.9017 GB, free: 144.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0036/1.946, allocations: 0.5847 MB / 0.9023 GB, free: 144.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0186/1.964, allocations: 4.996 MB / 0.9072 GB, free: 143.5 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009622/1.965, allocations: 56.69 kB / 0.9072 GB, free: 143.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02932/1.995, allocations: 19.97 MB / 0.9267 GB, free: 133.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.159e-05/1.995, allocations: 10.81 kB / 0.9267 GB, free: 133.4 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03327/2.028, allocations: 17.57 MB / 0.9439 GB, free: 123.4 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003951/2.032, allocations: 1.271 MB / 0.9451 GB, free: 122.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001334/2.033, allocations: 52 kB / 0.9452 GB, free: 122.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003145/2.037, allocations: 268.3 kB / 0.9454 GB, free: 122 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007899/2.037, allocations: 189.6 kB / 0.9456 GB, free: 121.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002777/2.038, allocations: 93.11 kB / 0.9457 GB, free: 121.8 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005883/2.044, allocations: 3.379 MB / 0.949 GB, free: 118.4 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.11e-07/2.044, allocations: 0 / 0.949 GB, free: 118.4 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.009481/2.053, allocations: 1.773 MB / 0.9507 GB, free: 116.6 MB / 0.5105 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 (257): * Single equations (assignments): 249 * 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.0007148/2.054, allocations: 199.8 kB / 0.9509 GB, free: 116.4 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01738/2.071, allocations: 10.96 MB / 0.9616 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.096e-05/2.071, allocations: 2.625 kB / 0.9616 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005372/2.077, allocations: 4.126 MB / 0.9657 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004858/2.082, allocations: 0.594 MB / 0.9662 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03427/2.116, allocations: 19.27 MB / 0.9851 GB, free: 81.64 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006179/2.122, allocations: 4.599 MB / 0.9896 GB, free: 77 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00232/2.124, allocations: 415.4 kB / 0.9899 GB, free: 76.6 MB / 0.5105 GB Notification: Performance of SimCode: time 1.353e-06/2.125, allocations: 0 / 0.9899 GB, free: 76.6 MB / 0.5105 GB Notification: Performance of Templates: time 0.4914/2.616, allocations: 149.2 MB / 1.136 GB, free: 111.2 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/FourbarVariants/UniversalSpherical/UniversalSpherical.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches