Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.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.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001735/0.001735, allocations: 183 kB / 16.63 MB, free: 5.137 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.362/1.362, allocations: 205.1 MB / 222.5 MB, free: 8.477 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.001014/0.001014, allocations: 112 kB / 269.9 MB, free: 8.43 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.3717/0.3717, allocations: 43.49 MB / 360.7 MB, free: 51.23 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001028/0.001028, allocations: 55.91 kB / 429.2 MB, free: 6.387 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1306, allocations: 57.77 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.289/0.4196, allocations: 62.43 MB / 0.5366 GB, free: 25.52 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.02991/0.4496, allocations: 12.94 MB / 0.5492 GB, free: 16.91 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01736/0.467, allocations: 276.8 kB / 0.5495 GB, free: 16.86 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006827/0.4739, allocations: 3.743 MB / 0.5531 GB, free: 15.12 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006406/0.4804, allocations: 2.052 MB / 0.5551 GB, free: 14.2 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002559/0.4829, allocations: 1.001 MB / 0.5561 GB, free: 13.77 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.01202/0.495, allocations: 8.682 MB / 0.5646 GB, free: 11.3 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01082/0.5059, allocations: 4.447 MB / 0.5689 GB, free: 9.688 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005882/0.5118, allocations: 1.827 MB / 0.5707 GB, free: 8.977 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006203/0.518, allocations: 2.954 MB / 0.5736 GB, free: 7.98 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002126/0.5202, allocations: 296.3 kB / 0.5739 GB, free: 7.98 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004986/0.5252, allocations: 1.393 MB / 0.5752 GB, free: 7.609 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004382/0.5296, allocations: 2.373 MB / 0.5776 GB, free: 6.277 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00625/0.5359, allocations: 2.67 MB / 0.5802 GB, free: 4.316 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01205/0.548, allocations: 8.466 MB / 0.5884 GB, free: 13.64 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.548, allocations: 3.938 kB / 0.5884 GB, free: 13.63 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.548, allocations: 4 kB / 0.5884 GB, free: 13.63 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004548/0.5485, allocations: 0 / 0.5884 GB, free: 13.63 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.02017/0.5687, allocations: 6.256 MB / 0.5945 GB, free: 7.301 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.5687, allocations: 8.031 kB / 0.5945 GB, free: 7.293 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01169/0.5804, allocations: 2.525 MB / 0.597 GB, free: 4.758 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009791/0.5903, allocations: 4.051 MB / 0.601 GB, free: 0.6523 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000243/0.5906, allocations: 283.8 kB / 0.6012 GB, free: 384 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00137/0.5919, allocations: 395.6 kB / 0.6016 GB, free: 15.98 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02168/0.6136, allocations: 12 MB / 0.6133 GB, free: 3.199 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001611/0.6138, allocations: 55.5 kB / 0.6134 GB, free: 3.145 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004747/0.6143, allocations: 179.8 kB / 0.6136 GB, free: 2.969 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002984/0.6173, allocations: 2.143 MB / 0.6157 GB, free: 0.8242 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02006/0.6374, allocations: 10.37 MB / 0.6258 GB, free: 6.434 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0722/0.7096, allocations: 47.52 MB / 0.6722 GB, free: 5.594 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0139/0.7236, allocations: 5.828 MB / 0.6779 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003786/0.7274, allocations: 2.969 MB / 0.6808 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.015/0.7424, allocations: 8.876 MB / 0.6894 GB, free: 3.609 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.776e-05/0.7425, allocations: 55.81 kB / 0.6895 GB, free: 3.547 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=206): time 6.322e-06/0.7425, allocations: 0 / 0.6895 GB, free: 3.547 MB / 0.4948 GB Notification: Performance of matching and sorting (n=262): time 0.3587/1.101, allocations: 34.97 MB / 0.7237 GB, free: 147.6 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.85e-05/1.101, allocations: 210.2 kB / 0.7239 GB, free: 147.4 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007745/1.109, allocations: 4.797 MB / 0.7285 GB, free: 145.7 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005795/1.11, allocations: 62.36 kB / 0.7286 GB, free: 145.7 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002058/1.112, allocations: 3.551 MB / 0.7321 GB, free: 142.9 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001026/1.113, allocations: 0.9739 MB / 0.733 GB, free: 142.2 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001888/1.115, allocations: 1.423 MB / 0.7344 GB, free: 141.6 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 4.394e-05/1.115, allocations: 305.1 kB / 0.7347 GB, free: 141.3 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004126/1.119, allocations: 3.176 MB / 0.7378 GB, free: 140.1 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006106/1.125, allocations: 7.04 MB / 0.7447 GB, free: 133.7 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009861/1.135, allocations: 10.95 MB / 0.7554 GB, free: 125.3 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.561e-05/1.135, allocations: 38.22 kB / 0.7554 GB, free: 125.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=914) (initialization): time 0.02362/1.159, allocations: 13.76 MB / 0.7688 GB, free: 115.3 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000153/1.159, allocations: 63.98 kB / 0.7689 GB, free: 115.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002761/1.159, allocations: 140.2 kB / 0.769 GB, free: 115.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01112/1.17, allocations: 4.381 MB / 0.7733 GB, free: 110.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00449/1.175, allocations: 1.485 MB / 0.7748 GB, free: 109.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0316/1.206, allocations: 26.84 MB / 0.801 GB, free: 82.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006818/1.213, allocations: 411.2 kB / 0.8014 GB, free: 81.62 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00139/1.215, allocations: 411.4 kB / 0.8018 GB, free: 81.22 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 612 * Number of states: 0 () * Number of discrete variables: 42 (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.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 (798): * Single equations (assignments): 792 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(8,50,50.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,21)} Notification: Performance of prepare postOptimizeDAE: time 0.004921/1.22, allocations: 2.482 MB / 0.8042 GB, free: 78.72 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001171/1.221, allocations: 435.3 kB / 0.8046 GB, free: 78.29 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01481/1.236, allocations: 8.475 MB / 0.8129 GB, free: 69.79 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.013e-05/1.236, allocations: 28 kB / 0.8129 GB, free: 69.76 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-05/1.236, allocations: 23.88 kB / 0.8129 GB, free: 69.73 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.993e-05/1.236, allocations: 11.95 kB / 0.8129 GB, free: 69.72 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02871/1.264, allocations: 17.09 MB / 0.8296 GB, free: 52.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.598e-05/1.265, allocations: 8 kB / 0.8296 GB, free: 52.55 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001376/1.266, allocations: 299.5 kB / 0.8299 GB, free: 52.25 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01022/1.276, allocations: 4.105 MB / 0.8339 GB, free: 48.14 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004893/1.277, allocations: 51.66 kB / 0.834 GB, free: 48.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0277/1.304, allocations: 25.65 MB / 0.859 GB, free: 22.04 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.431e-06/1.304, allocations: 9.734 kB / 0.859 GB, free: 22.03 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4577/1.762, allocations: 115.4 MB / 0.9717 GB, free: 89.32 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00318/1.765, allocations: 0.9727 MB / 0.9727 GB, free: 88.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001415/1.767, allocations: 47.36 kB / 0.9727 GB, free: 88.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003035/1.77, allocations: 175.6 kB / 0.9729 GB, free: 88.26 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009219/1.771, allocations: 193.9 kB / 0.9731 GB, free: 88.07 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003547/1.771, allocations: 71.98 kB / 0.9731 GB, free: 88 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.005157/1.776, allocations: 3.03 MB / 0.9761 GB, free: 84.98 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6.41e-07/1.776, allocations: 0 / 0.9761 GB, free: 84.98 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.009788/1.786, allocations: 2.047 MB / 0.9781 GB, free: 82.93 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 (158): * Single equations (assignments): 152 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(8,43,50.0%), (2,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007605/1.787, allocations: 188.4 kB / 0.9783 GB, free: 82.75 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01335/1.8, allocations: 8.437 MB / 0.9865 GB, free: 74.36 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.568e-06/1.8, allocations: 4.062 kB / 0.9865 GB, free: 74.36 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.005427/1.806, allocations: 3.563 MB / 0.99 GB, free: 70.75 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00582/1.812, allocations: 0.5487 MB / 0.9905 GB, free: 70.21 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03105/1.843, allocations: 17.84 MB / 1.008 GB, free: 52.27 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006542/1.849, allocations: 4.046 MB / 1.012 GB, free: 48.2 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.005389/1.855, allocations: 2.022 MB / 1.014 GB, free: 46.17 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001237/1.856, allocations: 283.4 kB / 1.014 GB, free: 45.9 MB / 0.4948 GB Notification: Performance of SimCode: time 8.62e-07/1.856, allocations: 4 kB / 1.014 GB, free: 45.89 MB / 0.4948 GB Notification: Performance of Templates: time 0.3762/2.232, allocations: 99.48 MB / 1.111 GB, free: 133.5 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/FourbarVariants/SphericalAndUniversal/SphericalAndUniversal.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches