Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.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.001036/0.001036, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.001173/0.001173, allocations: 165 kB / 23.79 MB, free: 0.7773 MB / 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.9877/0.9877, allocations: 158.6 MB / 185.7 MB, free: 2.914 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.1401/0.1401, allocations: 32.37 MB / 270.4 MB, free: 14.72 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.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization") translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 347.7 MB, free: 9.449 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.452e-05/3.613e-05, allocations: 10.19 kB / 347.7 MB, free: 9.438 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.007212/0.007248, allocations: 9.994 MB / 357.7 MB, free: 15.4 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005962/0.01321, allocations: 3.717 MB / 361.4 MB, free: 11.67 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001269/0.01448, allocations: 71.62 kB / 361.5 MB, free: 11.6 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002905/0.01738, allocations: 2.079 MB / 363.5 MB, free: 9.508 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004159/0.02154, allocations: 1.781 MB / 365.3 MB, free: 7.719 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001359/0.0229, allocations: 0.6625 MB / 366 MB, free: 7.055 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004317/0.02722, allocations: 3.702 MB / 369.7 MB, free: 3.344 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003105/0.03032, allocations: 2.477 MB / 372.2 MB, free: 0.8125 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003343/0.03367, allocations: 1.921 MB / 374.1 MB, free: 14.89 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002929/0.0366, allocations: 1.87 MB / 376 MB, free: 13.01 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008709/0.03747, allocations: 260 kB / 376.2 MB, free: 12.76 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001854/0.03932, allocations: 0.9828 MB / 377.2 MB, free: 11.77 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00155/0.04087, allocations: 1.702 MB / 378.9 MB, free: 10.07 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001514/0.04239, allocations: 1.051 MB / 379.9 MB, free: 9.012 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0047/0.04709, allocations: 3.864 MB / 383.8 MB, free: 5.133 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.04709, allocations: 0 / 383.8 MB, free: 5.133 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.04709, allocations: 4 kB / 383.8 MB, free: 5.129 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001403/0.04723, allocations: 0 / 383.8 MB, free: 5.129 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.005728/0.05296, allocations: 4.398 MB / 388.2 MB, free: 0.668 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.107e-05/0.05301, allocations: 8.031 kB / 388.2 MB, free: 0.6602 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003857/0.05687, allocations: 2.191 MB / 390.4 MB, free: 14.46 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002659/0.05953, allocations: 1.749 MB / 392.2 MB, free: 12.66 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001147/0.05964, allocations: 197.2 kB / 392.4 MB, free: 12.47 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004139/0.06006, allocations: 252.2 kB / 392.6 MB, free: 12.22 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007973/0.06803, allocations: 5.278 MB / 397.9 MB, free: 6.035 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001386/0.06817, allocations: 43.64 kB / 397.9 MB, free: 5.992 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004611/0.06863, allocations: 123.9 kB / 398 MB, free: 5.871 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001712/0.07034, allocations: 1.699 MB / 399.7 MB, free: 4.172 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006144/0.07649, allocations: 2.76 MB / 402.5 MB, free: 1.406 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02923/0.1057, allocations: 38.62 MB / 441.1 MB, free: 9.551 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003668/0.1094, allocations: 1.612 MB / 442.7 MB, free: 7.875 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007512/0.1101, allocations: 0.4885 MB / 443.2 MB, free: 7.367 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004342/0.1145, allocations: 3.161 MB / 446.4 MB, free: 4.172 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.914e-05/0.1145, allocations: 50.05 kB / 446.4 MB, free: 4.113 MB / 378.7 MB Notification: Performance of pre-optimization done (n=121): time 3.807e-06/0.1145, allocations: 0 / 446.4 MB, free: 4.113 MB / 378.7 MB Notification: Performance of matching and sorting (n=129): time 0.1806/0.2951, allocations: 8.512 MB / 454.9 MB, free: 88.23 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.415e-05/0.2952, allocations: 171.3 kB / 455.1 MB, free: 88.04 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003678/0.2989, allocations: 3.197 MB / 458.3 MB, free: 87.53 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001546/0.299, allocations: 42.98 kB / 458.3 MB, free: 87.5 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001653/0.3007, allocations: 3.016 MB / 461.4 MB, free: 85.9 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005773/0.3013, allocations: 0.5536 MB / 461.9 MB, free: 85.61 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001261/0.3025, allocations: 1.171 MB / 463.1 MB, free: 85.46 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.344e-05/0.3026, allocations: 482.7 kB / 463.6 MB, free: 84.99 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001097/0.3037, allocations: 0.5546 MB / 464.1 MB, free: 84.98 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002643/0.3063, allocations: 5.652 MB / 469.8 MB, free: 78.35 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004285/0.3106, allocations: 6.828 MB / 476.6 MB, free: 71.69 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.972e-05/0.3107, allocations: 36.03 kB / 476.6 MB, free: 71.69 MB / 378.7 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.006067/0.3167, allocations: 4.664 MB / 481.3 MB, free: 70.61 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.854e-05/0.3168, allocations: 54.03 kB / 481.3 MB, free: 70.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001151/0.3169, allocations: 124 kB / 481.5 MB, free: 70.61 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000508/0.3174, allocations: 342 kB / 481.8 MB, free: 70.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002065/0.3195, allocations: 1.246 MB / 483 MB, free: 70.42 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001336/0.3208, allocations: 2.432 MB / 485.5 MB, free: 68.01 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00234/0.3232, allocations: 326.8 kB / 485.8 MB, free: 67.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002408/0.3234, allocations: 337.2 kB / 486.1 MB, free: 67.41 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 555 * Number of states: 0 () * Number of discrete variables: 33 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.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 (668): * Single equations (assignments): 664 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008693/0.3243, allocations: 0.6032 MB / 486.7 MB, free: 66.8 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003209/0.3246, allocations: 322.1 kB / 487 MB, free: 66.49 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001806/0.3264, allocations: 1.321 MB / 488.4 MB, free: 65.53 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.4e-05/0.3264, allocations: 16 kB / 488.4 MB, free: 65.52 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.3264, allocations: 7.938 kB / 488.4 MB, free: 65.51 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.774e-06/0.3264, allocations: 7.797 kB / 488.4 MB, free: 65.5 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005511/0.3319, allocations: 4.208 MB / 492.6 MB, free: 62.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.935e-06/0.3319, allocations: 7.422 kB / 492.6 MB, free: 62.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004354/0.3324, allocations: 174.1 kB / 492.8 MB, free: 61.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001007/0.3334, allocations: 448.8 kB / 493.2 MB, free: 61.66 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.056e-05/0.3334, allocations: 20 kB / 493.2 MB, free: 61.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00238/0.3358, allocations: 2.912 MB / 496.1 MB, free: 58.83 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.726e-06/0.3358, allocations: 4 kB / 496.2 MB, free: 58.83 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003116/0.3389, allocations: 2.277 MB / 498.4 MB, free: 56.63 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008746/0.3398, allocations: 437.8 kB / 498.9 MB, free: 56.2 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001921/0.34, allocations: 32.95 kB / 498.9 MB, free: 56.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006201/0.3406, allocations: 103.8 kB / 499 MB, free: 56.08 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001486/0.3408, allocations: 68.59 kB / 499.1 MB, free: 56.01 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.765e-05/0.3408, allocations: 43.92 kB / 499.1 MB, free: 55.97 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001633/0.3425, allocations: 1.37 MB / 0.4887 GB, free: 54.6 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.3425, allocations: 0 / 0.4887 GB, free: 54.6 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003569/0.346, allocations: 0.8905 MB / 0.4896 GB, free: 53.71 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.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 (96): * Single equations (assignments): 92 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004522/0.3465, allocations: 174.5 kB / 0.4898 GB, free: 53.53 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00388/0.3504, allocations: 2.559 MB / 0.4923 GB, free: 50.98 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.3504, allocations: 0 / 0.4923 GB, free: 50.98 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007283/0.3511, allocations: 0.6196 MB / 0.4929 GB, free: 50.34 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001703/0.3528, allocations: 343.8 kB / 0.4932 GB, free: 50.02 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01077/0.3636, allocations: 5.991 MB / 0.4991 GB, free: 43.97 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008093/0.3644, allocations: 1.01 MB / 0.5 GB, free: 42.95 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001947/0.3663, allocations: 1.399 MB / 0.5014 GB, free: 41.55 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003867/0.3667, allocations: 196.5 kB / 0.5016 GB, free: 41.36 MB / 378.7 MB Notification: Performance of SimCode: time 2.425e-06/0.3667, allocations: 0 / 0.5016 GB, free: 41.36 MB / 378.7 MB Notification: Performance of Templates: time 0.03203/0.3988, allocations: 26.22 MB / 0.5272 GB, free: 15.32 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.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.2227629902772605]