Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.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.001101/0.001101, allocations: 88.2 kB / 20.94 MB, free: 3.609 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.001813/0.001813, allocations: 169 kB / 24.24 MB, free: 316 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 0.9181/0.9181, allocations: 158.6 MB / 186 MB, free: 2.914 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.1354/0.1354, allocations: 32.37 MB / 270.7 MB, free: 14.77 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.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic") translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 3.938 kB / 347.7 MB, free: 9.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.603e-05/2.79e-05, allocations: 4.281 kB / 347.7 MB, free: 9.766 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.008661/0.008689, allocations: 12.15 MB / 359.8 MB, free: 13.56 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00688/0.01557, allocations: 3.817 MB / 363.6 MB, free: 9.734 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001895/0.01746, allocations: 67.75 kB / 363.7 MB, free: 9.668 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00214/0.0196, allocations: 1.416 MB / 365.1 MB, free: 8.246 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003447/0.02305, allocations: 1.898 MB / 367 MB, free: 6.34 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008339/0.02389, allocations: 474.8 kB / 367.5 MB, free: 5.875 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003613/0.0275, allocations: 4 MB / 371.5 MB, free: 1.863 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002415/0.02991, allocations: 2.2 MB / 373.7 MB, free: 15.62 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002319/0.03223, allocations: 1.917 MB / 375.6 MB, free: 13.7 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002323/0.03455, allocations: 1.999 MB / 377.6 MB, free: 11.7 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004117/0.03497, allocations: 244 kB / 377.8 MB, free: 11.46 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00124/0.03621, allocations: 0.7956 MB / 378.6 MB, free: 10.66 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001178/0.03738, allocations: 1.745 MB / 380.4 MB, free: 8.914 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001103/0.03849, allocations: 1.047 MB / 381.4 MB, free: 7.863 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00435/0.04284, allocations: 4.073 MB / 385.5 MB, free: 3.773 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.04284, allocations: 0 / 385.5 MB, free: 3.773 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.04284, allocations: 0 / 385.5 MB, free: 3.773 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001558/0.043, allocations: 0 / 385.5 MB, free: 3.773 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1557 * Number of variables: 1557 Notification: Performance of Generate backend data structure: time 0.006314/0.04931, allocations: 4.632 MB / 390.1 MB, free: 15.07 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.04936, allocations: 8.031 kB / 390.1 MB, free: 15.07 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01068/0.06004, allocations: 3.656 MB / 393.8 MB, free: 11.4 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004211/0.06425, allocations: 1.756 MB / 395.6 MB, free: 9.605 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001796/0.06443, allocations: 201.2 kB / 395.8 MB, free: 9.406 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006034/0.06503, allocations: 252.2 kB / 396 MB, free: 9.16 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008722/0.07375, allocations: 5.283 MB / 401.3 MB, free: 3.266 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.819e-05/0.07384, allocations: 19.81 kB / 401.3 MB, free: 3.246 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002829/0.07412, allocations: 127.8 kB / 401.4 MB, free: 3.121 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002617/0.07674, allocations: 2.534 MB / 404 MB, free: 0.5859 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008776/0.08552, allocations: 3.121 MB / 407.1 MB, free: 13.45 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03149/0.117, allocations: 32.88 MB / 440 MB, free: 11.56 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003128/0.1201, allocations: 1.276 MB / 441.2 MB, free: 10.27 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006248/0.1208, allocations: 367.2 kB / 441.6 MB, free: 9.906 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004959/0.1213, allocations: 392.8 kB / 442 MB, free: 9.52 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.523e-05/0.1213, allocations: 54.62 kB / 442 MB, free: 9.457 MB / 378.7 MB Notification: Performance of pre-optimization done (n=187): time 5.32e-06/0.1213, allocations: 0 / 442 MB, free: 9.457 MB / 378.7 MB Notification: Performance of matching and sorting (n=193): time 0.01267/0.134, allocations: 6.204 MB / 448.2 MB, free: 3.203 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.214e-05/0.134, allocations: 94.42 kB / 448.3 MB, free: 3.094 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003157/0.1372, allocations: 2.514 MB / 450.8 MB, free: 0.5469 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001144/0.1373, allocations: 49.64 kB / 450.9 MB, free: 0.4922 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1571/0.2944, allocations: 2.977 MB / 453.9 MB, free: 84.95 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000665/0.295, allocations: 0.7712 MB / 454.6 MB, free: 84.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000867/0.2959, allocations: 1.06 MB / 455.7 MB, free: 84.38 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.296, allocations: 0.534 MB / 456.2 MB, free: 83.9 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008718/0.2969, allocations: 0.5133 MB / 456.7 MB, free: 83.89 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00186/0.2988, allocations: 4.823 MB / 461.6 MB, free: 78.35 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003851/0.3026, allocations: 5.914 MB / 467.5 MB, free: 72.77 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.376e-05/0.3027, allocations: 32.83 kB / 467.5 MB, free: 72.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=661) (initialization): time 0.006078/0.3088, allocations: 4.119 MB / 471.6 MB, free: 72.41 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.994e-05/0.3088, allocations: 55.44 kB / 471.7 MB, free: 72.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001076/0.3089, allocations: 103.7 kB / 471.8 MB, free: 72.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003546/0.3093, allocations: 170.1 kB / 472 MB, free: 72.39 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00209/0.3114, allocations: 1.097 MB / 473.1 MB, free: 72.29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001194/0.3126, allocations: 2.051 MB / 475.1 MB, free: 70.51 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002105/0.3147, allocations: 245.6 kB / 475.3 MB, free: 70.51 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002844/0.315, allocations: 304.5 kB / 475.6 MB, free: 70.51 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 466 * Number of states: 0 () * Number of discrete variables: 27 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],axis.color[3],axis.color[2],axis.color[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 (609): * Single equations (assignments): 602 * Array equations: 6 * 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.001211/0.3162, allocations: 0.5504 MB / 476.2 MB, free: 70.18 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003127/0.3165, allocations: 299.7 kB / 476.5 MB, free: 70.04 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001505/0.318, allocations: 1.354 MB / 477.8 MB, free: 69.88 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.069e-05/0.318, allocations: 19.44 kB / 477.9 MB, free: 69.88 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.318, allocations: 7.812 kB / 477.9 MB, free: 69.88 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/0.318, allocations: 5.859 kB / 477.9 MB, free: 69.88 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005907/0.324, allocations: 5.162 MB / 483 MB, free: 68.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.055e-05/0.324, allocations: 12.25 kB / 483 MB, free: 68.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005432/0.3245, allocations: 249.5 kB / 483.3 MB, free: 68.06 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001199/0.3246, allocations: 57.31 kB / 483.3 MB, free: 68.04 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.551e-05/0.3247, allocations: 43.72 kB / 483.4 MB, free: 68.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000667/0.3254, allocations: 1.871 MB / 485.3 MB, free: 66.21 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.564e-06/0.3254, allocations: 17.62 kB / 485.3 MB, free: 66.2 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001789/0.3272, allocations: 1.979 MB / 487.3 MB, free: 64.42 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005322/0.3277, allocations: 417.4 kB / 487.7 MB, free: 64.05 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001636/0.3278, allocations: 39.89 kB / 487.7 MB, free: 64.01 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004729/0.3283, allocations: 84.08 kB / 487.8 MB, free: 63.95 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001384/0.3285, allocations: 124.9 kB / 487.9 MB, free: 63.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.627e-05/0.3285, allocations: 74.42 kB / 488 MB, free: 63.81 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00104/0.3296, allocations: 1.07 MB / 489 MB, free: 62.91 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3296, allocations: 0 / 489 MB, free: 62.91 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003111/0.3327, allocations: 0.8749 MB / 489.9 MB, free: 62.04 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * 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 (141): * Single equations (assignments): 134 * Array equations: 6 * 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 Backend phase and start with SimCode phase: time 0.0004242/0.3331, allocations: 201.5 kB / 490.1 MB, free: 61.84 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003545/0.3367, allocations: 2.39 MB / 492.5 MB, free: 59.71 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.71e-06/0.3367, allocations: 192 / 492.5 MB, free: 59.71 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007936/0.3375, allocations: 0.6747 MB / 493.2 MB, free: 59.09 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001262/0.3387, allocations: 267.9 kB / 493.4 MB, free: 58.86 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01078/0.3495, allocations: 7.325 MB / 0.489 GB, free: 51.88 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001187/0.3507, allocations: 1.172 MB / 0.4902 GB, free: 51.03 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002647/0.3533, allocations: 1.459 MB / 0.4916 GB, free: 50.21 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004094/0.3537, allocations: 181.8 kB / 0.4918 GB, free: 50.04 MB / 378.7 MB Notification: Performance of SimCode: time 2.425e-06/0.3537, allocations: 0 / 0.4918 GB, free: 50.04 MB / 378.7 MB Notification: Performance of Templates: time 0.03208/0.3858, allocations: 16.93 MB / 0.5083 GB, free: 33.48 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.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: 4.093593824887648]