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.001543/0.001543, allocations: 80.2 kB / 20.65 MB, free: 3.844 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.001341/0.001341, allocations: 173 kB / 24.06 MB, free: 456 kB / 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.036/1.036, allocations: 158.6 MB / 185.9 MB, free: 2.789 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.1708/0.1708, allocations: 32.37 MB / 270.7 MB, free: 14.53 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.994e-06/1.994e-06, allocations: 0 / 348.1 MB, free: 9.176 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.499e-05/1.698e-05, allocations: 4.281 kB / 348.1 MB, free: 9.172 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.005871/0.005888, allocations: 8.248 MB / 356.4 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005127/0.01101, allocations: 3.347 MB / 359.7 MB, free: 13.52 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005389/0.01155, allocations: 51.75 kB / 359.8 MB, free: 13.47 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001733/0.01329, allocations: 1.46 MB / 361.2 MB, free: 12.01 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001621/0.01491, allocations: 1.003 MB / 362.2 MB, free: 11 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007675/0.01567, allocations: 0.5574 MB / 362.8 MB, free: 10.44 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001374/0.01705, allocations: 2.007 MB / 364.8 MB, free: 8.434 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001402/0.01845, allocations: 1.569 MB / 366.4 MB, free: 6.828 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009485/0.0194, allocations: 1.072 MB / 367.4 MB, free: 5.754 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008328/0.02023, allocations: 0.9821 MB / 368.4 MB, free: 4.77 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001487/0.02038, allocations: 140 kB / 368.6 MB, free: 4.633 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006485/0.02103, allocations: 0.5889 MB / 369.1 MB, free: 4.043 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004784/0.02151, allocations: 0.791 MB / 369.9 MB, free: 3.25 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003851/0.02189, allocations: 0.5453 MB / 370.5 MB, free: 2.699 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001569/0.02346, allocations: 1.752 MB / 372.2 MB, free: 0.9414 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.02347, allocations: 0 / 372.2 MB, free: 0.9414 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.02347, allocations: 0 / 372.2 MB, free: 0.9414 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.753e-05/0.02349, allocations: 0 / 372.2 MB, free: 0.9414 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.00272/0.02621, allocations: 2.065 MB / 374.3 MB, free: 14.83 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.498e-05/0.02627, allocations: 12.03 kB / 374.3 MB, free: 14.82 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007725/0.02704, allocations: 403.5 kB / 374.7 MB, free: 14.42 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000836/0.02788, allocations: 0.8663 MB / 375.6 MB, free: 13.52 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.677e-05/0.02794, allocations: 98.81 kB / 375.7 MB, free: 13.42 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001168/0.02805, allocations: 120.3 kB / 375.8 MB, free: 13.3 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001935/0.02999, allocations: 1.772 MB / 377.6 MB, free: 11.26 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.326e-05/0.03002, allocations: 15.88 kB / 377.6 MB, free: 11.25 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.656e-05/0.0301, allocations: 55.97 kB / 377.6 MB, free: 11.19 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000327/0.03042, allocations: 410.1 kB / 378 MB, free: 10.79 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001281/0.03171, allocations: 0.7456 MB / 378.8 MB, free: 10.03 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007153/0.03886, allocations: 11.5 MB / 390.3 MB, free: 14.2 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001897/0.04076, allocations: 0.9702 MB / 391.2 MB, free: 13.2 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001896/0.04094, allocations: 176.8 kB / 391.4 MB, free: 13.02 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001793/0.04274, allocations: 1.766 MB / 393.2 MB, free: 11.23 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.257e-05/0.04277, allocations: 45.89 kB / 393.2 MB, free: 11.18 MB / 330.7 MB Notification: Performance of pre-optimization done (n=51): time 1.804e-06/0.04277, allocations: 0 / 393.2 MB, free: 11.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=57): time 0.005599/0.04837, allocations: 2.655 MB / 395.9 MB, free: 8.465 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.257e-05/0.04841, allocations: 85.61 kB / 396 MB, free: 8.359 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000854/0.04927, allocations: 1.15 MB / 397.1 MB, free: 7.191 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.924e-05/0.0493, allocations: 37.7 kB / 397.2 MB, free: 7.148 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005246/0.04982, allocations: 1.058 MB / 398.2 MB, free: 6.074 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001254/0.04995, allocations: 234.1 kB / 398.4 MB, free: 5.844 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003007/0.05025, allocations: 352.8 kB / 398.8 MB, free: 5.488 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002067/0.05045, allocations: 0.5393 MB / 399.3 MB, free: 4.941 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002216/0.05068, allocations: 151.9 kB / 399.5 MB, free: 4.793 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009422/0.05162, allocations: 1.449 MB / 400.9 MB, free: 2.754 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001107/0.05273, allocations: 1.739 MB / 402.7 MB, free: 440 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.088e-05/0.05274, allocations: 12 kB / 402.7 MB, free: 428 kB / 330.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.001243/0.05398, allocations: 1.243 MB / 403.9 MB, free: 15.16 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/0.054, allocations: 16 kB / 403.9 MB, free: 15.15 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.27e-05/0.05403, allocations: 32.91 kB / 404 MB, free: 15.12 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001428/0.05417, allocations: 79.66 kB / 404 MB, free: 15.04 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006081/0.05478, allocations: 363.3 kB / 404.4 MB, free: 14.68 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001233/0.05601, allocations: 2.114 MB / 406.5 MB, free: 12.45 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004889/0.0565, allocations: 64 kB / 406.6 MB, free: 12.38 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.947e-05/0.05657, allocations: 76 kB / 406.6 MB, free: 12.31 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 139 * 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 (199): * Single equations (assignments): 198 * 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.0003347/0.0569, allocations: 302.5 kB / 406.9 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001156/0.05702, allocations: 131.2 kB / 407.1 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004594/0.05748, allocations: 420.4 kB / 407.5 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.199e-06/0.05748, allocations: 8 kB / 407.5 MB, free: 11.44 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.05749, allocations: 0 / 407.5 MB, free: 11.44 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.05749, allocations: 4 kB / 407.5 MB, free: 11.44 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001739/0.05923, allocations: 1.734 MB / 409.2 MB, free: 9.59 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.05924, allocations: 4 kB / 409.2 MB, free: 9.586 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001967/0.05943, allocations: 99.77 kB / 409.3 MB, free: 9.488 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000116/0.05955, allocations: 47.64 kB / 409.4 MB, free: 9.438 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.089e-05/0.05957, allocations: 12 kB / 409.4 MB, free: 9.426 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001072/0.06064, allocations: 2.142 MB / 411.5 MB, free: 7.172 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.06064, allocations: 7.938 kB / 411.5 MB, free: 7.164 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006273/0.06127, allocations: 0.7803 MB / 412.3 MB, free: 6.301 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001766/0.06145, allocations: 143.2 kB / 412.5 MB, free: 6.16 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.48e-05/0.06151, allocations: 20 kB / 412.5 MB, free: 6.141 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001986/0.06171, allocations: 12 kB / 412.5 MB, free: 6.129 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.223e-05/0.06176, allocations: 51.8 kB / 412.5 MB, free: 6.078 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.776e-05/0.06178, allocations: 16 kB / 412.6 MB, free: 6.062 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004378/0.06222, allocations: 0.5547 MB / 413.1 MB, free: 5.5 MB / 346.7 MB Notification: Performance of sort global known variables: time 4e-08/0.06222, allocations: 0 / 413.1 MB, free: 5.5 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008908/0.06311, allocations: 367.9 kB / 413.5 MB, free: 5.141 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.0002779/0.06339, allocations: 151 kB / 413.6 MB, free: 4.984 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008266/0.06421, allocations: 0.8212 MB / 414.4 MB, free: 4.152 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.06422, allocations: 0.75 kB / 414.4 MB, free: 4.152 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002715/0.06449, allocations: 366.2 kB / 414.8 MB, free: 3.773 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006127/0.0651, allocations: 181.4 kB / 415 MB, free: 3.594 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00303/0.06813, allocations: 2.535 MB / 417.5 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003554/0.06849, allocations: 412.2 kB / 417.9 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000323/0.06881, allocations: 153.7 kB / 418.1 MB, free: 372 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003375/0.06915, allocations: 266.1 kB / 418.3 MB, free: 104 kB / 346.7 MB Notification: Performance of SimCode: time 1.192e-06/0.06915, allocations: 0 / 418.3 MB, free: 104 kB / 346.7 MB Notification: Performance of Templates: time 0.01778/0.08692, allocations: 11.85 MB / 430.2 MB, free: 4.34 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.488799765240401]