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.001967/0.001967, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.001996/0.001996, allocations: 165.3 kB / 24.27 MB, free: 152 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.615/1.615, allocations: 177.1 MB / 204.6 MB, free: 5.574 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.3667/0.3667, allocations: 34.25 MB / 295.3 MB, free: 0.6836 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.683e-06/1.683e-06, allocations: 0 / 377.3 MB, free: 2.957 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.071e-05/3.239e-05, allocations: 6.312 kB / 377.3 MB, free: 2.949 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.01339/0.01342, allocations: 8.327 MB / 385.6 MB, free: 10.57 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008947/0.02237, allocations: 3.393 MB / 389 MB, free: 7.168 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001641/0.02401, allocations: 55.69 kB / 389.1 MB, free: 7.113 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003561/0.02757, allocations: 1.46 MB / 390.5 MB, free: 5.648 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00295/0.03052, allocations: 0.972 MB / 391.5 MB, free: 4.672 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001383/0.0319, allocations: 0.5651 MB / 392.1 MB, free: 4.105 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003311/0.03522, allocations: 2.057 MB / 394.1 MB, free: 2.043 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002727/0.03794, allocations: 1.549 MB / 395.7 MB, free: 460 kB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002547/0.04049, allocations: 1.025 MB / 396.7 MB, free: 15.42 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002124/0.04261, allocations: 1.009 MB / 397.7 MB, free: 14.41 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004659/0.04308, allocations: 144 kB / 397.9 MB, free: 14.27 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001476/0.04456, allocations: 0.5693 MB / 398.4 MB, free: 13.7 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001167/0.04572, allocations: 0.791 MB / 399.2 MB, free: 12.91 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001308/0.04703, allocations: 0.5415 MB / 399.8 MB, free: 12.36 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004007/0.05104, allocations: 2.563 MB / 402.3 MB, free: 9.793 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.05104, allocations: 0 / 402.3 MB, free: 9.793 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.05104, allocations: 0 / 402.3 MB, free: 9.793 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.267e-05/0.05108, allocations: 0 / 402.3 MB, free: 9.793 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.004566/0.05564, allocations: 2.299 MB / 404.6 MB, free: 7.445 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.05569, allocations: 8.031 kB / 404.6 MB, free: 7.438 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001504/0.05719, allocations: 419.5 kB / 405 MB, free: 7.027 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002192/0.05938, allocations: 0.9392 MB / 406 MB, free: 6.059 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.295e-05/0.05948, allocations: 98.77 kB / 406.1 MB, free: 5.961 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002149/0.05969, allocations: 124.3 kB / 406.2 MB, free: 5.84 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005387/0.06508, allocations: 2.169 MB / 408.4 MB, free: 3.395 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.443e-05/0.06513, allocations: 15.83 kB / 408.4 MB, free: 3.379 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001389/0.06527, allocations: 55.97 kB / 408.4 MB, free: 3.324 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007274/0.066, allocations: 438 kB / 408.9 MB, free: 2.895 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003892/0.06989, allocations: 1.066 MB / 409.9 MB, free: 1.82 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01815/0.08804, allocations: 12.6 MB / 422.5 MB, free: 4.883 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003922/0.09196, allocations: 1.005 MB / 423.5 MB, free: 3.852 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004865/0.09245, allocations: 229.3 kB / 423.8 MB, free: 3.621 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004125/0.09657, allocations: 1.833 MB / 425.6 MB, free: 1.762 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.749e-05/0.09662, allocations: 45.88 kB / 425.6 MB, free: 1.707 MB / 394.7 MB Notification: Performance of pre-optimization done (n=51): time 2.565e-06/0.09662, allocations: 0 / 425.6 MB, free: 1.707 MB / 394.7 MB Notification: Performance of matching and sorting (n=57): time 0.0121/0.1087, allocations: 3.087 MB / 428.7 MB, free: 14.56 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.577e-05/0.1088, allocations: 81.61 kB / 428.8 MB, free: 14.46 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002392/0.1112, allocations: 1.356 MB / 430.2 MB, free: 13.09 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.479e-05/0.1112, allocations: 29.7 kB / 430.2 MB, free: 13.05 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001046/0.1123, allocations: 1.098 MB / 431.3 MB, free: 11.94 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002424/0.1125, allocations: 242.2 kB / 431.5 MB, free: 11.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005719/0.1131, allocations: 389 kB / 431.9 MB, free: 11.31 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003579/0.1135, allocations: 0.559 MB / 432.5 MB, free: 10.74 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004422/0.1139, allocations: 187.9 kB / 432.6 MB, free: 10.56 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001665/0.1156, allocations: 1.482 MB / 434.1 MB, free: 8.508 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002671/0.1182, allocations: 1.799 MB / 435.9 MB, free: 6.141 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.594e-05/0.1182, allocations: 8 kB / 435.9 MB, free: 6.133 MB / 410.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.002575/0.1208, allocations: 1.349 MB / 437.3 MB, free: 4.777 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.068e-05/0.1209, allocations: 22.03 kB / 437.3 MB, free: 4.758 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.848e-05/0.1209, allocations: 28 kB / 437.3 MB, free: 4.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002562/0.1212, allocations: 83.72 kB / 437.4 MB, free: 4.645 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001142/0.1223, allocations: 359.3 kB / 437.8 MB, free: 4.293 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002094/0.1244, allocations: 2.173 MB / 439.9 MB, free: 2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001083/0.1255, allocations: 95.92 kB / 440 MB, free: 1.906 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001218/0.1256, allocations: 88.03 kB / 440.1 MB, free: 1.82 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.0006482/0.1262, allocations: 318.4 kB / 440.4 MB, free: 1.496 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002255/0.1265, allocations: 127.3 kB / 440.5 MB, free: 1.371 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000264/0.1267, allocations: 114.6 kB / 440.7 MB, free: 1.258 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.285e-06/0.1267, allocations: 11.88 kB / 440.7 MB, free: 1.246 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/0.1268, allocations: 4 kB / 440.7 MB, free: 1.242 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/0.1268, allocations: 3.984 kB / 440.7 MB, free: 1.238 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1947/0.3215, allocations: 2.083 MB / 442.8 MB, free: 98.42 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/0.3215, allocations: 3.094 kB / 442.8 MB, free: 98.42 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003596/0.3219, allocations: 97.14 kB / 442.9 MB, free: 98.42 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001836/0.3221, allocations: 58.25 kB / 442.9 MB, free: 98.41 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.854e-05/0.3221, allocations: 14.88 kB / 442.9 MB, free: 98.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001146/0.3232, allocations: 2.222 MB / 445.2 MB, free: 96.48 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.3232, allocations: 6.781 kB / 445.2 MB, free: 96.48 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001101/0.3243, allocations: 0.8755 MB / 446 MB, free: 96.07 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002376/0.3246, allocations: 110.2 kB / 446.1 MB, free: 96.07 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001199/0.3247, allocations: 23.19 kB / 446.2 MB, free: 96.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004142/0.3251, allocations: 37.48 kB / 446.2 MB, free: 96.07 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.139e-05/0.3252, allocations: 53.08 kB / 446.3 MB, free: 96.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.642e-05/0.3252, allocations: 21.75 kB / 446.3 MB, free: 96.07 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007075/0.3259, allocations: 0.6558 MB / 446.9 MB, free: 95.91 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3259, allocations: 0 / 446.9 MB, free: 95.91 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001448/0.3274, allocations: 355 kB / 447.3 MB, free: 95.91 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.0002814/0.3276, allocations: 139.3 kB / 447.4 MB, free: 95.82 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001334/0.329, allocations: 0.9391 MB / 448.4 MB, free: 95.53 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.329, allocations: 0 / 448.4 MB, free: 95.53 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004031/0.3294, allocations: 409.8 kB / 448.8 MB, free: 95.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008739/0.3303, allocations: 171.9 kB / 448.9 MB, free: 95.32 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003182/0.3334, allocations: 2.537 MB / 451.5 MB, free: 94.11 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007366/0.3342, allocations: 0.7977 MB / 452.3 MB, free: 93.98 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007045/0.3349, allocations: 365.3 kB / 452.6 MB, free: 93.96 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001452/0.335, allocations: 81.28 kB / 452.7 MB, free: 93.95 MB / 410.7 MB Notification: Performance of SimCode: time 1.182e-06/0.335, allocations: 0 / 452.7 MB, free: 93.95 MB / 410.7 MB Notification: Performance of Templates: time 0.01878/0.3538, allocations: 10.56 MB / 463.2 MB, free: 92.86 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) [Timeout 240] 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.636694708955474]