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.001275/0.001275, allocations: 77.88 kB / 21.42 MB, free: 3.074 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.001668/0.001668, allocations: 166.8 kB / 24.82 MB, free: 9.273 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 1.137/1.137, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.3543/0.3543, allocations: 34.26 MB / 296.1 MB, free: 0.6562 MB / 266.7 MB " [Timeout remaining time 179] 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 2.054e-06/2.054e-06, allocations: 0 / 378.5 MB, free: 2.359 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.802e-05/4.008e-05, allocations: 2.312 kB / 378.5 MB, free: 2.355 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.01413/0.01417, allocations: 12.62 MB / 391.1 MB, free: 5.672 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01329/0.02746, allocations: 4.707 MB / 395.8 MB, free: 0.9492 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004592/0.03205, allocations: 115.4 kB / 395.9 MB, free: 0.8359 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006806/0.03886, allocations: 3.944 MB / 399.9 MB, free: 12.88 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008592/0.04745, allocations: 2.309 MB / 402.2 MB, free: 10.56 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003345/0.0508, allocations: 1.189 MB / 403.4 MB, free: 9.367 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01109/0.06189, allocations: 7.714 MB / 411.1 MB, free: 1.641 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007675/0.06957, allocations: 4.442 MB / 415.5 MB, free: 13.13 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01124/0.08081, allocations: 4.226 MB / 419.8 MB, free: 8.895 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00676/0.08757, allocations: 3.129 MB / 422.9 MB, free: 5.758 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002057/0.08962, allocations: 436 kB / 423.3 MB, free: 5.332 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003555/0.09318, allocations: 1.392 MB / 424.7 MB, free: 3.938 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003092/0.09627, allocations: 2.669 MB / 427.4 MB, free: 1.262 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003562/0.09983, allocations: 1.647 MB / 429 MB, free: 15.61 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01124/0.1111, allocations: 5.754 MB / 434.8 MB, free: 9.836 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.128e-05/0.1111, allocations: 0 / 434.8 MB, free: 9.836 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1111, allocations: 0 / 434.8 MB, free: 9.836 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004309/0.1115, allocations: 4 kB / 434.8 MB, free: 9.832 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.01562/0.1271, allocations: 6.436 MB / 441.2 MB, free: 3.324 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.281e-05/0.1272, allocations: 8.031 kB / 441.2 MB, free: 3.316 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006461/0.1337, allocations: 2.108 MB / 443.3 MB, free: 1.203 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2076/0.3413, allocations: 2.922 MB / 446.3 MB, free: 92.92 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001932/0.3415, allocations: 278.7 kB / 446.5 MB, free: 92.91 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009203/0.3424, allocations: 390.2 kB / 446.9 MB, free: 92.91 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009121/0.3515, allocations: 6.49 MB / 453.4 MB, free: 89.76 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001728/0.3517, allocations: 56.16 kB / 453.5 MB, free: 89.76 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003387/0.3521, allocations: 179.2 kB / 453.6 MB, free: 89.76 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001629/0.3537, allocations: 1.938 MB / 455.6 MB, free: 89.75 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006267/0.3599, allocations: 2.912 MB / 458.5 MB, free: 89.47 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03481/0.3948, allocations: 49.89 MB / 0.4965 GB, free: 49.15 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006188/0.401, allocations: 2.267 MB / 0.4987 GB, free: 48.78 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001048/0.402, allocations: 0.5394 MB / 0.4992 GB, free: 48.67 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009392/0.4114, allocations: 4.827 MB / 0.5039 GB, free: 46.04 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.768e-05/0.4115, allocations: 69.98 kB / 0.504 GB, free: 45.98 MB / 410.7 MB Notification: Performance of pre-optimization done (n=160): time 4.549e-06/0.4115, allocations: 0 / 0.504 GB, free: 45.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=192): time 0.03384/0.4453, allocations: 12.39 MB / 0.5161 GB, free: 41.67 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.69e-05/0.4454, allocations: 209.2 kB / 0.5163 GB, free: 41.42 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004441/0.4498, allocations: 4.272 MB / 0.5204 GB, free: 37.75 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002824/0.4501, allocations: 53.7 kB / 0.5205 GB, free: 37.69 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001816/0.4519, allocations: 4.085 MB / 0.5245 GB, free: 33.86 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006293/0.4525, allocations: 0.8026 MB / 0.5253 GB, free: 33.05 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001122/0.4537, allocations: 1.526 MB / 0.5268 GB, free: 31.52 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.328e-05/0.4537, allocations: 480.8 kB / 0.5272 GB, free: 31.04 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009532/0.4546, allocations: 0.6694 MB / 0.5279 GB, free: 30.37 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002479/0.4571, allocations: 6.986 MB / 0.5347 GB, free: 20.52 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004677/0.4618, allocations: 8.318 MB / 0.5428 GB, free: 9.391 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.765e-05/0.4619, allocations: 44 kB / 0.5429 GB, free: 9.348 MB / 410.7 MB Notification: Performance of matching and sorting (n=905) (initialization): time 0.007643/0.4695, allocations: 5.947 MB / 0.5487 GB, free: 3.379 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.3e-05/0.4696, allocations: 68 kB / 0.5487 GB, free: 3.312 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001065/0.4697, allocations: 148 kB / 0.5489 GB, free: 3.168 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002417/0.4721, allocations: 1.008 MB / 0.5499 GB, free: 2.145 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002398/0.4745, allocations: 1.544 MB / 0.5514 GB, free: 0.5977 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007234/0.4817, allocations: 9.191 MB / 0.5603 GB, free: 6.938 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005021/0.4868, allocations: 299.7 kB / 0.5606 GB, free: 6.645 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008024/0.4876, allocations: 364 kB / 0.561 GB, free: 6.289 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 676 * 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 (851): * Single equations (assignments): 844 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,17,60.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.002173/0.4897, allocations: 0.7234 MB / 0.5617 GB, free: 5.551 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008759/0.4906, allocations: 461.3 kB / 0.5621 GB, free: 5.098 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002532/0.4931, allocations: 1.647 MB / 0.5637 GB, free: 3.422 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-05/0.4932, allocations: 27.94 kB / 0.5638 GB, free: 3.395 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.399e-05/0.4932, allocations: 8 kB / 0.5638 GB, free: 3.387 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.274e-05/0.4932, allocations: 7.969 kB / 0.5638 GB, free: 3.379 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01217/0.5054, allocations: 6.803 MB / 0.5704 GB, free: 12.37 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.539e-05/0.5054, allocations: 8 kB / 0.5704 GB, free: 12.36 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006462/0.506, allocations: 251.7 kB / 0.5707 GB, free: 12.12 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002002/0.508, allocations: 0.7659 MB / 0.5714 GB, free: 11.34 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001667/0.5082, allocations: 36 kB / 0.5714 GB, free: 11.3 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007195/0.5154, allocations: 8.398 MB / 0.5796 GB, free: 2.441 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.686e-06/0.5154, allocations: 11.94 kB / 0.5797 GB, free: 2.43 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004695/0.5201, allocations: 2.915 MB / 0.5825 GB, free: 15.35 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001416/0.5215, allocations: 413 kB / 0.5829 GB, free: 14.95 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003536/0.5219, allocations: 43.94 kB / 0.5829 GB, free: 14.9 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008386/0.5227, allocations: 36 kB / 0.583 GB, free: 14.87 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003323/0.523, allocations: 148.6 kB / 0.5831 GB, free: 14.72 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-05/0.5231, allocations: 44 kB / 0.5832 GB, free: 14.68 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002484/0.5256, allocations: 1.759 MB / 0.5849 GB, free: 12.92 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.01e-07/0.5256, allocations: 0 / 0.5849 GB, free: 12.92 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00582/0.5314, allocations: 1.277 MB / 0.5861 GB, free: 11.64 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * 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 (144): * Single equations (assignments): 137 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,15,60.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005164/0.5319, allocations: 202.5 kB / 0.5863 GB, free: 11.43 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005814/0.5378, allocations: 3.865 MB / 0.5901 GB, free: 7.523 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.127e-05/0.5378, allocations: 0 / 0.5901 GB, free: 7.523 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002415/0.5402, allocations: 1.444 MB / 0.5915 GB, free: 6.004 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004623/0.5448, allocations: 0.5252 MB / 0.592 GB, free: 5.484 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02206/0.5669, allocations: 9.088 MB / 0.6009 GB, free: 12.19 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002191/0.5691, allocations: 1.5 MB / 0.6024 GB, free: 10.67 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001911/0.571, allocations: 0.5799 MB / 0.6029 GB, free: 10.09 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001056/0.572, allocations: 0.6855 MB / 0.6036 GB, free: 9.398 MB / 474.7 MB Notification: Performance of SimCode: time 2.435e-06/0.572, allocations: 0 / 0.6036 GB, free: 9.398 MB / 474.7 MB Notification: Performance of Templates: time 0.2528/0.8248, allocations: 43.21 MB / 0.6458 GB, free: 128.3 MB / 474.7 MB " [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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.252686663996428]