Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.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.000808/0.000808, allocations: 84.44 kB / 20.7 MB, free: 3.875 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.0008284/0.0008284, allocations: 169.9 kB / 23.96 MB, free: 0.6094 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.9122/0.9122, allocations: 158.6 MB / 185.7 MB, free: 3.047 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.1375/0.1375, allocations: 32.37 MB / 270.4 MB, free: 14.97 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.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit") translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0 / 408.1 MB, free: 1.734 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.948e-05/3.124e-05, allocations: 6.078 kB / 408.1 MB, free: 1.73 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.006842/0.006874, allocations: 7.687 MB / 415.8 MB, free: 10 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.005572/0.01245, allocations: 3.274 MB / 419.1 MB, free: 6.715 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001211/0.01366, allocations: 51.75 kB / 419.1 MB, free: 6.664 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00186/0.01552, allocations: 1.405 MB / 420.5 MB, free: 5.254 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002009/0.01753, allocations: 0.9876 MB / 421.5 MB, free: 4.262 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009104/0.01844, allocations: 0.5768 MB / 422.1 MB, free: 3.684 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.002118/0.02055, allocations: 1.998 MB / 424.1 MB, free: 1.68 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001724/0.02228, allocations: 1.518 MB / 425.6 MB, free: 128 kB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001475/0.02375, allocations: 1.033 MB / 426.6 MB, free: 15.09 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001238/0.02499, allocations: 0.9977 MB / 427.6 MB, free: 14.09 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002821/0.02527, allocations: 140 kB / 427.8 MB, free: 13.95 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008985/0.02617, allocations: 0.6005 MB / 428.4 MB, free: 13.35 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005955/0.02677, allocations: 0.7948 MB / 429.2 MB, free: 12.55 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006114/0.02738, allocations: 0.5376 MB / 429.7 MB, free: 12.02 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002393/0.02977, allocations: 2.586 MB / 432.3 MB, free: 9.422 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.02978, allocations: 0 / 432.3 MB, free: 9.422 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.02978, allocations: 0 / 432.3 MB, free: 9.422 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.629e-05/0.02986, allocations: 4 kB / 432.3 MB, free: 9.418 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: 449 * Number of variables: 449 Notification: Performance of Generate backend data structure: time 0.003184/0.03304, allocations: 2.021 MB / 434.3 MB, free: 7.355 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.28e-05/0.0331, allocations: 8.031 kB / 434.3 MB, free: 7.348 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007108/0.03381, allocations: 295.6 kB / 434.6 MB, free: 7.059 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001427/0.03524, allocations: 1.044 MB / 435.7 MB, free: 5.984 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.822e-05/0.0353, allocations: 94.83 kB / 435.8 MB, free: 5.891 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001453/0.03544, allocations: 124.3 kB / 435.9 MB, free: 5.77 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003512/0.03896, allocations: 3.042 MB / 438.9 MB, free: 2.52 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.032e-05/0.039, allocations: 15.83 kB / 438.9 MB, free: 2.504 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.078e-05/0.03909, allocations: 55.97 kB / 439 MB, free: 2.449 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003818/0.03947, allocations: 438 kB / 439.4 MB, free: 2.02 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003126/0.0426, allocations: 2.163 MB / 441.6 MB, free: 15.85 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008658/0.05125, allocations: 10.01 MB / 451.6 MB, free: 5.578 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002162/0.05342, allocations: 1.254 MB / 452.8 MB, free: 4.301 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003765/0.05379, allocations: 375.1 kB / 453.2 MB, free: 3.93 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002208/0.056, allocations: 2.06 MB / 455.3 MB, free: 1.844 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/0.05603, allocations: 39.05 kB / 455.3 MB, free: 1.797 MB / 426.7 MB Notification: Performance of pre-optimization done (n=51): time 2.735e-06/0.05603, allocations: 4 kB / 455.3 MB, free: 1.793 MB / 426.7 MB Notification: Performance of matching and sorting (n=57): time 0.006743/0.06278, allocations: 3.782 MB / 459.1 MB, free: 13.96 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.067e-05/0.06283, allocations: 81.61 kB / 459.2 MB, free: 13.86 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001182/0.06401, allocations: 1.283 MB / 460.5 MB, free: 12.56 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.902e-05/0.06404, allocations: 37.7 kB / 460.5 MB, free: 12.52 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004539/0.06449, allocations: 0.9663 MB / 461.5 MB, free: 11.54 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001302/0.06462, allocations: 226.2 kB / 461.7 MB, free: 11.32 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002536/0.06488, allocations: 319.3 kB / 462 MB, free: 11 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.06498, allocations: 357.9 kB / 462.3 MB, free: 10.64 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004217/0.0654, allocations: 415.7 kB / 462.7 MB, free: 10.23 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007924/0.06619, allocations: 1.283 MB / 464 MB, free: 8.535 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001423/0.06762, allocations: 1.804 MB / 465.8 MB, free: 6.312 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-05/0.06763, allocations: 12 kB / 465.8 MB, free: 6.301 MB / 442.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.001836/0.06947, allocations: 1.724 MB / 467.6 MB, free: 4.57 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.852e-05/0.06949, allocations: 16 kB / 467.6 MB, free: 4.555 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.688e-05/0.06952, allocations: 32.06 kB / 467.6 MB, free: 4.523 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001728/0.06969, allocations: 92.81 kB / 467.7 MB, free: 4.43 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006139/0.07031, allocations: 363.9 kB / 468.1 MB, free: 4.074 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001171/0.07148, allocations: 1.742 MB / 469.8 MB, free: 2.23 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006935/0.07217, allocations: 99.92 kB / 469.9 MB, free: 2.133 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.882e-05/0.07224, allocations: 87.94 kB / 470 MB, free: 2.047 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 134 * Number of states: 0 () * Number of discrete variables: 27 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (194): * Single equations (assignments): 193 * Array equations: 0 * 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.0007673/0.07301, allocations: 0.6485 MB / 470.6 MB, free: 1.391 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001099/0.07312, allocations: 115.2 kB / 470.8 MB, free: 1.277 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007736/0.07389, allocations: 0.6967 MB / 471.4 MB, free: 0.5664 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.243e-06/0.0739, allocations: 12.08 kB / 471.5 MB, free: 0.5547 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.0739, allocations: 0 / 471.5 MB, free: 0.5547 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.034e-06/0.07391, allocations: 3.984 kB / 471.5 MB, free: 0.5508 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1826/0.2565, allocations: 1.819 MB / 473.3 MB, free: 98.77 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.094e-06/0.2565, allocations: 4.938 kB / 473.3 MB, free: 98.77 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002211/0.2567, allocations: 98.52 kB / 473.4 MB, free: 98.77 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001371/0.2569, allocations: 58.48 kB / 473.4 MB, free: 98.77 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.157e-05/0.2569, allocations: 20.64 kB / 473.5 MB, free: 98.77 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009772/0.2579, allocations: 1.812 MB / 475.3 MB, free: 97.41 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.2579, allocations: 2.844 kB / 475.3 MB, free: 97.41 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009773/0.2588, allocations: 1.09 MB / 476.4 MB, free: 96.89 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003009/0.2591, allocations: 160.5 kB / 476.5 MB, free: 96.86 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.879e-05/0.2592, allocations: 14.34 kB / 476.5 MB, free: 96.85 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002624/0.2595, allocations: 44.97 kB / 476.6 MB, free: 96.85 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.59e-05/0.2595, allocations: 59.91 kB / 476.6 MB, free: 96.83 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.89e-05/0.2595, allocations: 20.25 kB / 476.7 MB, free: 96.82 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006551/0.2602, allocations: 0.7932 MB / 477.5 MB, free: 96.52 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2602, allocations: 0 / 477.5 MB, free: 96.52 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001092/0.2613, allocations: 366.2 kB / 477.8 MB, free: 96.48 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (prismatic.s,prismatic.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 (53): * Single equations (assignments): 52 * Array equations: 0 * 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,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002901/0.2616, allocations: 148.7 kB / 478 MB, free: 96.38 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001132/0.2627, allocations: 1.062 MB / 479 MB, free: 95.96 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.636e-06/0.2627, allocations: 2.531 kB / 479 MB, free: 95.96 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002968/0.263, allocations: 396.4 kB / 479.4 MB, free: 95.76 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006055/0.2636, allocations: 168.6 kB / 479.6 MB, free: 95.7 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00309/0.2667, allocations: 2.955 MB / 482.5 MB, free: 94.22 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006213/0.2673, allocations: 0.8597 MB / 483.4 MB, free: 93.97 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001731/0.2675, allocations: 85.41 kB / 483.5 MB, free: 93.96 MB / 442.7 MB Notification: Performance of SimCode: time 1.203e-06/0.2675, allocations: 0 / 483.5 MB, free: 93.96 MB / 442.7 MB Notification: Performance of Templates: time 0.02558/0.2931, allocations: 23.49 MB / 0.4951 GB, free: 88.89 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/PrismaticInit/PrismaticInit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.642649880610406]