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.001604/0.001604, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001841/0.001841, allocations: 219.7 kB / 22.99 MB, free: 4.977 MB / 14.72 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.62/1.62, allocations: 207.7 MB / 233.8 MB, free: 9.793 MB / 190.1 MB " [Timeout remaining time 178] 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.2383/0.2383, allocations: 44.27 MB / 330.3 MB, free: 9.305 MB / 270.1 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002423/0.002423, allocations: 68.28 kB / 468 MB, free: 3.832 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1385, allocations: 61.04 MB / 0.5167 GB, free: 6.664 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01405/0.1525, allocations: 11.04 MB / 0.5274 GB, free: 11.56 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008234/0.1608, allocations: 3.716 MB / 0.5311 GB, free: 7.836 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001459/0.1622, allocations: 71.75 kB / 0.5311 GB, free: 7.766 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002733/0.1649, allocations: 1.315 MB / 0.5324 GB, free: 6.445 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00404/0.169, allocations: 1.845 MB / 0.5342 GB, free: 4.594 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009892/0.17, allocations: 423.2 kB / 0.5346 GB, free: 4.18 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004884/0.1749, allocations: 3.657 MB / 0.5382 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2721/0.4469, allocations: 1.875 MB / 0.54 GB, free: 11.03 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003186/0.4501, allocations: 1.259 MB / 0.5413 GB, free: 10.98 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004402/0.4545, allocations: 1.877 MB / 0.5431 GB, free: 10.76 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001055/0.4556, allocations: 242.7 kB / 0.5433 GB, free: 10.76 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002761/0.4583, allocations: 0.7287 MB / 0.544 GB, free: 10.76 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002544/0.4609, allocations: 1.662 MB / 0.5457 GB, free: 10.54 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0026/0.4635, allocations: 1.394 MB / 0.547 GB, free: 9.973 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01157/0.475, allocations: 6.309 MB / 0.5532 GB, free: 8.891 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.475, allocations: 0 / 0.5532 GB, free: 8.891 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.475, allocations: 0 / 0.5532 GB, free: 8.891 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002333/0.4753, allocations: 0 / 0.5532 GB, free: 8.891 MB / 414.1 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.01509/0.4904, allocations: 4.197 MB / 0.5573 GB, free: 6.918 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.4904, allocations: 9.156 kB / 0.5573 GB, free: 6.918 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01247/0.5029, allocations: 3.098 MB / 0.5603 GB, free: 6.523 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006683/0.5096, allocations: 1.963 MB / 0.5622 GB, free: 5.684 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000248/0.5098, allocations: 194.7 kB / 0.5624 GB, free: 5.633 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001449/0.5113, allocations: 256.4 kB / 0.5627 GB, free: 5.586 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0192/0.5305, allocations: 10.4 MB / 0.5728 GB, free: 356 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.222e-05/0.5306, allocations: 26.16 kB / 0.5728 GB, free: 356 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004013/0.531, allocations: 117.2 kB / 0.5729 GB, free: 316 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004307/0.5353, allocations: 2.556 MB / 0.5754 GB, free: 15.33 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02422/0.5595, allocations: 9.436 MB / 0.5847 GB, free: 10.28 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05485/0.6144, allocations: 29.37 MB / 0.6133 GB, free: 12.64 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006618/0.621, allocations: 2.369 MB / 0.6156 GB, free: 10.28 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001932/0.6229, allocations: 0.9995 MB / 0.6166 GB, free: 9.281 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009556/0.6239, allocations: 428.7 kB / 0.617 GB, free: 8.867 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.348e-05/0.6239, allocations: 55.88 kB / 0.6171 GB, free: 8.805 MB / 462.1 MB Notification: Performance of pre-optimization done (n=187): time 5.44e-06/0.6239, allocations: 2.812 kB / 0.6171 GB, free: 8.805 MB / 462.1 MB Notification: Performance of matching and sorting (n=193): time 0.02416/0.6481, allocations: 9.658 MB / 0.6265 GB, free: 15.12 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.74e-05/0.6482, allocations: 94.42 kB / 0.6266 GB, free: 15.01 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004967/0.6531, allocations: 2.664 MB / 0.6292 GB, free: 12.32 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002235/0.6534, allocations: 47.42 kB / 0.6293 GB, free: 12.27 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002732/0.6561, allocations: 2.873 MB / 0.6321 GB, free: 9.402 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001046/0.6571, allocations: 0.7459 MB / 0.6328 GB, free: 8.668 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001937/0.6591, allocations: 0.9914 MB / 0.6338 GB, free: 7.668 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002701/0.6594, allocations: 361.9 kB / 0.6341 GB, free: 7.309 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00314/0.6625, allocations: 1.563 MB / 0.6356 GB, free: 5.738 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005808/0.6683, allocations: 4.482 MB / 0.64 GB, free: 15.86 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009418/0.6777, allocations: 6.7 MB / 0.6465 GB, free: 8.145 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001109/0.6778, allocations: 31.94 kB / 0.6466 GB, free: 8.113 MB / 494.1 MB Notification: Performance of matching and sorting (n=661) (initialization): time 0.01244/0.6903, allocations: 5.956 MB / 0.6524 GB, free: 2.141 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001256/0.6904, allocations: 52 kB / 0.6524 GB, free: 2.09 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001906/0.6906, allocations: 100 kB / 0.6525 GB, free: 1.992 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000446/0.691, allocations: 180.8 kB / 0.6527 GB, free: 1.812 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004038/0.6951, allocations: 1.092 MB / 0.6538 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002024/0.6971, allocations: 1.678 MB / 0.6554 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003353/0.7005, allocations: 214.2 kB / 0.6556 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008792/0.7013, allocations: 300 kB / 0.6559 GB, free: 14.45 MB / 0.4981 GB 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.004822/0.7062, allocations: 2.026 MB / 0.6579 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000644/0.7068, allocations: 250.3 kB / 0.6581 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004807/0.7116, allocations: 2.525 MB / 0.6606 GB, free: 9.617 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.68e-05/0.7116, allocations: 20 kB / 0.6606 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.271e-05/0.7117, allocations: 15.67 kB / 0.6606 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.415e-05/0.7117, allocations: 3.984 kB / 0.6606 GB, free: 9.582 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01595/0.7276, allocations: 6.696 MB / 0.6672 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.633e-05/0.7277, allocations: 12 kB / 0.6672 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001143/0.7288, allocations: 256.5 kB / 0.6674 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001877/0.729, allocations: 60.83 kB / 0.6675 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001826/0.7292, allocations: 37.95 kB / 0.6675 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001576/0.7307, allocations: 1.501 MB / 0.669 GB, free: 0.7852 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.374e-05/0.7308, allocations: 16.38 kB / 0.669 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006342/0.7371, allocations: 4.04 MB / 0.6729 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001623/0.7387, allocations: 438.1 kB / 0.6734 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007214/0.7394, allocations: 39.34 kB / 0.6734 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001272/0.7407, allocations: 63.95 kB / 0.6735 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000283/0.741, allocations: 124.6 kB / 0.6736 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001538/0.7412, allocations: 71.98 kB / 0.6737 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003695/0.7449, allocations: 1.498 MB / 0.6751 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7449, allocations: 4 kB / 0.6751 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005458/0.7503, allocations: 0.808 MB / 0.6759 GB, free: 9.535 MB / 0.5137 GB 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.0006256/0.7509, allocations: 185.4 kB / 0.6761 GB, free: 9.344 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006833/0.7578, allocations: 3.764 MB / 0.6798 GB, free: 5.602 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.293e-05/0.7578, allocations: 8.25 kB / 0.6798 GB, free: 5.594 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001855/0.7596, allocations: 1.169 MB / 0.6809 GB, free: 4.41 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002048/0.7617, allocations: 252.9 kB / 0.6811 GB, free: 4.164 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02019/0.7819, allocations: 8.849 MB / 0.6898 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004981/0.7869, allocations: 2.65 MB / 0.6924 GB, free: 8.469 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004126/0.791, allocations: 1.703 MB / 0.694 GB, free: 6.762 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005708/0.7916, allocations: 179.4 kB / 0.6942 GB, free: 6.586 MB / 0.5294 GB Notification: Performance of SimCode: time 7.21e-07/0.7916, allocations: 0 / 0.6942 GB, free: 6.586 MB / 0.5294 GB Notification: Performance of Templates: time 0.04766/0.8392, allocations: 19.94 MB / 0.7137 GB, free: 2.77 MB / 0.545 GB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 6.766478959470987]