Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001262/0.001262, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001403/0.001403, allocations: 170.6 kB / 24.91 MB, free: 8.723 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.9714/0.9714, allocations: 177.1 MB / 205.3 MB, free: 5.121 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2294/0.2294, allocations: 32.8 MB / 294.6 MB, free: 1.207 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization") translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 323.2 MB, free: 9.723 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.249e-05/3.431e-05, allocations: 5.469 kB / 323.2 MB, free: 9.719 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.01175/0.01178, allocations: 9.71 MB / 333 MB, free: 15.95 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008002/0.01978, allocations: 3.832 MB / 336.8 MB, free: 12.11 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001398/0.02118, allocations: 67.69 kB / 336.8 MB, free: 12.04 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002535/0.02372, allocations: 2.079 MB / 338.9 MB, free: 9.953 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00339/0.02711, allocations: 1.746 MB / 340.7 MB, free: 8.199 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001109/0.02822, allocations: 0.6664 MB / 341.3 MB, free: 7.531 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003663/0.03188, allocations: 3.767 MB / 345.1 MB, free: 3.762 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002423/0.0343, allocations: 2.52 MB / 347.6 MB, free: 1.164 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002496/0.0368, allocations: 1.941 MB / 349.6 MB, free: 15.22 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001821/0.03862, allocations: 1.757 MB / 351.3 MB, free: 13.46 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003622/0.03898, allocations: 256 kB / 351.6 MB, free: 13.21 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001354/0.04034, allocations: 0.9556 MB / 352.5 MB, free: 12.25 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001044/0.04138, allocations: 1.671 MB / 354.2 MB, free: 10.57 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009783/0.04236, allocations: 1.028 MB / 355.2 MB, free: 9.543 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003441/0.0458, allocations: 3.814 MB / 359 MB, free: 5.715 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.0458, allocations: 0 / 359 MB, free: 5.715 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.04581, allocations: 0 / 359 MB, free: 5.715 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.978e-05/0.04591, allocations: 4 kB / 359 MB, free: 5.711 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: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.004715/0.05062, allocations: 3.751 MB / 362.8 MB, free: 1.91 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.05066, allocations: 15.97 kB / 362.8 MB, free: 1.895 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002352/0.05301, allocations: 0.9333 MB / 363.7 MB, free: 0.9609 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002075/0.05508, allocations: 1.472 MB / 365.2 MB, free: 15.44 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.539e-05/0.05518, allocations: 189.2 kB / 365.4 MB, free: 15.25 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003171/0.0555, allocations: 260.2 kB / 365.7 MB, free: 15 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005056/0.06055, allocations: 4.263 MB / 369.9 MB, free: 10.05 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.27e-05/0.06062, allocations: 39.53 kB / 370 MB, free: 10.01 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002317/0.06086, allocations: 127.9 kB / 370.1 MB, free: 9.887 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001248/0.0621, allocations: 1.465 MB / 371.6 MB, free: 8.422 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003849/0.06595, allocations: 2.109 MB / 373.7 MB, free: 6.285 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02116/0.08712, allocations: 27.42 MB / 401.1 MB, free: 9.816 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002866/0.08998, allocations: 1.292 MB / 402.4 MB, free: 8.469 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004359/0.09042, allocations: 279.8 kB / 402.6 MB, free: 8.184 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004278/0.0947, allocations: 2.989 MB / 405.6 MB, free: 5.164 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/0.09473, allocations: 47 kB / 405.7 MB, free: 5.109 MB / 378.7 MB Notification: Performance of pre-optimization done (n=103): time 6.793e-06/0.09473, allocations: 3.984 kB / 405.7 MB, free: 5.105 MB / 378.7 MB Notification: Performance of matching and sorting (n=104): time 0.006052/0.1008, allocations: 2.682 MB / 408.4 MB, free: 2.387 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.02e-05/0.1008, allocations: 166.7 kB / 408.5 MB, free: 2.188 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00227/0.1031, allocations: 2.899 MB / 411.4 MB, free: 15.27 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.945e-05/0.1032, allocations: 37.7 kB / 411.5 MB, free: 15.23 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001137/0.1043, allocations: 2.755 MB / 414.2 MB, free: 12.44 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003357/0.1047, allocations: 464.6 kB / 414.7 MB, free: 11.98 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007382/0.1054, allocations: 1.017 MB / 415.7 MB, free: 10.96 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.373e-05/0.1055, allocations: 305.1 kB / 416 MB, free: 10.66 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008472/0.1063, allocations: 0.6152 MB / 416.6 MB, free: 10.04 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002252/0.1086, allocations: 4.037 MB / 420.6 MB, free: 4.203 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003775/0.1124, allocations: 5.113 MB / 425.8 MB, free: 13.31 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.892e-05/0.1124, allocations: 36 kB / 425.8 MB, free: 13.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=691) (initialization): time 0.005576/0.118, allocations: 3.584 MB / 429.4 MB, free: 9.68 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.557e-05/0.1181, allocations: 63.88 kB / 429.4 MB, free: 9.617 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001074/0.1182, allocations: 132 kB / 429.6 MB, free: 9.488 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001017/0.1183, allocations: 164 kB / 429.7 MB, free: 9.328 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002243/0.1205, allocations: 1.216 MB / 430.9 MB, free: 8.109 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001161/0.1207, allocations: 247.5 kB / 431.2 MB, free: 7.867 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00243/0.1231, allocations: 247.7 kB / 431.4 MB, free: 7.625 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003401/0.1234, allocations: 292 kB / 431.7 MB, free: 7.34 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 575 * 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 (667): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001091/0.1245, allocations: 0.5679 MB / 432.3 MB, free: 6.758 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003529/0.1249, allocations: 163.8 kB / 432.4 MB, free: 6.598 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009237/0.1258, allocations: 0.5089 MB / 432.9 MB, free: 6.078 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.229e-05/0.1258, allocations: 12 kB / 433 MB, free: 6.066 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/0.1258, allocations: 8 kB / 433 MB, free: 6.059 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.1258, allocations: 3.984 kB / 433 MB, free: 6.055 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003561/0.1294, allocations: 2.183 MB / 435.1 MB, free: 3.812 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.223e-06/0.1294, allocations: 7.984 kB / 435.2 MB, free: 3.805 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003396/0.1297, allocations: 123.8 kB / 435.3 MB, free: 3.684 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001796/0.1299, allocations: 51.8 kB / 435.3 MB, free: 3.629 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.517e-05/0.13, allocations: 15.98 kB / 435.3 MB, free: 3.613 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001119/0.1311, allocations: 1.425 MB / 436.8 MB, free: 2.086 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.1311, allocations: 4 kB / 436.8 MB, free: 2.082 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001179/0.1323, allocations: 1.211 MB / 438 MB, free: 0.8281 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004029/0.1327, allocations: 258 kB / 438.2 MB, free: 0.5742 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001833/0.1328, allocations: 19.92 kB / 438.3 MB, free: 0.5547 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004561/0.1333, allocations: 27.98 kB / 438.3 MB, free: 0.5273 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.293e-05/0.1334, allocations: 47.84 kB / 438.3 MB, free: 492 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-05/0.1334, allocations: 28 kB / 438.4 MB, free: 464 kB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009366/0.1344, allocations: 1.036 MB / 439.4 MB, free: 15.42 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1344, allocations: 0 / 439.4 MB, free: 15.42 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003023/0.1374, allocations: 0.7811 MB / 440.2 MB, free: 14.64 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (rev.w,damper.phi_rel) * 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 (78): * Single equations (assignments): 74 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003184/0.1377, allocations: 148.3 kB / 440.3 MB, free: 14.48 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002318/0.14, allocations: 1.94 MB / 442.3 MB, free: 12.55 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001437/0.1402, allocations: 96.16 kB / 442.4 MB, free: 12.45 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000478/0.1406, allocations: 352.6 kB / 442.7 MB, free: 12.09 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001614/0.1423, allocations: 0.4921 MB / 443.2 MB, free: 11.61 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007642/0.1499, allocations: 5.76 MB / 448.9 MB, free: 5.754 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008919/0.1508, allocations: 0.9815 MB / 449.9 MB, free: 4.75 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001113/0.1519, allocations: 423.1 kB / 450.3 MB, free: 4.332 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000625/0.1525, allocations: 481.1 kB / 450.8 MB, free: 3.859 MB / 426.7 MB Notification: Performance of SimCode: time 1.573e-06/0.1525, allocations: 0 / 450.8 MB, free: 3.859 MB / 426.7 MB Notification: Performance of Templates: time 0.195/0.3475, allocations: 21.94 MB / 472.8 MB, free: 120 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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: 3.7888731490820646]