Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001461/0.001461, allocations: 92.31 kB / 20.96 MB, free: 3.469 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.001628/0.001628, allocations: 161.7 kB / 24.27 MB, free: 168 kB / 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 1.569/1.569, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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.3661/0.3661, allocations: 34.26 MB / 295.3 MB, free: 0.6719 MB / 266.7 MB " [Timeout remaining time 179] 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.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit") translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.072e-06/1.072e-06, allocations: 0 / 377.3 MB, free: 2.949 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.374e-05/2.482e-05, allocations: 2.312 kB / 377.3 MB, free: 2.945 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.01135/0.01138, allocations: 7.657 MB / 385 MB, free: 11.24 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008288/0.01966, allocations: 3.296 MB / 388.2 MB, free: 7.934 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001298/0.02096, allocations: 51.75 kB / 388.3 MB, free: 7.883 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003341/0.0243, allocations: 1.417 MB / 389.7 MB, free: 6.461 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002813/0.02712, allocations: 0.9682 MB / 390.7 MB, free: 5.488 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001328/0.02845, allocations: 0.5651 MB / 391.2 MB, free: 4.922 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002833/0.03128, allocations: 2.064 MB / 393.3 MB, free: 2.859 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002123/0.0334, allocations: 1.549 MB / 394.9 MB, free: 1.266 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001619/0.03502, allocations: 1.013 MB / 395.9 MB, free: 256 kB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001704/0.03673, allocations: 0.9899 MB / 396.9 MB, free: 15.26 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002354/0.03696, allocations: 144 kB / 397 MB, free: 15.12 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001175/0.03814, allocations: 0.5693 MB / 397.6 MB, free: 14.55 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008946/0.03903, allocations: 0.7909 MB / 398.4 MB, free: 13.75 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00074/0.03977, allocations: 0.5337 MB / 398.9 MB, free: 13.22 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003309/0.04308, allocations: 2.551 MB / 401.5 MB, free: 10.66 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.04308, allocations: 0 / 401.5 MB, free: 10.66 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.04308, allocations: 0 / 401.5 MB, free: 10.66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.52e-05/0.04313, allocations: 0 / 401.5 MB, free: 10.66 MB / 378.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.004407/0.04754, allocations: 2.01 MB / 403.5 MB, free: 8.609 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.04758, allocations: 8.031 kB / 403.5 MB, free: 8.602 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001495/0.04908, allocations: 415.5 kB / 403.9 MB, free: 8.195 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001979/0.05105, allocations: 1.007 MB / 404.9 MB, free: 7.16 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.846e-05/0.05115, allocations: 98.83 kB / 405 MB, free: 7.062 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002321/0.05139, allocations: 124.3 kB / 405.1 MB, free: 6.941 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006085/0.05747, allocations: 3.05 MB / 408.1 MB, free: 3.68 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.643e-05/0.05753, allocations: 23.81 kB / 408.2 MB, free: 3.656 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001434/0.05767, allocations: 55.97 kB / 408.2 MB, free: 3.602 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007182/0.05839, allocations: 430 kB / 408.6 MB, free: 3.18 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005321/0.06371, allocations: 2.163 MB / 410.8 MB, free: 1.008 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01436/0.07807, allocations: 9.989 MB / 420.8 MB, free: 6.758 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004437/0.0825, allocations: 1.273 MB / 422.1 MB, free: 5.465 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000707/0.08321, allocations: 371.6 kB / 422.4 MB, free: 5.098 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004166/0.08738, allocations: 2.064 MB / 424.5 MB, free: 3.008 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.66e-05/0.08742, allocations: 39.06 kB / 424.5 MB, free: 2.961 MB / 394.7 MB Notification: Performance of pre-optimization done (n=51): time 2.405e-06/0.08743, allocations: 0 / 424.5 MB, free: 2.961 MB / 394.7 MB Notification: Performance of matching and sorting (n=57): time 0.01292/0.1003, allocations: 3.821 MB / 428.4 MB, free: 15.09 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.144e-05/0.1004, allocations: 81.61 kB / 428.4 MB, free: 14.99 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001764/0.1022, allocations: 1.243 MB / 429.7 MB, free: 13.73 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.828e-05/0.1022, allocations: 37.7 kB / 429.7 MB, free: 13.68 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008726/0.1031, allocations: 0.9662 MB / 430.7 MB, free: 12.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002505/0.1034, allocations: 230.2 kB / 430.9 MB, free: 12.48 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004245/0.1038, allocations: 307.4 kB / 431.2 MB, free: 12.17 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002148/0.104, allocations: 353.9 kB / 431.6 MB, free: 11.82 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008951/0.1049, allocations: 423.7 kB / 432 MB, free: 11.41 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001808/0.1067, allocations: 1.279 MB / 433.2 MB, free: 9.711 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00279/0.1095, allocations: 1.819 MB / 435.1 MB, free: 7.48 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.61e-05/0.1095, allocations: 8 kB / 435.1 MB, free: 7.473 MB / 410.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.003205/0.1127, allocations: 1.818 MB / 436.9 MB, free: 5.645 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.665e-05/0.1127, allocations: 20 kB / 436.9 MB, free: 5.625 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.744e-05/0.1128, allocations: 32.12 kB / 436.9 MB, free: 5.594 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002747/0.1131, allocations: 88.83 kB / 437 MB, free: 5.504 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001144/0.1142, allocations: 363.3 kB / 437.4 MB, free: 5.148 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002/0.1162, allocations: 1.75 MB / 439.1 MB, free: 3.297 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001066/0.1173, allocations: 108 kB / 439.2 MB, free: 3.191 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001142/0.1174, allocations: 84 kB / 439.3 MB, free: 3.109 MB / 410.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.0009632/0.1183, allocations: 0.6361 MB / 440 MB, free: 2.465 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002145/0.1186, allocations: 131.2 kB / 440.1 MB, free: 2.336 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002415/0.1188, allocations: 126.6 kB / 440.2 MB, free: 2.211 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/0.1188, allocations: 11.94 kB / 440.2 MB, free: 2.199 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/0.1188, allocations: 0 / 440.2 MB, free: 2.199 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.555e-06/0.1188, allocations: 7.984 kB / 440.2 MB, free: 2.191 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003526/0.1223, allocations: 1.819 MB / 442 MB, free: 288 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/0.1224, allocations: 4 kB / 442.1 MB, free: 284 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004102/0.1228, allocations: 99.83 kB / 442.2 MB, free: 184 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002167/0.123, allocations: 64.81 kB / 442.2 MB, free: 116 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.409e-05/0.123, allocations: 16.38 kB / 442.2 MB, free: 100 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1938/0.3168, allocations: 1.811 MB / 444 MB, free: 99.42 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/0.3169, allocations: 11.59 kB / 444.1 MB, free: 99.42 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001542/0.3184, allocations: 1.121 MB / 445.2 MB, free: 99.15 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002389/0.3186, allocations: 113.6 kB / 445.3 MB, free: 99.15 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001152/0.3188, allocations: 15.53 kB / 445.3 MB, free: 99.15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004818/0.3192, allocations: 48.31 kB / 445.3 MB, free: 99.15 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.443e-05/0.3193, allocations: 50.45 kB / 445.4 MB, free: 99.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.87e-05/0.3193, allocations: 21.45 kB / 445.4 MB, free: 99.14 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008947/0.3202, allocations: 0.7573 MB / 446.2 MB, free: 98.87 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3202, allocations: 1.625 kB / 446.2 MB, free: 98.87 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001478/0.3217, allocations: 357.2 kB / 446.5 MB, free: 98.83 MB / 410.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.0003286/0.322, allocations: 143.7 kB / 446.7 MB, free: 98.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001649/0.3237, allocations: 1.068 MB / 447.7 MB, free: 98.32 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.3237, allocations: 2.844 kB / 447.7 MB, free: 98.32 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005016/0.3242, allocations: 400.7 kB / 448.1 MB, free: 98.12 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009266/0.3251, allocations: 177.8 kB / 448.3 MB, free: 98.06 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004085/0.3292, allocations: 2.829 MB / 451.1 MB, free: 96.65 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009343/0.3301, allocations: 0.8629 MB / 452 MB, free: 96.39 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008251/0.331, allocations: 403 kB / 452.4 MB, free: 96.38 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001628/0.3311, allocations: 79.33 kB / 452.5 MB, free: 96.38 MB / 410.7 MB Notification: Performance of SimCode: time 1.352e-06/0.3311, allocations: 0 / 452.5 MB, free: 96.38 MB / 410.7 MB Notification: Performance of Templates: time 0.01977/0.3509, allocations: 10.63 MB / 463.1 MB, free: 95.27 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/PrismaticInit/PrismaticInit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.594094692962244]