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.001704/0.001704, allocations: 75.77 kB / 20.51 MB, free: 1.121 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.002081/0.002081, allocations: 169.3 kB / 23.76 MB, free: 4.195 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.489/1.489, allocations: 158.6 MB / 185.5 MB, free: 6.156 MB / 174.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.2116/0.2116, allocations: 32.38 MB / 270.1 MB, free: 2.707 MB / 254.1 MB " [Timeout remaining time 179] 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.002355/0.002355, allocations: 71.91 kB / 407.8 MB, free: 5.527 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1377, allocations: 61.04 MB / 468.8 MB, free: 8.301 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.3126/0.4503, allocations: 11.04 MB / 479.8 MB, free: 43.98 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008498/0.4588, allocations: 3.722 MB / 483.6 MB, free: 43.2 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002241/0.461, allocations: 69.06 kB / 483.6 MB, free: 43.19 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002467/0.4635, allocations: 1.306 MB / 484.9 MB, free: 42.84 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004475/0.4679, allocations: 1.847 MB / 486.8 MB, free: 42.11 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00101/0.469, allocations: 422.8 kB / 487.2 MB, free: 41.96 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003823/0.4728, allocations: 3.651 MB / 490.9 MB, free: 40.58 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001944/0.4747, allocations: 1.886 MB / 492.7 MB, free: 39.71 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001527/0.4763, allocations: 1.259 MB / 494 MB, free: 39.2 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002424/0.4787, allocations: 1.884 MB / 495.9 MB, free: 38.61 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005524/0.4792, allocations: 245 kB / 496.1 MB, free: 38.6 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001676/0.4809, allocations: 0.7265 MB / 496.9 MB, free: 38.46 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001184/0.4821, allocations: 1.66 MB / 498.5 MB, free: 37.85 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001301/0.4834, allocations: 1.397 MB / 499.9 MB, free: 36.98 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006365/0.4898, allocations: 6.307 MB / 0.4943 GB, free: 34.59 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/0.4898, allocations: 0 / 0.4943 GB, free: 34.59 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.4898, allocations: 0 / 0.4943 GB, free: 34.59 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000215/0.49, allocations: 0 / 0.4943 GB, free: 34.59 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: 1557 * Number of variables: 1557 Notification: Performance of Generate backend data structure: time 0.01034/0.5003, allocations: 4.19 MB / 0.4984 GB, free: 32.09 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/0.5004, allocations: 13.34 kB / 0.4985 GB, free: 32.09 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01281/0.5132, allocations: 3.173 MB / 0.5016 GB, free: 31.68 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008603/0.5218, allocations: 1.962 MB / 0.5035 GB, free: 30.68 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002417/0.522, allocations: 193.9 kB / 0.5037 GB, free: 30.59 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001177/0.5232, allocations: 260.6 kB / 0.5039 GB, free: 30.49 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02341/0.5466, allocations: 10.39 MB / 0.5141 GB, free: 25.95 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000236/0.5468, allocations: 25.05 kB / 0.5141 GB, free: 25.94 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00151/0.5484, allocations: 120 kB / 0.5142 GB, free: 25.86 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005908/0.5543, allocations: 2.539 MB / 0.5167 GB, free: 24.86 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02018/0.5744, allocations: 9.436 MB / 0.5259 GB, free: 18.91 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0499/0.6243, allocations: 29.52 MB / 0.5547 GB, free: 4.566 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006523/0.6309, allocations: 2.45 MB / 0.5571 GB, free: 2.109 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001843/0.6327, allocations: 1.002 MB / 0.5581 GB, free: 1.109 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009579/0.6337, allocations: 442.8 kB / 0.5585 GB, free: 0.6758 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.656e-05/0.6337, allocations: 47.88 kB / 0.5586 GB, free: 0.6211 MB / 462.1 MB Notification: Performance of pre-optimization done (n=187): time 6.332e-06/0.6337, allocations: 0 / 0.5586 GB, free: 0.6211 MB / 462.1 MB Notification: Performance of matching and sorting (n=193): time 0.02756/0.6613, allocations: 9.902 MB / 0.5682 GB, free: 6.672 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.3e-05/0.6614, allocations: 94.42 kB / 0.5683 GB, free: 6.562 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005735/0.6671, allocations: 2.666 MB / 0.5709 GB, free: 3.867 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002852/0.6674, allocations: 49.69 kB / 0.571 GB, free: 3.812 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002733/0.6701, allocations: 2.869 MB / 0.5738 GB, free: 0.9141 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001081/0.6712, allocations: 0.7518 MB / 0.5745 GB, free: 160 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002179/0.6734, allocations: 0.9891 MB / 0.5755 GB, free: 15.16 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002524/0.6736, allocations: 365.9 kB / 0.5758 GB, free: 14.79 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002889/0.6765, allocations: 1.563 MB / 0.5773 GB, free: 13.22 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005446/0.682, allocations: 4.484 MB / 0.5817 GB, free: 7.297 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009633/0.6916, allocations: 6.692 MB / 0.5883 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000186/0.6918, allocations: 28 kB / 0.5883 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of matching and sorting (n=661) (initialization): time 0.01228/0.7041, allocations: 5.943 MB / 0.5941 GB, free: 9.18 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001253/0.7042, allocations: 55.98 kB / 0.5941 GB, free: 9.125 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001925/0.7044, allocations: 104.2 kB / 0.5942 GB, free: 9.023 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000439/0.7048, allocations: 176.8 kB / 0.5944 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003659/0.7085, allocations: 1.1 MB / 0.5955 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0019/0.7104, allocations: 1.673 MB / 0.5971 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003462/0.7139, allocations: 211.9 kB / 0.5973 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007739/0.7146, allocations: 295.9 kB / 0.5976 GB, free: 5.477 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.004528/0.7192, allocations: 2.04 MB / 0.5996 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007275/0.7199, allocations: 250.3 kB / 0.5998 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005378/0.7253, allocations: 2.532 MB / 0.6023 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-05/0.7253, allocations: 23.94 kB / 0.6023 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-05/0.7253, allocations: 4 kB / 0.6023 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-05/0.7254, allocations: 11.91 kB / 0.6023 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01593/0.7413, allocations: 6.726 MB / 0.6089 GB, free: 9.695 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.252e-05/0.7413, allocations: 12 kB / 0.6089 GB, free: 9.684 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001153/0.7425, allocations: 255.5 kB / 0.6092 GB, free: 9.434 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001977/0.7427, allocations: 52.84 kB / 0.6092 GB, free: 9.379 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001673/0.7428, allocations: 48.58 kB / 0.6093 GB, free: 9.332 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001602/0.7444, allocations: 1.5 MB / 0.6107 GB, free: 7.723 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-05/0.7445, allocations: 15.94 kB / 0.6107 GB, free: 7.707 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006114/0.7506, allocations: 4.046 MB / 0.6147 GB, free: 3.504 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001374/0.7519, allocations: 426.2 kB / 0.6151 GB, free: 3.086 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005545/0.7525, allocations: 39.98 kB / 0.6151 GB, free: 3.047 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001169/0.7537, allocations: 55.95 kB / 0.6152 GB, free: 2.992 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002444/0.7539, allocations: 132.5 kB / 0.6153 GB, free: 2.863 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001383/0.7541, allocations: 64.86 kB / 0.6154 GB, free: 2.801 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002902/0.757, allocations: 1.506 MB / 0.6168 GB, free: 1.281 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.757, allocations: 4.062 kB / 0.6169 GB, free: 1.277 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005018/0.762, allocations: 0.8085 MB / 0.6176 GB, free: 480 kB / 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.0006413/0.7626, allocations: 178.7 kB / 0.6178 GB, free: 292 kB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006868/0.7695, allocations: 3.775 MB / 0.6215 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.575e-05/0.7695, allocations: 4 kB / 0.6215 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001844/0.7713, allocations: 1.175 MB / 0.6226 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002164/0.7735, allocations: 266.2 kB / 0.6229 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02001/0.7935, allocations: 8.835 MB / 0.6315 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006906/0.8004, allocations: 2.652 MB / 0.6341 GB, free: 15.38 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005546/0.806, allocations: 1.701 MB / 0.6358 GB, free: 13.67 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007506/0.8067, allocations: 184.5 kB / 0.636 GB, free: 13.49 MB / 0.545 GB Notification: Performance of SimCode: time 2.003e-06/0.8067, allocations: 0 / 0.636 GB, free: 13.49 MB / 0.545 GB Notification: Performance of Templates: time 0.04652/0.8532, allocations: 15.81 MB / 0.6514 GB, free: 13.78 MB / 0.5606 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.csv","/var/lib/jenkins1/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.89170005498454]