Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001821/0.001821, allocations: 123.4 kB / 17.79 MB, free: 5.266 MB / 14.72 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.002293/0.002293, allocations: 200.3 kB / 20.74 MB, free: 2.32 MB / 14.72 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.53/1.53, allocations: 230.6 MB / 254.1 MB, free: 15.1 MB / 206.1 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.2588/0.2588, allocations: 46.93 MB / 357.1 MB, free: 10.33 MB / 286.1 MB " [Timeout remaining time 180] 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.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic") translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002036/0.002036, allocations: 75.88 kB / 0.4914 GB, free: 7.488 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1592, allocations: 65.99 MB / 0.5559 GB, free: 5.371 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01638/0.1756, allocations: 12.32 MB / 0.5679 GB, free: 8.988 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01113/0.1868, allocations: 3.878 MB / 0.5717 GB, free: 5.094 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002525/0.1893, allocations: 71.75 kB / 0.5717 GB, free: 5.023 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003502/0.1928, allocations: 1.335 MB / 0.573 GB, free: 3.684 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005434/0.1982, allocations: 1.759 MB / 0.5748 GB, free: 1.918 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001324/0.1995, allocations: 427.2 kB / 0.5752 GB, free: 1.5 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005651/0.2052, allocations: 3.599 MB / 0.5787 GB, free: 13.89 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003123/0.2083, allocations: 1.775 MB / 0.5804 GB, free: 12.08 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002326/0.2106, allocations: 1.214 MB / 0.5816 GB, free: 10.86 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002714/0.2134, allocations: 1.912 MB / 0.5835 GB, free: 8.945 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005173/0.2139, allocations: 240 kB / 0.5837 GB, free: 8.711 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002143/0.216, allocations: 0.8424 MB / 0.5845 GB, free: 7.867 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002016/0.218, allocations: 1.597 MB / 0.5861 GB, free: 6.266 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00249/0.2205, allocations: 1.875 MB / 0.5879 GB, free: 4.379 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3558/0.5763, allocations: 6.091 MB / 0.5939 GB, free: 12.49 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.5763, allocations: 0 / 0.5939 GB, free: 12.49 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.5763, allocations: 0 / 0.5939 GB, free: 12.49 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001942/0.5765, allocations: 0 / 0.5939 GB, free: 12.49 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1514 * Number of variables: 1514 Notification: Performance of Generate backend data structure: time 0.007782/0.5843, allocations: 4.128 MB / 0.5979 GB, free: 10.67 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/0.5843, allocations: 9.375 kB / 0.5979 GB, free: 10.67 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01317/0.5975, allocations: 3.098 MB / 0.6009 GB, free: 10.38 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006648/0.6042, allocations: 1.916 MB / 0.6028 GB, free: 9.875 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002847/0.6044, allocations: 188 kB / 0.603 GB, free: 9.867 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001445/0.6059, allocations: 244.8 kB / 0.6032 GB, free: 9.867 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01955/0.6254, allocations: 10.18 MB / 0.6132 GB, free: 7.934 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.555e-05/0.6255, allocations: 30.64 kB / 0.6132 GB, free: 7.93 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004164/0.626, allocations: 122.4 kB / 0.6133 GB, free: 7.887 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004258/0.6302, allocations: 2.461 MB / 0.6157 GB, free: 7.48 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01906/0.6493, allocations: 9.352 MB / 0.6248 GB, free: 4.688 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05238/0.7017, allocations: 31.53 MB / 0.6556 GB, free: 6.594 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00693/0.7086, allocations: 3.248 MB / 0.6588 GB, free: 3.121 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001856/0.7104, allocations: 0.9915 MB / 0.6598 GB, free: 2.129 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001415/0.7119, allocations: 1.313 MB / 0.661 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.451e-05/0.7119, allocations: 47.34 kB / 0.6611 GB, free: 0.5547 MB / 478.1 MB Notification: Performance of pre-optimization done (n=185): time 6.081e-06/0.7119, allocations: 4 kB / 0.6611 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of matching and sorting (n=191): time 0.02323/0.7351, allocations: 9.163 MB / 0.67 GB, free: 7.324 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.852e-05/0.7352, allocations: 64.72 kB / 0.6701 GB, free: 7.246 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004911/0.7401, allocations: 2.608 MB / 0.6727 GB, free: 4.621 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001244/0.7403, allocations: 49.7 kB / 0.6727 GB, free: 4.566 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0024/0.7427, allocations: 2.781 MB / 0.6754 GB, free: 1.805 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008132/0.7435, allocations: 0.7325 MB / 0.6761 GB, free: 1.082 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001545/0.745, allocations: 0.9764 MB / 0.6771 GB, free: 100 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.7452, allocations: 309.1 kB / 0.6774 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002685/0.7479, allocations: 1.544 MB / 0.6789 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005388/0.7533, allocations: 4.397 MB / 0.6832 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00878/0.762, allocations: 6.56 MB / 0.6896 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.932e-05/0.7621, allocations: 28 kB / 0.6896 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01115/0.7733, allocations: 5.867 MB / 0.6953 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.665e-05/0.7734, allocations: 53.81 kB / 0.6954 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001597/0.7735, allocations: 100.8 kB / 0.6955 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000414/0.7739, allocations: 173.5 kB / 0.6957 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003358/0.7773, allocations: 1.074 MB / 0.6967 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00208/0.7794, allocations: 1.8 MB / 0.6985 GB, free: 8.148 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003187/0.7826, allocations: 201.1 kB / 0.6987 GB, free: 7.953 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000543/0.7831, allocations: 296 kB / 0.6989 GB, free: 7.664 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 453 * Number of states: 0 () * Number of discrete variables: 29 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,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 (596): * Single equations (assignments): 589 * 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.003963/0.7871, allocations: 1.989 MB / 0.7009 GB, free: 5.664 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007009/0.7878, allocations: 258.2 kB / 0.7011 GB, free: 5.41 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004928/0.7927, allocations: 2.537 MB / 0.7036 GB, free: 2.848 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.238e-05/0.7928, allocations: 23.94 kB / 0.7036 GB, free: 2.824 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.445e-06/0.7928, allocations: 0 / 0.7036 GB, free: 2.824 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.36e-05/0.7928, allocations: 3.984 kB / 0.7036 GB, free: 2.82 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0172/0.81, allocations: 7.93 MB / 0.7114 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.784e-05/0.81, allocations: 16.25 kB / 0.7114 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001092/0.8111, allocations: 243.9 kB / 0.7116 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002068/0.8113, allocations: 62.03 kB / 0.7117 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000142/0.8115, allocations: 43.98 kB / 0.7117 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001806/0.8133, allocations: 1.625 MB / 0.7133 GB, free: 8.609 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.279e-05/0.8133, allocations: 11.94 kB / 0.7133 GB, free: 8.598 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006105/0.8194, allocations: 4.037 MB / 0.7173 GB, free: 4.414 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008042/0.8202, allocations: 307.3 kB / 0.7176 GB, free: 4.094 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004994/0.8207, allocations: 40 kB / 0.7176 GB, free: 4.055 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001066/0.8218, allocations: 55.94 kB / 0.7176 GB, free: 4 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002441/0.822, allocations: 128.4 kB / 0.7178 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001337/0.8221, allocations: 60.19 kB / 0.7178 GB, free: 3.82 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003283/0.8254, allocations: 1.607 MB / 0.7194 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.8254, allocations: 2.297 kB / 0.7194 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004514/0.8299, allocations: 0.7772 MB / 0.7202 GB, free: 1.422 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * 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 (139): * Single equations (assignments): 132 * 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.0006484/0.8306, allocations: 186 kB / 0.7203 GB, free: 1.234 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006984/0.8376, allocations: 3.727 MB / 0.724 GB, free: 13.52 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.844e-06/0.8376, allocations: 64 / 0.724 GB, free: 13.52 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001843/0.8394, allocations: 1.166 MB / 0.7251 GB, free: 12.34 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002235/0.8417, allocations: 348.7 kB / 0.7254 GB, free: 12.02 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01726/0.8589, allocations: 8.537 MB / 0.7338 GB, free: 3.328 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004868/0.8638, allocations: 3.129 MB / 0.7368 GB, free: 176 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004014/0.8678, allocations: 1.706 MB / 0.7385 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005165/0.8683, allocations: 187.4 kB / 0.7387 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of SimCode: time 1.473e-06/0.8683, allocations: 0 / 0.7387 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of Templates: time 0.05241/0.9207, allocations: 21.23 MB / 0.7594 GB, free: 9.207 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.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: 7.000048603862524]