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.001161/0.001161, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 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.006172/0.006172, allocations: 162.4 kB / 24.7 MB, free: 9.426 MB / 18.57 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 0.8851/0.8851, allocations: 177.2 MB / 205 MB, free: 5.367 MB / 186.7 MB " [Timeout remaining time 179] 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.2541/0.2541, allocations: 34.26 MB / 295.7 MB, free: 0.6562 MB / 266.7 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 1.453e-06/1.453e-06, allocations: 0 / 443.4 MB, free: 1.203 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.22e-05/2.366e-05, allocations: 10.22 kB / 443.4 MB, free: 1.191 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.196/0.196, allocations: 11.67 MB / 455.1 MB, free: 37.77 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006757/0.2027, allocations: 4.598 MB / 459.7 MB, free: 34.85 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009815/0.2037, allocations: 116.8 kB / 459.8 MB, free: 34.81 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003758/0.2075, allocations: 3.811 MB / 463.6 MB, free: 33.19 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005939/0.2134, allocations: 2.294 MB / 465.9 MB, free: 32.09 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00248/0.2159, allocations: 1.183 MB / 467.1 MB, free: 31.56 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00889/0.2248, allocations: 7.715 MB / 474.8 MB, free: 28.74 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005655/0.2304, allocations: 4.296 MB / 479.1 MB, free: 26.9 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006965/0.2374, allocations: 3.171 MB / 482.3 MB, free: 25.53 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005651/0.2431, allocations: 3.158 MB / 485.4 MB, free: 24.7 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002101/0.2452, allocations: 447.5 kB / 485.9 MB, free: 24.7 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004214/0.2494, allocations: 1.407 MB / 487.3 MB, free: 24.45 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004356/0.2537, allocations: 2.652 MB / 489.9 MB, free: 23.33 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006025/0.2598, allocations: 1.651 MB / 491.6 MB, free: 22.52 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01434/0.2741, allocations: 8.947 MB / 0.4888 GB, free: 18.68 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.726e-06/0.2741, allocations: 3.984 kB / 0.4888 GB, free: 18.68 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2741, allocations: 1.031 kB / 0.4888 GB, free: 18.68 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003975/0.2745, allocations: 0 / 0.4888 GB, free: 18.68 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.01677/0.2913, allocations: 6.44 MB / 0.4951 GB, free: 14.26 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.2913, allocations: 9.281 kB / 0.4951 GB, free: 14.26 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007084/0.2984, allocations: 2.641 MB / 0.4977 GB, free: 12.94 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008031/0.3064, allocations: 3.837 MB / 0.5014 GB, free: 10.49 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001482/0.3066, allocations: 279.7 kB / 0.5017 GB, free: 10.22 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001376/0.308, allocations: 388.1 kB / 0.5021 GB, free: 9.84 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01607/0.324, allocations: 12.06 MB / 0.5139 GB, free: 12.97 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001552/0.3242, allocations: 63.58 kB / 0.5139 GB, free: 12.91 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006493/0.3248, allocations: 175.9 kB / 0.5141 GB, free: 12.74 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002029/0.3269, allocations: 2.151 MB / 0.5162 GB, free: 10.59 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01671/0.3436, allocations: 10.33 MB / 0.5263 GB, free: 244 kB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04874/0.3923, allocations: 44.05 MB / 0.5693 GB, free: 3.086 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008513/0.4008, allocations: 5.312 MB / 0.5745 GB, free: 13.73 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002487/0.4033, allocations: 2.689 MB / 0.5771 GB, free: 11.04 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00957/0.4129, allocations: 8.034 MB / 0.5849 GB, free: 2.969 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.952e-05/0.4129, allocations: 59.8 kB / 0.585 GB, free: 2.902 MB / 490.7 MB Notification: Performance of pre-optimization done (n=206): time 4.979e-06/0.4129, allocations: 7.938 kB / 0.585 GB, free: 2.895 MB / 490.7 MB Notification: Performance of matching and sorting (n=262): time 0.07523/0.4882, allocations: 36.25 MB / 0.6204 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.194e-05/0.4883, allocations: 209.9 kB / 0.6206 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004828/0.4931, allocations: 4.686 MB / 0.6252 GB, free: 9.695 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002517/0.4933, allocations: 65.7 kB / 0.6253 GB, free: 9.625 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001918/0.4952, allocations: 3.671 MB / 0.6288 GB, free: 5.918 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008457/0.4961, allocations: 0.9999 MB / 0.6298 GB, free: 4.91 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001522/0.4976, allocations: 1.413 MB / 0.6312 GB, free: 3.488 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.158e-05/0.4977, allocations: 309.1 kB / 0.6315 GB, free: 3.184 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003101/0.5008, allocations: 3.176 MB / 0.6346 GB, free: 4 kB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1806/0.6814, allocations: 7.085 MB / 0.6415 GB, free: 148.1 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006331/0.6877, allocations: 10.95 MB / 0.6522 GB, free: 139.9 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.885e-05/0.6877, allocations: 36.97 kB / 0.6522 GB, free: 139.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=914) (initialization): time 0.01332/0.701, allocations: 13.67 MB / 0.6656 GB, free: 135.4 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.792e-05/0.7011, allocations: 63.78 kB / 0.6656 GB, free: 135.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.775e-05/0.7012, allocations: 134.2 kB / 0.6658 GB, free: 135.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006576/0.7077, allocations: 4.387 MB / 0.6701 GB, free: 134.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002429/0.7102, allocations: 1.476 MB / 0.6715 GB, free: 134.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02261/0.7328, allocations: 28.31 MB / 0.6992 GB, free: 120.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004117/0.7369, allocations: 0.4917 MB / 0.6996 GB, free: 120.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004146/0.7373, allocations: 415.8 kB / 0.7 GB, free: 120.5 MB / 0.5261 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.003204/0.7405, allocations: 2.467 MB / 0.7024 GB, free: 118.4 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004855/0.741, allocations: 413.4 kB / 0.7028 GB, free: 118.3 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008226/0.7492, allocations: 8.385 MB / 0.711 GB, free: 111.8 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.617e-05/0.7492, allocations: 28 kB / 0.711 GB, free: 111.8 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/0.7492, allocations: 12 kB / 0.7111 GB, free: 111.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.335e-05/0.7493, allocations: 14.41 kB / 0.7111 GB, free: 111.8 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01443/0.7637, allocations: 15.31 MB / 0.726 GB, free: 97.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.705e-06/0.7637, allocations: 11.47 kB / 0.726 GB, free: 97.63 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006306/0.7643, allocations: 296.1 kB / 0.7263 GB, free: 97.34 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004918/0.7692, allocations: 3.967 MB / 0.7302 GB, free: 93.36 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001224/0.7694, allocations: 50.88 kB / 0.7302 GB, free: 93.32 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02002/0.7894, allocations: 27.12 MB / 0.7567 GB, free: 66.09 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.7894, allocations: 4 kB / 0.7567 GB, free: 66.09 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01481/0.8042, allocations: 12.36 MB / 0.7688 GB, free: 53.63 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001091/0.8053, allocations: 439.9 kB / 0.7692 GB, free: 53.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003975/0.8057, allocations: 44.06 kB / 0.7693 GB, free: 53.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001228/0.8069, allocations: 239.6 kB / 0.7695 GB, free: 52.93 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000429/0.8073, allocations: 209.9 kB / 0.7697 GB, free: 52.71 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001227/0.8075, allocations: 75.81 kB / 0.7698 GB, free: 52.64 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002602/0.8101, allocations: 2.804 MB / 0.7725 GB, free: 49.83 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8e-08/0.8101, allocations: 0 / 0.7725 GB, free: 49.83 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004523/0.8146, allocations: 1.593 MB / 0.7741 GB, free: 48.25 MB / 0.5261 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.0003705/0.815, allocations: 204.5 kB / 0.7743 GB, free: 48.05 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007252/0.8222, allocations: 8.141 MB / 0.7822 GB, free: 39.9 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/0.8222, allocations: 2.516 kB / 0.7822 GB, free: 39.9 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002776/0.825, allocations: 3.317 MB / 0.7854 GB, free: 36.55 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001903/0.8269, allocations: 0.5154 MB / 0.786 GB, free: 36.06 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0132/0.8401, allocations: 13.08 MB / 0.7987 GB, free: 22.9 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002409/0.8425, allocations: 3.377 MB / 0.802 GB, free: 19.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007293/0.8432, allocations: 316.4 kB / 0.8023 GB, free: 19.19 MB / 0.5261 GB Notification: Performance of SimCode: time 1.092e-06/0.8432, allocations: 4 kB / 0.8023 GB, free: 19.19 MB / 0.5261 GB Notification: Performance of Templates: time 0.2787/1.122, allocations: 143.6 MB / 0.9426 GB, free: 88.43 MB / 0.5417 GB " [Timeout remaining time 659] 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: 10.246905081905425]