Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.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.00109/0.00109, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001779/0.002869, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001221/0.001221, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001544/0.002765, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9299/0.9299, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08636/1.016, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.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.2248/0.2248, allocations: 34.25 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02036/0.2451, allocations: 13.09 MB / 291.3 MB, free: 7.375 MB / 282.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.Forces.SpringDamperSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic1.s|prismatic1.v|sps1.s_damper|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries") translateModel(ModelicaTest.MultiBody.Forces.SpringDamperSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic1.s|prismatic1.v|sps1.s_damper|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 292.6 MB, free: 6.297 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.837e-05/1.985e-05, allocations: 3.891 kB / 292.6 MB, free: 6.293 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.SpringDamperSeries): time 0.007388/0.007408, allocations: 10.09 MB / 302.7 MB, free: 12.16 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004999/0.01241, allocations: 3.309 MB / 306 MB, free: 8.84 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009891/0.0134, allocations: 67.69 kB / 306.1 MB, free: 8.773 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002472/0.01587, allocations: 2.417 MB / 308.5 MB, free: 6.348 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002256/0.01812, allocations: 1.298 MB / 309.8 MB, free: 5.043 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001087/0.01921, allocations: 0.5298 MB / 310.3 MB, free: 4.512 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003385/0.0226, allocations: 2.984 MB / 313.3 MB, free: 1.52 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002489/0.02508, allocations: 2.482 MB / 315.8 MB, free: 14.96 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002468/0.02755, allocations: 2.066 MB / 317.9 MB, free: 12.9 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00173/0.02928, allocations: 1.535 MB / 319.4 MB, free: 11.36 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004438/0.02973, allocations: 284 kB / 319.7 MB, free: 11.08 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001262/0.03099, allocations: 0.9557 MB / 320.6 MB, free: 10.12 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001016/0.032, allocations: 1.496 MB / 322.1 MB, free: 8.625 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001013/0.03302, allocations: 0.8957 MB / 323 MB, free: 7.727 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003458/0.03648, allocations: 3.701 MB / 326.7 MB, free: 4.012 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.864e-05/0.03649, allocations: 0 / 326.7 MB, free: 4.012 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.0365, allocations: 7.938 kB / 326.7 MB, free: 4.004 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001009/0.0366, allocations: 0 / 326.7 MB, free: 4.004 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: 1473 * Number of variables: 1473 Notification: Performance of Generate backend data structure: time 0.00505/0.04165, allocations: 4.838 MB / 331.6 MB, free: 15.1 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.04168, allocations: 8.031 kB / 331.6 MB, free: 15.09 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002242/0.04393, allocations: 0.9996 MB / 332.6 MB, free: 14.09 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001629/0.04555, allocations: 1.344 MB / 333.9 MB, free: 12.71 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000112/0.04567, allocations: 230.2 kB / 334.2 MB, free: 12.48 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003168/0.04598, allocations: 304.2 kB / 334.5 MB, free: 12.19 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006242/0.05223, allocations: 4.903 MB / 339.4 MB, free: 6.645 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-05/0.0523, allocations: 31.7 kB / 339.4 MB, free: 6.613 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002461/0.05255, allocations: 143.9 kB / 339.5 MB, free: 6.473 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001489/0.05404, allocations: 1.748 MB / 341.3 MB, free: 4.719 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004919/0.05895, allocations: 2.552 MB / 343.8 MB, free: 2.121 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02169/0.08064, allocations: 28.91 MB / 372.7 MB, free: 4.113 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003888/0.08453, allocations: 1.959 MB / 374.7 MB, free: 2.098 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005894/0.08512, allocations: 454.5 kB / 375.1 MB, free: 1.645 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003994/0.08911, allocations: 3.431 MB / 378.6 MB, free: 14.18 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.72e-05/0.08916, allocations: 51.5 kB / 378.6 MB, free: 14.12 MB / 378.7 MB Notification: Performance of pre-optimization done (n=152): time 5.31e-06/0.08916, allocations: 0 / 378.6 MB, free: 14.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=166): time 0.0168/0.106, allocations: 7.506 MB / 386.1 MB, free: 6.57 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.289e-05/0.106, allocations: 149.5 kB / 386.3 MB, free: 6.395 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001684/0.1077, allocations: 2.44 MB / 388.7 MB, free: 3.93 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.023e-05/0.1078, allocations: 49.64 kB / 388.8 MB, free: 3.875 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001048/0.1088, allocations: 2.938 MB / 391.7 MB, free: 0.9023 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003497/0.1092, allocations: 0.6744 MB / 392.4 MB, free: 228 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007924/0.11, allocations: 1.124 MB / 393.5 MB, free: 15.09 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.318e-05/0.1101, allocations: 357.8 kB / 393.8 MB, free: 14.73 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006392/0.1107, allocations: 0.629 MB / 394.5 MB, free: 14.09 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001996/0.1127, allocations: 4.181 MB / 398.7 MB, free: 8.066 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003547/0.1162, allocations: 5.537 MB / 404.2 MB, free: 0.6914 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-05/0.1163, allocations: 40 kB / 404.2 MB, free: 0.6523 MB / 394.7 MB Notification: Performance of matching and sorting (n=773) (initialization): time 0.004423/0.1207, allocations: 4.041 MB / 408.3 MB, free: 12.61 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.119e-05/0.1208, allocations: 64 kB / 408.3 MB, free: 12.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.559e-05/0.1208, allocations: 132 kB / 408.5 MB, free: 12.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005561/0.1214, allocations: 315.1 kB / 408.8 MB, free: 12.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002429/0.1238, allocations: 1.494 MB / 410.3 MB, free: 10.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001328/0.124, allocations: 259 kB / 410.5 MB, free: 10.35 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001831/0.1258, allocations: 263.7 kB / 410.8 MB, free: 10.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002743/0.1261, allocations: 312 kB / 411.1 MB, free: 9.785 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 596 * Number of states: 0 () * Number of discrete variables: 36 (prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],s1.color[3],s1.color[2],s1.color[1],s1.massColor[3],s1.massColor[2],s1.massColor[1],sps1.color[3],sps1.color[2],sps1.color[1],sps1.color_b[3],sps1.color_b[2],sps1.color_b[1],sps1.color_a[3],sps1.color_a[2],sps1.color_a[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 (745): * Single equations (assignments): 740 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(3,88.9%), (3,88.9%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009521/0.127, allocations: 0.6185 MB / 411.7 MB, free: 9.152 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002913/0.1273, allocations: 191.8 kB / 411.9 MB, free: 8.965 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001286/0.1286, allocations: 0.9353 MB / 412.8 MB, free: 8.012 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.908e-05/0.1286, allocations: 16 kB / 412.8 MB, free: 7.996 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.1286, allocations: 4 kB / 412.8 MB, free: 7.992 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/0.1286, allocations: 7.969 kB / 412.9 MB, free: 7.984 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005608/0.1342, allocations: 3.6 MB / 416.5 MB, free: 4.293 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.767e-06/0.1343, allocations: 4 kB / 416.5 MB, free: 4.289 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009739/0.1352, allocations: 283.7 kB / 416.7 MB, free: 4.012 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003651/0.1356, allocations: 238 kB / 417 MB, free: 3.777 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007597/0.1364, allocations: 291.7 kB / 417.3 MB, free: 3.48 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.593e-05/0.1364, allocations: 31.98 kB / 417.3 MB, free: 3.449 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.338e-06/0.1365, allocations: 12 kB / 417.3 MB, free: 3.438 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.1365, allocations: 4 kB / 417.3 MB, free: 3.434 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00221/0.1387, allocations: 1.748 MB / 419 MB, free: 1.633 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002619/0.1389, allocations: 32 kB / 419.1 MB, free: 1.602 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006248/0.1396, allocations: 24 kB / 419.1 MB, free: 1.578 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001572/0.1397, allocations: 104.7 kB / 419.2 MB, free: 1.477 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.373e-05/0.1398, allocations: 35.98 kB / 419.2 MB, free: 1.441 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009674/0.1408, allocations: 0.927 MB / 420.2 MB, free: 0.5078 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1408, allocations: 0 / 420.2 MB, free: 0.5078 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003294/0.1441, allocations: 0.8475 MB / 421 MB, free: 15.66 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (sps1.s_damper,universal1.phi_a,universal1.phi_b,universal1.w_a,universal1.w_b,prismatic1.s,prismatic1.v) * 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 (143): * Single equations (assignments): 138 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(3,88.9%), (3,88.9%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003239/0.1444, allocations: 136.1 kB / 421.1 MB, free: 15.52 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003561/0.1479, allocations: 2.454 MB / 423.6 MB, free: 13.07 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002092/0.1482, allocations: 104.8 kB / 423.7 MB, free: 12.96 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009586/0.1491, allocations: 0.5517 MB / 424.3 MB, free: 12.41 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001372/0.1505, allocations: 486.9 kB / 424.7 MB, free: 11.94 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01306/0.1635, allocations: 7.153 MB / 431.9 MB, free: 4.688 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001183/0.1647, allocations: 1.09 MB / 433 MB, free: 3.578 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001452/0.1662, allocations: 460.8 kB / 433.4 MB, free: 3.125 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008167/0.167, allocations: 481.3 kB / 433.9 MB, free: 2.656 MB / 426.7 MB Notification: Performance of SimCode: time 1.683e-06/0.167, allocations: 0 / 433.9 MB, free: 2.656 MB / 426.7 MB Notification: Performance of Templates: time 0.1482/0.3152, allocations: 23.84 MB / 457.7 MB, free: 112.7 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.SpringDamperSeries_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/SpringDamperSeries/SpringDamperSeries.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.785750487819314]