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/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.001109/0.001109, allocations: 80.2 kB / 20.65 MB, free: 3.84 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.001394/0.001394, allocations: 173 kB / 24.05 MB, free: 452 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9309/0.9309, allocations: 158.6 MB / 185.9 MB, free: 2.785 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1488/0.1488, allocations: 32.37 MB / 270.7 MB, free: 14.53 MB / 266.7 MB " [Timeout remaining time 180] 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 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 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_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.496e-06/3.496e-06, allocations: 0 / 348.1 MB, free: 9.191 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.635e-05/3.984e-05, allocations: 2.312 kB / 348.1 MB, free: 9.188 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.01209/0.01213, allocations: 12.73 MB / 360.8 MB, free: 12.4 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01077/0.0229, allocations: 4.701 MB / 365.5 MB, free: 7.68 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003109/0.02601, allocations: 111.4 kB / 365.7 MB, free: 7.57 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008356/0.03436, allocations: 3.967 MB / 369.6 MB, free: 3.59 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007508/0.04187, allocations: 2.352 MB / 372 MB, free: 1.227 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00273/0.0446, allocations: 1.205 MB / 373.2 MB, free: 20 kB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01009/0.05469, allocations: 7.157 MB / 380.3 MB, free: 8.848 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006728/0.06141, allocations: 4.462 MB / 384.8 MB, free: 4.32 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007775/0.06919, allocations: 3.906 MB / 388.7 MB, free: 416 kB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005035/0.07423, allocations: 3.149 MB / 391.8 MB, free: 13.25 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001888/0.07611, allocations: 436 kB / 392.3 MB, free: 12.82 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003717/0.07983, allocations: 1.4 MB / 393.7 MB, free: 11.42 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003894/0.08372, allocations: 2.696 MB / 396.4 MB, free: 8.719 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005052/0.08878, allocations: 1.663 MB / 398 MB, free: 7.051 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008445/0.09722, allocations: 5.823 MB / 403.9 MB, free: 1.207 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.09723, allocations: 0 / 403.9 MB, free: 1.207 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.09723, allocations: 0 / 403.9 MB, free: 1.207 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002611/0.09749, allocations: 4 kB / 403.9 MB, free: 1.203 MB / 330.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.009928/0.1074, allocations: 6.451 MB / 410.3 MB, free: 10.68 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.1075, allocations: 12.02 kB / 410.3 MB, free: 10.67 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005715/0.1132, allocations: 2.104 MB / 412.4 MB, free: 8.559 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0055/0.1187, allocations: 2.964 MB / 415.4 MB, free: 5.543 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002081/0.1189, allocations: 283.7 kB / 415.7 MB, free: 5.266 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001132/0.12, allocations: 384.1 kB / 416 MB, free: 4.891 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01141/0.1314, allocations: 6.49 MB / 422.5 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002266/0.1316, allocations: 59.5 kB / 422.6 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006008/0.1322, allocations: 183.8 kB / 422.8 MB, free: 13.08 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001793/0.134, allocations: 1.929 MB / 424.7 MB, free: 11.15 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008325/0.1424, allocations: 2.922 MB / 427.6 MB, free: 8.203 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2208/0.3632, allocations: 49.91 MB / 477.5 MB, free: 57.66 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005575/0.3688, allocations: 2.278 MB / 479.8 MB, free: 57.52 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000689/0.3694, allocations: 0.5248 MB / 480.3 MB, free: 57.46 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006842/0.3763, allocations: 4.85 MB / 485.2 MB, free: 56.46 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.066e-05/0.3763, allocations: 64.47 kB / 485.3 MB, free: 56.41 MB / 378.7 MB Notification: Performance of pre-optimization done (n=160): time 5.06e-06/0.3763, allocations: 0 / 485.3 MB, free: 56.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=192): time 0.03884/0.4152, allocations: 12.45 MB / 497.7 MB, free: 51.86 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.338e-05/0.4152, allocations: 197.2 kB / 497.9 MB, free: 51.62 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004679/0.4199, allocations: 4.312 MB / 0.4904 GB, free: 48.21 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001839/0.4201, allocations: 53.7 kB / 0.4905 GB, free: 48.16 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001773/0.4219, allocations: 4.09 MB / 0.4945 GB, free: 44.32 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005984/0.4225, allocations: 0.8065 MB / 0.4953 GB, free: 43.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001358/0.4238, allocations: 1.526 MB / 0.4968 GB, free: 41.96 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.381e-05/0.4239, allocations: 480.7 kB / 0.4972 GB, free: 41.49 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00123/0.4251, allocations: 0.6702 MB / 0.4979 GB, free: 40.82 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003035/0.4281, allocations: 6.995 MB / 0.5047 GB, free: 31.03 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005203/0.4333, allocations: 8.32 MB / 0.5128 GB, free: 20.29 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.881e-05/0.4334, allocations: 44 kB / 0.5129 GB, free: 20.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=905) (initialization): time 0.008943/0.4424, allocations: 5.932 MB / 0.5187 GB, free: 14.29 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.521e-05/0.4424, allocations: 68 kB / 0.5187 GB, free: 14.22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001216/0.4426, allocations: 148 kB / 0.5189 GB, free: 14.08 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002591/0.4451, allocations: 1.014 MB / 0.5199 GB, free: 13.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002798/0.4479, allocations: 1.544 MB / 0.5214 GB, free: 11.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005865/0.4538, allocations: 9.201 MB / 0.5304 GB, free: 1.844 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005731/0.4595, allocations: 307.7 kB / 0.5306 GB, free: 1.543 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000899/0.4604, allocations: 360 kB / 0.531 GB, free: 1.191 MB / 378.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.001782/0.4622, allocations: 0.7195 MB / 0.5317 GB, free: 472 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009135/0.4631, allocations: 472.2 kB / 0.5321 GB, free: 0 / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002644/0.4658, allocations: 1.657 MB / 0.5338 GB, free: 14.32 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.516e-05/0.4658, allocations: 20 kB / 0.5338 GB, free: 14.3 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.584e-05/0.4658, allocations: 4 kB / 0.5338 GB, free: 14.3 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.458e-05/0.4658, allocations: 7.969 kB / 0.5338 GB, free: 14.29 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01151/0.4773, allocations: 6.847 MB / 0.5405 GB, free: 7.23 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.414e-05/0.4774, allocations: 8 kB / 0.5405 GB, free: 7.223 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006369/0.478, allocations: 247.6 kB / 0.5407 GB, free: 6.98 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001851/0.4799, allocations: 0.7565 MB / 0.5415 GB, free: 6.211 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000129/0.48, allocations: 40 kB / 0.5415 GB, free: 6.172 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005767/0.4857, allocations: 8.397 MB / 0.5497 GB, free: 13.32 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.049e-05/0.4858, allocations: 15.94 kB / 0.5497 GB, free: 13.3 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004284/0.49, allocations: 2.912 MB / 0.5526 GB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001554/0.4916, allocations: 0.5711 MB / 0.5531 GB, free: 9.66 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000393/0.492, allocations: 40 kB / 0.5532 GB, free: 9.621 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008239/0.4928, allocations: 41.19 kB / 0.5532 GB, free: 9.582 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002703/0.4931, allocations: 144.5 kB / 0.5533 GB, free: 9.441 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.73e-05/0.4932, allocations: 51.98 kB / 0.5534 GB, free: 9.391 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002031/0.4952, allocations: 1.783 MB / 0.5551 GB, free: 7.605 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4952, allocations: 0 / 0.5551 GB, free: 7.605 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004831/0.5, allocations: 1.305 MB / 0.5564 GB, free: 6.301 MB / 410.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.0004173/0.5004, allocations: 209 kB / 0.5566 GB, free: 6.086 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005607/0.506, allocations: 3.854 MB / 0.5604 GB, free: 2.188 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.896e-06/0.5061, allocations: 192 / 0.5604 GB, free: 2.188 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001783/0.5078, allocations: 1.438 MB / 0.5618 GB, free: 0.6797 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003052/0.5109, allocations: 0.5384 MB / 0.5623 GB, free: 148 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01546/0.5264, allocations: 9.14 MB / 0.5712 GB, free: 6.785 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001753/0.5281, allocations: 1.508 MB / 0.5727 GB, free: 5.254 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001839/0.5299, allocations: 0.5797 MB / 0.5733 GB, free: 4.672 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001029/0.531, allocations: 0.6894 MB / 0.5739 GB, free: 3.98 MB / 426.7 MB Notification: Performance of SimCode: time 2.034e-06/0.531, allocations: 0 / 0.5739 GB, free: 3.98 MB / 426.7 MB Notification: Performance of Templates: time 0.2313/0.7623, allocations: 43.84 MB / 0.6167 GB, free: 155.6 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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: 4.774992169812322]