Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.00174/0.00174, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002145/0.002145, allocations: 209.4 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.573/1.573, allocations: 230.6 MB / 257.5 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2497/0.2497, allocations: 46.96 MB / 360.9 MB, free: 4.043 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002108/0.002108, allocations: 59.89 kB / 0.4966 GB, free: 7.238 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3498/0.3519, allocations: 66.04 MB / 0.5611 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.01519/0.3671, allocations: 11.66 MB / 0.5725 GB, free: 8.457 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01273/0.3798, allocations: 4.599 MB / 0.5769 GB, free: 3.848 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003671/0.3835, allocations: 107.4 kB / 0.5771 GB, free: 3.742 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01147/0.3949, allocations: 3.625 MB / 0.5806 GB, free: 108 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00899/0.4039, allocations: 2.23 MB / 0.5828 GB, free: 13.87 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003003/0.4069, allocations: 1.084 MB / 0.5838 GB, free: 12.78 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0113/0.4182, allocations: 6.681 MB / 0.5904 GB, free: 6.09 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006269/0.4245, allocations: 3.547 MB / 0.5938 GB, free: 2.477 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004427/0.4289, allocations: 2.06 MB / 0.5958 GB, free: 420 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005168/0.4341, allocations: 2.96 MB / 0.5987 GB, free: 13.44 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001237/0.4353, allocations: 432 kB / 0.5991 GB, free: 13.02 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003299/0.4386, allocations: 1.358 MB / 0.6005 GB, free: 11.66 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003229/0.4418, allocations: 2.52 MB / 0.6029 GB, free: 9.133 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003449/0.4453, allocations: 2.074 MB / 0.6049 GB, free: 7.047 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01147/0.4568, allocations: 8.833 MB / 0.6136 GB, free: 14.18 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.928e-06/0.4568, allocations: 0 / 0.6136 GB, free: 14.18 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.4568, allocations: 0 / 0.6136 GB, free: 14.18 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003893/0.4572, allocations: 0 / 0.6136 GB, free: 14.18 MB / 462.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.0169/0.4741, allocations: 6.322 MB / 0.6197 GB, free: 7.789 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/0.4741, allocations: 11.97 kB / 0.6198 GB, free: 7.777 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01155/0.4857, allocations: 2.556 MB / 0.6222 GB, free: 5.215 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01047/0.4961, allocations: 3.883 MB / 0.626 GB, free: 1.27 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002979/0.4964, allocations: 291.5 kB / 0.6263 GB, free: 0.9844 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001368/0.4978, allocations: 391.7 kB / 0.6267 GB, free: 0.6016 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02527/0.5231, allocations: 12.04 MB / 0.6385 GB, free: 3.754 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001791/0.5233, allocations: 63.52 kB / 0.6385 GB, free: 3.691 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005222/0.5238, allocations: 179.8 kB / 0.6387 GB, free: 3.516 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003555/0.5273, allocations: 2.14 MB / 0.6408 GB, free: 1.371 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02316/0.5505, allocations: 10.33 MB / 0.6509 GB, free: 7.031 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06656/0.6171, allocations: 43.64 MB / 0.6935 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01561/0.6327, allocations: 5.142 MB / 0.6985 GB, free: 5.062 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00407/0.6367, allocations: 2.698 MB / 0.7011 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01695/0.6537, allocations: 7.749 MB / 0.7087 GB, free: 10.56 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.544e-05/0.6538, allocations: 55.81 kB / 0.7088 GB, free: 10.5 MB / 0.545 GB Notification: Performance of pre-optimization done (n=206): time 8.085e-06/0.6538, allocations: 0 / 0.7088 GB, free: 10.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=262): time 0.409/1.063, allocations: 35.07 MB / 0.743 GB, free: 153.5 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.911e-05/1.063, allocations: 212.4 kB / 0.7432 GB, free: 153.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005474/1.068, allocations: 4.444 MB / 0.7475 GB, free: 151.7 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004141/1.069, allocations: 61.52 kB / 0.7476 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001909/1.071, allocations: 3.695 MB / 0.7512 GB, free: 149.3 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008929/1.072, allocations: 1.02 MB / 0.7522 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001602/1.073, allocations: 1.427 MB / 0.7536 GB, free: 147.9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.223e-05/1.073, allocations: 305.1 kB / 0.7539 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003662/1.077, allocations: 3.176 MB / 0.757 GB, free: 146.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005326/1.082, allocations: 7.098 MB / 0.7639 GB, free: 138.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009621/1.092, allocations: 10.94 MB / 0.7746 GB, free: 126 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000126/1.092, allocations: 40 kB / 0.7747 GB, free: 126 MB / 0.5606 GB Notification: Performance of matching and sorting (n=914) (initialization): time 0.02443/1.116, allocations: 13.67 MB / 0.788 GB, free: 112.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001663/1.117, allocations: 67.98 kB / 0.7881 GB, free: 112.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001985/1.117, allocations: 132 kB / 0.7882 GB, free: 112.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01138/1.128, allocations: 4.387 MB / 0.7925 GB, free: 107.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005567/1.134, allocations: 1.482 MB / 0.7939 GB, free: 106.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03829/1.172, allocations: 28.28 MB / 0.8215 GB, free: 77.67 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006819/1.179, allocations: 411.5 kB / 0.8219 GB, free: 77.27 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001127/1.18, allocations: 413 kB / 0.8223 GB, free: 76.87 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.004104/1.184, allocations: 2.466 MB / 0.8247 GB, free: 74.39 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001066/1.185, allocations: 417.2 kB / 0.8251 GB, free: 73.98 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.015/1.2, allocations: 8.385 MB / 0.8333 GB, free: 65.57 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.987e-05/1.2, allocations: 28 kB / 0.8333 GB, free: 65.54 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.451e-05/1.2, allocations: 12 kB / 0.8334 GB, free: 65.53 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.076e-05/1.2, allocations: 15.95 kB / 0.8334 GB, free: 65.51 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03025/1.23, allocations: 15.18 MB / 0.8482 GB, free: 50.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-05/1.23, allocations: 4 kB / 0.8482 GB, free: 50.28 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001421/1.232, allocations: 308.1 kB / 0.8485 GB, free: 49.98 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009839/1.242, allocations: 3.957 MB / 0.8524 GB, free: 46.01 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000396/1.242, allocations: 48 kB / 0.8524 GB, free: 45.96 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03107/1.273, allocations: 27.08 MB / 0.8789 GB, free: 18.57 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.082e-06/1.273, allocations: 4 kB / 0.8789 GB, free: 18.57 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01962/1.293, allocations: 12.37 MB / 0.8909 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001679/1.295, allocations: 389 kB / 0.8913 GB, free: 5.684 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001745/1.296, allocations: 48.06 kB / 0.8913 GB, free: 5.637 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003365/1.3, allocations: 175.8 kB / 0.8915 GB, free: 5.465 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00111/1.301, allocations: 201.9 kB / 0.8917 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003762/1.301, allocations: 71.98 kB / 0.8918 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005074/1.306, allocations: 2.617 MB / 0.8943 GB, free: 2.574 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/1.306, allocations: 0 / 0.8943 GB, free: 2.574 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.009322/1.315, allocations: 1.441 MB / 0.8957 GB, free: 1.133 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.0006332/1.316, allocations: 189.4 kB / 0.8959 GB, free: 0.9414 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01565/1.332, allocations: 8.142 MB / 0.9039 GB, free: 8.777 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.414e-05/1.332, allocations: 192 / 0.9039 GB, free: 8.777 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.006581/1.338, allocations: 3.323 MB / 0.9071 GB, free: 5.426 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005417/1.344, allocations: 0.516 MB / 0.9076 GB, free: 4.91 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02881/1.373, allocations: 12.66 MB / 0.92 GB, free: 8.156 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006297/1.379, allocations: 3.394 MB / 0.9233 GB, free: 4.727 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.005036/1.384, allocations: 1.946 MB / 0.9252 GB, free: 2.773 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008367/1.385, allocations: 263.4 kB / 0.9254 GB, free: 2.516 MB / 0.5919 GB Notification: Performance of SimCode: time 1.182e-06/1.385, allocations: 0 / 0.9254 GB, free: 2.516 MB / 0.5919 GB Notification: Performance of Templates: time 0.4504/1.835, allocations: 72.88 MB / 0.9966 GB, free: 209.2 MB / 0.6387 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/FourbarVariants/SphericalAndUniversal/SphericalAndUniversal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.716481760144234]