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.000972/0.000972, 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.0009274/0.0009274, 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 0.9921/0.9921, 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.1297/0.1297, 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.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.843e-06/1.843e-06, allocations: 0 / 348.1 MB, free: 9.172 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.901e-05/3.086e-05, allocations: 8.219 kB / 348.1 MB, free: 9.164 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01037/0.0104, allocations: 11.87 MB / 360 MB, free: 13.23 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007129/0.01753, allocations: 3.793 MB / 363.8 MB, free: 9.43 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001867/0.01939, allocations: 67.75 kB / 363.9 MB, free: 9.363 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002207/0.0216, allocations: 1.397 MB / 365.3 MB, free: 7.961 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004043/0.02564, allocations: 1.91 MB / 367.2 MB, free: 6.043 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000902/0.02654, allocations: 466.9 kB / 367.6 MB, free: 5.586 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004605/0.03115, allocations: 4.003 MB / 371.6 MB, free: 1.574 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003207/0.03436, allocations: 2.204 MB / 373.8 MB, free: 15.33 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004528/0.03888, allocations: 1.941 MB / 375.8 MB, free: 13.39 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003797/0.04268, allocations: 1.972 MB / 377.7 MB, free: 11.41 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008127/0.04349, allocations: 244 kB / 378 MB, free: 11.17 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001934/0.04543, allocations: 0.7956 MB / 378.8 MB, free: 10.38 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001464/0.04689, allocations: 1.741 MB / 380.5 MB, free: 8.629 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001502/0.04839, allocations: 1.035 MB / 381.6 MB, free: 7.59 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005369/0.05376, allocations: 4.065 MB / 385.6 MB, free: 3.508 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.05377, allocations: 0 / 385.6 MB, free: 3.508 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.05377, allocations: 4 kB / 385.6 MB, free: 3.504 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002424/0.05401, allocations: 0 / 385.6 MB, free: 3.504 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.006318/0.06033, allocations: 4.487 MB / 390.1 MB, free: 14.95 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.273e-05/0.0604, allocations: 16.03 kB / 390.1 MB, free: 14.93 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005245/0.06565, allocations: 1.859 MB / 392 MB, free: 13.07 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003256/0.06891, allocations: 1.585 MB / 393.6 MB, free: 11.45 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001307/0.06904, allocations: 197.2 kB / 393.8 MB, free: 11.25 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005559/0.06959, allocations: 256.1 kB / 394 MB, free: 11 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008408/0.078, allocations: 4.782 MB / 398.8 MB, free: 5.609 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.937e-05/0.07808, allocations: 23.81 kB / 398.8 MB, free: 5.586 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003803/0.07846, allocations: 119.8 kB / 398.9 MB, free: 5.469 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002382/0.08084, allocations: 2.202 MB / 401.1 MB, free: 3.266 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007153/0.088, allocations: 2.502 MB / 403.6 MB, free: 0.7422 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03404/0.122, allocations: 32.41 MB / 436.1 MB, free: 15.31 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00264/0.1247, allocations: 1.194 MB / 437.2 MB, free: 14.1 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004189/0.1251, allocations: 307.4 kB / 437.5 MB, free: 13.8 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004531/0.1255, allocations: 408.7 kB / 437.9 MB, free: 13.4 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/0.1256, allocations: 50.7 kB / 438 MB, free: 13.34 MB / 378.7 MB Notification: Performance of pre-optimization done (n=187): time 3.627e-06/0.1256, allocations: 0 / 438 MB, free: 13.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=193): time 0.009254/0.1348, allocations: 4.723 MB / 442.7 MB, free: 8.578 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.662e-05/0.1349, allocations: 98.42 kB / 442.8 MB, free: 8.461 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002397/0.1373, allocations: 2.525 MB / 445.3 MB, free: 5.902 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.818e-05/0.1374, allocations: 45.7 kB / 445.4 MB, free: 5.852 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001632/0.139, allocations: 3.012 MB / 448.4 MB, free: 2.809 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005938/0.1396, allocations: 0.7753 MB / 449.2 MB, free: 2.027 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009753/0.1406, allocations: 1.085 MB / 450.3 MB, free: 0.9297 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002148/0.1408, allocations: 0.5472 MB / 450.8 MB, free: 384 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1717/0.3125, allocations: 466.6 kB / 451.3 MB, free: 97.35 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00261/0.3151, allocations: 4.838 MB / 456.1 MB, free: 91.75 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00333/0.3184, allocations: 5.829 MB / 461.9 MB, free: 86.01 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.425e-05/0.3185, allocations: 31.78 kB / 462 MB, free: 86.01 MB / 378.7 MB Notification: Performance of matching and sorting (n=666) (initialization): time 0.004691/0.3231, allocations: 3.868 MB / 465.8 MB, free: 85.18 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.688e-05/0.3232, allocations: 61.98 kB / 465.9 MB, free: 85.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001326/0.3234, allocations: 102.6 kB / 466 MB, free: 85.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002863/0.3236, allocations: 175.5 kB / 466.2 MB, free: 85.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001714/0.3254, allocations: 1.075 MB / 467.2 MB, free: 85.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009622/0.3263, allocations: 2.011 MB / 469.2 MB, free: 83.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001534/0.3279, allocations: 191.8 kB / 469.4 MB, free: 83.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002092/0.3281, allocations: 263.3 kB / 469.7 MB, free: 83.32 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 471 * 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 (614): * Single equations (assignments): 607 * 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.0009726/0.329, allocations: 0.5588 MB / 470.2 MB, free: 83.05 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002444/0.3293, allocations: 299.3 kB / 470.5 MB, free: 83.05 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001151/0.3304, allocations: 1.273 MB / 471.8 MB, free: 82.89 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.611e-05/0.3305, allocations: 18.66 kB / 471.8 MB, free: 82.89 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.3305, allocations: 7.75 kB / 471.8 MB, free: 82.89 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/0.3305, allocations: 3.234 kB / 471.8 MB, free: 82.89 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004815/0.3353, allocations: 4.989 MB / 476.8 MB, free: 81.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.416e-06/0.3353, allocations: 12 kB / 476.8 MB, free: 81.63 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004335/0.3357, allocations: 228.2 kB / 477.1 MB, free: 81.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.205e-05/0.3358, allocations: 48.31 kB / 477.1 MB, free: 81.4 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.326e-05/0.3359, allocations: 48.61 kB / 477.2 MB, free: 81.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005319/0.3364, allocations: 1.83 MB / 479 MB, free: 79.54 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.3364, allocations: 15.94 kB / 479 MB, free: 79.52 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001334/0.3377, allocations: 1.851 MB / 480.9 MB, free: 77.64 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003301/0.3381, allocations: 355.9 kB / 481.2 MB, free: 77.32 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001362/0.3382, allocations: 45.2 kB / 481.2 MB, free: 77.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003715/0.3386, allocations: 32 kB / 481.3 MB, free: 77.25 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001153/0.3387, allocations: 129.9 kB / 481.4 MB, free: 77.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.933e-05/0.3387, allocations: 58 kB / 481.5 MB, free: 77.12 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007149/0.3395, allocations: 1.008 MB / 482.5 MB, free: 76.39 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3395, allocations: 0 / 482.5 MB, free: 76.39 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002072/0.3415, allocations: 0.876 MB / 483.3 MB, free: 75.52 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.0002688/0.3418, allocations: 208 kB / 483.5 MB, free: 75.34 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001758/0.3436, allocations: 2.258 MB / 485.8 MB, free: 73.4 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.3436, allocations: 8.062 kB / 485.8 MB, free: 73.39 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004497/0.344, allocations: 0.6389 MB / 486.5 MB, free: 72.82 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001152/0.3452, allocations: 272.2 kB / 486.7 MB, free: 72.59 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01004/0.3552, allocations: 7.288 MB / 494 MB, free: 65.69 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001248/0.3564, allocations: 1.17 MB / 495.2 MB, free: 64.84 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0009418/0.3574, allocations: 388.2 kB / 495.6 MB, free: 64.47 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000448/0.3578, allocations: 442.1 kB / 496 MB, free: 64.04 MB / 378.7 MB Notification: Performance of SimCode: time 1.493e-06/0.3578, allocations: 4 kB / 496 MB, free: 64.04 MB / 378.7 MB Notification: Performance of Templates: time 0.02891/0.3868, allocations: 19.25 MB / 0.5032 GB, free: 44.91 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.050846355967224]