Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002086/0.002086, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002692/0.002692, allocations: 212 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.524/1.524, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2235/0.2235, allocations: 44.93 MB / 358.8 MB, free: 6.133 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002103/0.002103, allocations: 67.89 kB / 0.4935 GB, free: 10.03 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3627/0.3648, allocations: 65.47 MB / 0.5574 GB, free: 7.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.02236/0.3872, allocations: 11.67 MB / 0.5688 GB, free: 11.61 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01683/0.404, allocations: 4.591 MB / 0.5733 GB, free: 7.012 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004473/0.4085, allocations: 115.4 kB / 0.5734 GB, free: 6.898 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01116/0.4196, allocations: 3.629 MB / 0.577 GB, free: 3.258 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008057/0.4277, allocations: 2.229 MB / 0.5792 GB, free: 1.02 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00316/0.4309, allocations: 1.076 MB / 0.5802 GB, free: 15.94 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01086/0.4417, allocations: 6.67 MB / 0.5867 GB, free: 9.258 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005378/0.4471, allocations: 3.523 MB / 0.5902 GB, free: 5.668 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004337/0.4514, allocations: 2.06 MB / 0.5922 GB, free: 3.602 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005178/0.4566, allocations: 2.788 MB / 0.5949 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001231/0.4578, allocations: 428 kB / 0.5953 GB, free: 396 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003297/0.4611, allocations: 1.342 MB / 0.5966 GB, free: 15.04 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003145/0.4643, allocations: 2.528 MB / 0.5991 GB, free: 12.51 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003971/0.4683, allocations: 2.062 MB / 0.6011 GB, free: 10.43 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0122/0.4805, allocations: 8.837 MB / 0.6097 GB, free: 1.562 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.4805, allocations: 4 kB / 0.6097 GB, free: 1.559 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.4805, allocations: 0 / 0.6097 GB, free: 1.559 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003181/0.4808, allocations: 0 / 0.6097 GB, free: 1.559 MB / 446.1 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.01947/0.5003, allocations: 6.318 MB / 0.6159 GB, free: 11.17 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.92e-05/0.5003, allocations: 12.03 kB / 0.6159 GB, free: 11.16 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01245/0.5128, allocations: 2.556 MB / 0.6184 GB, free: 8.594 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01465/0.5274, allocations: 3.891 MB / 0.6222 GB, free: 4.641 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000485/0.5279, allocations: 283.7 kB / 0.6225 GB, free: 4.363 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002515/0.5304, allocations: 391.7 kB / 0.6229 GB, free: 3.98 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0352/0.5656, allocations: 12.04 MB / 0.6346 GB, free: 7.133 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003164/0.5659, allocations: 67.52 kB / 0.6347 GB, free: 7.066 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001716/0.5677, allocations: 179.8 kB / 0.6349 GB, free: 6.891 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005916/0.5736, allocations: 2.139 MB / 0.6369 GB, free: 4.746 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02443/0.598, allocations: 10.33 MB / 0.647 GB, free: 10.4 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06921/0.6672, allocations: 43.64 MB / 0.6896 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01572/0.6829, allocations: 5.154 MB / 0.6947 GB, free: 8.434 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004275/0.6872, allocations: 2.696 MB / 0.6973 GB, free: 5.727 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01802/0.7052, allocations: 7.741 MB / 0.7049 GB, free: 13.94 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000107/0.7053, allocations: 51.88 kB / 0.7049 GB, free: 13.88 MB / 0.545 GB Notification: Performance of pre-optimization done (n=206): time 9.237e-06/0.7053, allocations: 4 kB / 0.7049 GB, free: 13.88 MB / 0.545 GB Notification: Performance of matching and sorting (n=262): time 0.4745/1.18, allocations: 35.07 MB / 0.7392 GB, free: 158.1 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.297e-05/1.18, allocations: 205.6 kB / 0.7394 GB, free: 157.8 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005095/1.185, allocations: 4.441 MB / 0.7437 GB, free: 156.5 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004843/1.185, allocations: 61.95 kB / 0.7438 GB, free: 156.4 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001991/1.187, allocations: 3.705 MB / 0.7474 GB, free: 154.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001208/1.189, allocations: 1.014 MB / 0.7484 GB, free: 153.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001936/1.191, allocations: 1.435 MB / 0.7498 GB, free: 153.2 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.429e-05/1.191, allocations: 305.1 kB / 0.7501 GB, free: 152.9 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003736/1.194, allocations: 3.173 MB / 0.7532 GB, free: 151.8 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004951/1.199, allocations: 7.09 MB / 0.7601 GB, free: 144.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009333/1.209, allocations: 10.96 MB / 0.7708 GB, free: 132.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.47e-05/1.209, allocations: 39.84 kB / 0.7708 GB, free: 132.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=914) (initialization): time 0.0229/1.232, allocations: 13.67 MB / 0.7842 GB, free: 118.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.141e-05/1.232, allocations: 70.12 kB / 0.7842 GB, free: 118.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.442e-05/1.232, allocations: 132 kB / 0.7844 GB, free: 118.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01133/1.243, allocations: 4.391 MB / 0.7886 GB, free: 113.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004553/1.248, allocations: 1.474 MB / 0.7901 GB, free: 112.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03282/1.281, allocations: 28.29 MB / 0.8177 GB, free: 83.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00665/1.287, allocations: 408.6 kB / 0.8181 GB, free: 83.48 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001424/1.289, allocations: 412 kB / 0.8185 GB, free: 83.07 MB / 0.5606 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.004087/1.293, allocations: 2.462 MB / 0.8209 GB, free: 80.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001126/1.294, allocations: 413.2 kB / 0.8213 GB, free: 80.19 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01539/1.309, allocations: 8.396 MB / 0.8295 GB, free: 71.77 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-05/1.309, allocations: 28 kB / 0.8295 GB, free: 71.74 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.087e-05/1.309, allocations: 12 kB / 0.8295 GB, free: 71.73 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.168e-05/1.309, allocations: 11.95 kB / 0.8295 GB, free: 71.71 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0268/1.336, allocations: 15.17 MB / 0.8444 GB, free: 56.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.857e-05/1.336, allocations: 4 kB / 0.8444 GB, free: 56.49 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001342/1.338, allocations: 303.5 kB / 0.8447 GB, free: 56.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01003/1.348, allocations: 3.959 MB / 0.8485 GB, free: 52.22 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003267/1.348, allocations: 51.59 kB / 0.8486 GB, free: 52.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03038/1.378, allocations: 27.1 MB / 0.875 GB, free: 24.77 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.142e-06/1.378, allocations: 7.938 kB / 0.875 GB, free: 24.76 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01912/1.397, allocations: 12.36 MB / 0.8871 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001219/1.399, allocations: 389 kB / 0.8875 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005804/1.399, allocations: 40 kB / 0.8875 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002125/1.401, allocations: 175.8 kB / 0.8877 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007041/1.402, allocations: 198 kB / 0.8879 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002/1.402, allocations: 79.89 kB / 0.888 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003423/1.406, allocations: 2.613 MB / 0.8905 GB, free: 8.785 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.11e-07/1.406, allocations: 0 / 0.8905 GB, free: 8.785 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006497/1.412, allocations: 1.442 MB / 0.8919 GB, free: 7.344 MB / 0.5606 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.000523/1.413, allocations: 198.7 kB / 0.8921 GB, free: 7.141 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01242/1.425, allocations: 8.145 MB / 0.9001 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.07e-05/1.425, allocations: 4 kB / 0.9001 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.006324/1.431, allocations: 3.316 MB / 0.9033 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003579/1.435, allocations: 0.5096 MB / 0.9038 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02393/1.459, allocations: 12.66 MB / 0.9162 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005229/1.464, allocations: 3.398 MB / 0.9195 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004868/1.469, allocations: 1.941 MB / 0.9214 GB, free: 8.977 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008904/1.47, allocations: 263.4 kB / 0.9216 GB, free: 8.719 MB / 0.5919 GB Notification: Performance of SimCode: time 9.42e-07/1.47, allocations: 0 / 0.9216 GB, free: 8.719 MB / 0.5919 GB Notification: Performance of Templates: time 0.4405/1.91, allocations: 69.99 MB / 0.99 GB, free: 214.4 MB / 0.6387 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/SphericalAndUniversal/SphericalAndUniversal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.759645907208323]