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.001311/0.001311, allocations: 95.31 kB / 20.43 MB, free: 4.145 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.001476/0.001476, allocations: 165.3 kB / 23.8 MB, free: 0.7773 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.01/1.01, allocations: 158.6 MB / 185.7 MB, free: 2.918 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.1411/0.1411, allocations: 32.38 MB / 270.4 MB, free: 14.7 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.624e-06/1.624e-06, allocations: 3.938 kB / 347.7 MB, free: 9.438 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.518e-05/1.68e-05, allocations: 2.312 kB / 347.7 MB, free: 9.434 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.005632/0.005649, allocations: 8.437 MB / 356.1 MB, free: 0.957 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004887/0.01054, allocations: 3.39 MB / 359.5 MB, free: 13.55 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004867/0.01102, allocations: 55.75 kB / 359.6 MB, free: 13.5 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001409/0.01243, allocations: 1.46 MB / 361 MB, free: 12.04 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001253/0.01368, allocations: 1.007 MB / 362 MB, free: 11.02 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006755/0.01436, allocations: 0.5768 MB / 362.6 MB, free: 10.45 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001418/0.01578, allocations: 2.002 MB / 364.6 MB, free: 8.438 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001465/0.01724, allocations: 1.553 MB / 366.2 MB, free: 6.848 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008797/0.01812, allocations: 1.049 MB / 367.2 MB, free: 5.797 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008129/0.01894, allocations: 1.013 MB / 368.2 MB, free: 4.781 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001469/0.01908, allocations: 140 kB / 368.4 MB, free: 4.645 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005867/0.01967, allocations: 0.5966 MB / 369 MB, free: 4.047 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004683/0.02014, allocations: 0.7988 MB / 369.8 MB, free: 3.246 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003779/0.02052, allocations: 0.5376 MB / 370.3 MB, free: 2.703 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001602/0.02212, allocations: 1.779 MB / 372.1 MB, free: 0.918 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.02212, allocations: 4 kB / 372.1 MB, free: 0.9141 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.02212, allocations: 0 / 372.1 MB, free: 0.9141 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.795e-05/0.02214, allocations: 0 / 372.1 MB, free: 0.9141 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.002929/0.02507, allocations: 2.182 MB / 374.3 MB, free: 14.68 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.02511, allocations: 8.031 kB / 374.3 MB, free: 14.68 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008049/0.02592, allocations: 419.5 kB / 374.7 MB, free: 14.27 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001014/0.02693, allocations: 0.9535 MB / 375.6 MB, free: 13.28 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.856e-05/0.02699, allocations: 94.83 kB / 375.7 MB, free: 13.18 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000129/0.02712, allocations: 128.3 kB / 375.8 MB, free: 13.06 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002331/0.02945, allocations: 2.026 MB / 377.9 MB, free: 10.76 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.064e-05/0.02948, allocations: 23.83 kB / 377.9 MB, free: 10.74 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.843e-05/0.02956, allocations: 55.97 kB / 378 MB, free: 10.68 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003442/0.0299, allocations: 426 kB / 378.4 MB, free: 10.27 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002106/0.03201, allocations: 1.02 MB / 379.4 MB, free: 9.234 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007317/0.03933, allocations: 11.65 MB / 391 MB, free: 13.25 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001979/0.0413, allocations: 1.013 MB / 392 MB, free: 12.21 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000245/0.04155, allocations: 204.8 kB / 392.2 MB, free: 12.01 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002157/0.04371, allocations: 1.806 MB / 394.1 MB, free: 10.18 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.08e-05/0.04374, allocations: 49.81 kB / 394.1 MB, free: 10.12 MB / 330.7 MB Notification: Performance of pre-optimization done (n=51): time 1.683e-06/0.04374, allocations: 0 / 394.1 MB, free: 10.12 MB / 330.7 MB Notification: Performance of matching and sorting (n=57): time 0.005855/0.04959, allocations: 3.005 MB / 397.1 MB, free: 7.055 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.413e-05/0.04964, allocations: 85.61 kB / 397.2 MB, free: 6.949 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009577/0.0506, allocations: 1.142 MB / 398.3 MB, free: 5.789 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.747e-05/0.05062, allocations: 37.7 kB / 398.4 MB, free: 5.746 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005039/0.05113, allocations: 1.039 MB / 399.4 MB, free: 4.691 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001254/0.05125, allocations: 226.2 kB / 399.6 MB, free: 4.469 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002632/0.05152, allocations: 333 kB / 400 MB, free: 4.133 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.05168, allocations: 0.5394 MB / 400.5 MB, free: 3.586 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000239/0.05192, allocations: 163.9 kB / 400.7 MB, free: 3.426 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00113/0.05305, allocations: 1.419 MB / 402.1 MB, free: 1.438 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001117/0.05416, allocations: 1.717 MB / 403.8 MB, free: 15.16 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.095e-05/0.05417, allocations: 11.98 kB / 403.8 MB, free: 15.14 MB / 346.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.001304/0.05548, allocations: 1.314 MB / 405.1 MB, free: 13.82 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.432e-05/0.0555, allocations: 16 kB / 405.1 MB, free: 13.8 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.156e-05/0.05553, allocations: 32 kB / 405.2 MB, free: 13.77 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001589/0.05568, allocations: 71.66 kB / 405.2 MB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000603/0.05629, allocations: 359.3 kB / 405.6 MB, free: 13.35 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001386/0.05767, allocations: 2.145 MB / 407.7 MB, free: 11.08 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005011/0.05817, allocations: 99.92 kB / 407.8 MB, free: 10.98 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-05/0.05825, allocations: 88 kB / 407.9 MB, free: 10.89 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.0002901/0.05854, allocations: 294.4 kB / 408.2 MB, free: 10.6 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001147/0.05865, allocations: 131.2 kB / 408.3 MB, free: 10.47 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005125/0.05916, allocations: 460.3 kB / 408.8 MB, free: 10 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.05917, allocations: 4 kB / 408.8 MB, free: 10 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.05917, allocations: 4 kB / 408.8 MB, free: 9.996 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.05918, allocations: 3.984 kB / 408.8 MB, free: 9.992 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001799/0.06098, allocations: 1.765 MB / 410.6 MB, free: 8.113 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.06098, allocations: 4 kB / 410.6 MB, free: 8.109 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002012/0.06118, allocations: 99.83 kB / 410.7 MB, free: 8.012 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000118/0.0613, allocations: 56.14 kB / 410.7 MB, free: 7.953 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.297e-05/0.06132, allocations: 16 kB / 410.7 MB, free: 7.938 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009937/0.06232, allocations: 2.177 MB / 412.9 MB, free: 5.645 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.06232, allocations: 4 kB / 412.9 MB, free: 5.641 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006816/0.063, allocations: 0.8189 MB / 413.7 MB, free: 4.738 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001832/0.06319, allocations: 155.2 kB / 413.9 MB, free: 4.586 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.999e-05/0.06325, allocations: 16 kB / 413.9 MB, free: 4.57 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002331/0.06348, allocations: 51.88 kB / 413.9 MB, free: 4.52 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007061/0.06419, allocations: 43.88 kB / 414 MB, free: 4.477 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.091e-05/0.06421, allocations: 23.98 kB / 414 MB, free: 4.453 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005176/0.06472, allocations: 0.5895 MB / 414.6 MB, free: 3.855 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.06472, allocations: 0 / 414.6 MB, free: 3.855 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009907/0.06572, allocations: 368 kB / 415 MB, free: 3.496 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.000315/0.06603, allocations: 155 kB / 415.1 MB, free: 3.332 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009652/0.067, allocations: 0.8568 MB / 416 MB, free: 2.465 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.067, allocations: 0 / 416 MB, free: 2.465 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002816/0.06728, allocations: 370 kB / 416.3 MB, free: 2.082 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006041/0.06788, allocations: 177.4 kB / 416.5 MB, free: 1.906 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002959/0.07084, allocations: 2.542 MB / 419 MB, free: 15.25 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002988/0.07114, allocations: 408.2 kB / 419.4 MB, free: 14.83 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000507/0.07165, allocations: 361.1 kB / 419.8 MB, free: 14.47 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001198/0.07177, allocations: 76.48 kB / 419.9 MB, free: 14.39 MB / 362.7 MB Notification: Performance of SimCode: time 1.042e-06/0.07177, allocations: 0 / 419.9 MB, free: 14.39 MB / 362.7 MB Notification: Performance of Templates: time 0.01569/0.08746, allocations: 11 MB / 430.9 MB, free: 3.516 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) [Timeout 240] 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","",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.442720531951636]