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.001554/0.001554, allocations: 88.23 kB / 20.2 MB, free: 4.227 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.002342/0.002342, allocations: 161.7 kB / 23.52 MB, free: 0.918 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 1.475/1.475, allocations: 158.6 MB / 185.3 MB, free: 2.887 MB / 170.7 MB " [Timeout remaining time 178] 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.2577/0.2577, allocations: 32.38 MB / 270 MB, free: 14.76 MB / 266.7 MB " [Timeout remaining time 179] 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 2.725e-06/2.725e-06, allocations: 0 / 346.9 MB, free: 9.797 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.636e-05/3.908e-05, allocations: 2.312 kB / 346.9 MB, free: 9.793 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.00839/0.008429, allocations: 7.687 MB / 354.6 MB, free: 2.066 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.008185/0.01661, allocations: 3.277 MB / 357.9 MB, free: 14.78 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001791/0.0184, allocations: 51.75 kB / 358 MB, free: 14.73 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003336/0.02174, allocations: 1.421 MB / 359.4 MB, free: 13.3 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003125/0.02487, allocations: 0.9993 MB / 360.4 MB, free: 12.3 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00144/0.02631, allocations: 0.5807 MB / 361 MB, free: 11.71 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003208/0.02951, allocations: 2.005 MB / 363 MB, free: 9.707 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002619/0.03213, allocations: 1.561 MB / 364.5 MB, free: 8.109 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001985/0.03412, allocations: 1.033 MB / 365.6 MB, free: 7.074 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001624/0.03574, allocations: 0.9977 MB / 366.6 MB, free: 6.074 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002378/0.03598, allocations: 140 kB / 366.7 MB, free: 5.938 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001217/0.0372, allocations: 0.5927 MB / 367.3 MB, free: 5.344 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009275/0.03812, allocations: 0.7909 MB / 368.1 MB, free: 4.551 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007526/0.03888, allocations: 0.5414 MB / 368.6 MB, free: 4.008 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003426/0.0423, allocations: 2.59 MB / 371.2 MB, free: 1.406 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.04231, allocations: 0 / 371.2 MB, free: 1.406 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.04231, allocations: 0 / 371.2 MB, free: 1.406 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.726e-05/0.04234, allocations: 0 / 371.2 MB, free: 1.406 MB / 298.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.00435/0.04669, allocations: 2.025 MB / 373.2 MB, free: 15.34 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.04674, allocations: 8.031 kB / 373.2 MB, free: 15.33 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001446/0.04818, allocations: 411.5 kB / 373.6 MB, free: 14.93 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002009/0.05019, allocations: 1.068 MB / 374.7 MB, free: 13.83 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001079/0.0503, allocations: 90.83 kB / 374.8 MB, free: 13.74 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002282/0.05053, allocations: 128.3 kB / 374.9 MB, free: 13.61 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005903/0.05643, allocations: 3.042 MB / 378 MB, free: 10.37 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.937e-05/0.05648, allocations: 15.89 kB / 378 MB, free: 10.35 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001408/0.05662, allocations: 51.97 kB / 378 MB, free: 10.3 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008827/0.0575, allocations: 434 kB / 378.5 MB, free: 9.875 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005106/0.06261, allocations: 2.148 MB / 380.6 MB, free: 7.719 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01416/0.07677, allocations: 10.02 MB / 390.6 MB, free: 13.44 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003975/0.08074, allocations: 1.25 MB / 391.9 MB, free: 12.17 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006614/0.08141, allocations: 375 kB / 392.2 MB, free: 11.8 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004098/0.0855, allocations: 2.06 MB / 394.3 MB, free: 9.715 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.725e-05/0.08555, allocations: 39.06 kB / 394.3 MB, free: 9.668 MB / 330.7 MB Notification: Performance of pre-optimization done (n=51): time 2.244e-06/0.08555, allocations: 0 / 394.3 MB, free: 9.668 MB / 330.7 MB Notification: Performance of matching and sorting (n=57): time 0.01256/0.09812, allocations: 3.809 MB / 398.2 MB, free: 5.805 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.221e-05/0.0982, allocations: 85.61 kB / 398.2 MB, free: 5.699 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001983/0.1002, allocations: 1.283 MB / 399.5 MB, free: 4.398 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.416e-05/0.1002, allocations: 33.7 kB / 399.5 MB, free: 4.359 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001057/0.1013, allocations: 0.9702 MB / 400.5 MB, free: 3.375 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002341/0.1015, allocations: 230.2 kB / 400.7 MB, free: 3.148 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004387/0.102, allocations: 311.3 kB / 401 MB, free: 2.836 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002305/0.1022, allocations: 361.9 kB / 401.4 MB, free: 2.477 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007073/0.1029, allocations: 411.7 kB / 401.8 MB, free: 2.074 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001571/0.1045, allocations: 1.279 MB / 403.1 MB, free: 388 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002538/0.107, allocations: 1.812 MB / 404.9 MB, free: 14.15 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.42e-05/0.107, allocations: 8 kB / 404.9 MB, free: 14.14 MB / 346.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.003442/0.1105, allocations: 1.806 MB / 406.7 MB, free: 12.33 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.939e-05/0.1105, allocations: 19.98 kB / 406.7 MB, free: 12.31 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.506e-05/0.1106, allocations: 32 kB / 406.8 MB, free: 12.28 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002946/0.1108, allocations: 92.77 kB / 406.9 MB, free: 12.18 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001191/0.112, allocations: 355.4 kB / 407.2 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002053/0.1141, allocations: 1.751 MB / 408.9 MB, free: 9.98 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001308/0.1154, allocations: 103.9 kB / 409 MB, free: 9.879 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000121/0.1155, allocations: 88 kB / 409.1 MB, free: 9.793 MB / 346.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.001116/0.1166, allocations: 0.6441 MB / 409.8 MB, free: 9.137 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002673/0.1169, allocations: 131.2 kB / 409.9 MB, free: 9.008 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001396/0.1183, allocations: 0.7044 MB / 410.6 MB, free: 8.293 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.346e-06/0.1183, allocations: 8 kB / 410.6 MB, free: 8.285 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1183, allocations: 0 / 410.6 MB, free: 8.285 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.418e-06/0.1183, allocations: 3.984 kB / 410.6 MB, free: 8.281 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00373/0.1221, allocations: 1.823 MB / 412.4 MB, free: 6.367 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/0.1221, allocations: 8.438 kB / 412.5 MB, free: 6.359 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003937/0.1225, allocations: 99.88 kB / 412.6 MB, free: 6.262 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002295/0.1227, allocations: 68.77 kB / 412.6 MB, free: 6.191 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.241e-05/0.1227, allocations: 12 kB / 412.6 MB, free: 6.18 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002147/0.1249, allocations: 1.825 MB / 414.5 MB, free: 4.258 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.316e-06/0.1249, allocations: 7.938 kB / 414.5 MB, free: 4.25 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00186/0.1267, allocations: 1.099 MB / 415.6 MB, free: 3.09 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004201/0.1271, allocations: 155.2 kB / 415.7 MB, free: 2.938 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001255/0.1273, allocations: 23.92 kB / 415.7 MB, free: 2.914 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005234/0.1278, allocations: 48 kB / 415.8 MB, free: 2.867 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.564e-05/0.1279, allocations: 51.92 kB / 415.8 MB, free: 2.816 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.555e-05/0.1279, allocations: 20 kB / 415.9 MB, free: 2.797 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001335/0.1293, allocations: 0.8004 MB / 416.7 MB, free: 1.988 MB / 346.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1293, allocations: 3.938 kB / 416.7 MB, free: 1.984 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001907/0.1312, allocations: 363.9 kB / 417 MB, free: 1.629 MB / 346.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.0003779/0.1315, allocations: 147.2 kB / 417.2 MB, free: 1.473 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002212/0.1338, allocations: 1.07 MB / 418.2 MB, free: 404 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.604e-06/0.1338, allocations: 4 kB / 418.2 MB, free: 400 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006114/0.1344, allocations: 388.6 kB / 418.6 MB, free: 0 / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001069/0.1355, allocations: 168.3 kB / 418.8 MB, free: 15.83 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005922/0.1414, allocations: 2.876 MB / 421.7 MB, free: 12.86 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001319/0.1427, allocations: 0.8597 MB / 422.5 MB, free: 11.96 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001363/0.1441, allocations: 413.1 kB / 422.9 MB, free: 11.56 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002518/0.1443, allocations: 76.5 kB / 423 MB, free: 11.48 MB / 362.7 MB Notification: Performance of SimCode: time 1.734e-06/0.1443, allocations: 0 / 423 MB, free: 11.48 MB / 362.7 MB Notification: Performance of Templates: time 0.02629/0.1706, allocations: 11.03 MB / 434 MB, free: 0.5781 MB / 362.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: 5.447226041927934]