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.0008671/0.0008671, allocations: 84.45 kB / 20.69 MB, free: 3.863 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.0008141/0.0008141, allocations: 173.9 kB / 23.97 MB, free: 0.582 MB / 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.7647/0.7647, allocations: 158.6 MB / 185.7 MB, free: 3.035 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.1291/0.1291, allocations: 32.37 MB / 270.4 MB, free: 14.96 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.032e-06/1.032e-06, allocations: 0 / 408.1 MB, free: 13.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.619e-05/1.722e-05, allocations: 5.938 kB / 408.1 MB, free: 13.02 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.007185/0.007202, allocations: 11.07 MB / 419.2 MB, free: 1.898 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004333/0.01154, allocations: 3.727 MB / 422.9 MB, free: 14.16 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000532/0.01207, allocations: 71.75 kB / 423 MB, free: 14.09 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00134/0.01341, allocations: 1.362 MB / 424.3 MB, free: 12.72 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001757/0.01516, allocations: 1.898 MB / 426.2 MB, free: 10.81 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004423/0.01561, allocations: 462.9 kB / 426.7 MB, free: 10.36 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002373/0.01798, allocations: 3.999 MB / 430.7 MB, free: 6.348 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001446/0.01943, allocations: 2.136 MB / 432.8 MB, free: 4.176 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001538/0.02096, allocations: 1.913 MB / 434.7 MB, free: 2.258 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001664/0.02263, allocations: 1.995 MB / 436.7 MB, free: 264 kB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005405/0.02317, allocations: 248 kB / 437 MB, free: 16 kB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1504/0.1736, allocations: 0.7918 MB / 437.8 MB, free: 20.89 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001067/0.1747, allocations: 1.738 MB / 439.5 MB, free: 20.89 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009529/0.1756, allocations: 1.04 MB / 440.5 MB, free: 20.89 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00469/0.1803, allocations: 6.23 MB / 446.8 MB, free: 20.4 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1803, allocations: 4 kB / 446.8 MB, free: 20.4 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1803, allocations: 0 / 446.8 MB, free: 20.4 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.292e-05/0.1804, allocations: 8.188 kB / 446.8 MB, free: 20.4 MB / 362.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.004533/0.1849, allocations: 4.194 MB / 451 MB, free: 18.58 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.185, allocations: 9.375 kB / 451 MB, free: 18.58 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005548/0.1905, allocations: 3.143 MB / 454.1 MB, free: 18.29 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002643/0.1932, allocations: 1.923 MB / 456 MB, free: 17.57 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001113/0.1933, allocations: 198.2 kB / 456.2 MB, free: 17.52 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003661/0.1936, allocations: 249.7 kB / 456.5 MB, free: 17.48 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009092/0.2027, allocations: 10.39 MB / 466.9 MB, free: 12.14 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.232e-05/0.2028, allocations: 24.42 kB / 466.9 MB, free: 12.14 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000251/0.203, allocations: 130.6 kB / 467 MB, free: 12.09 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002091/0.2051, allocations: 2.558 MB / 469.6 MB, free: 10.7 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008844/0.214, allocations: 9.434 MB / 479 MB, free: 1.371 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02616/0.2401, allocations: 29.58 MB / 0.4967 GB, free: 3.484 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00355/0.2437, allocations: 2.452 MB / 0.4991 GB, free: 1.02 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008789/0.2446, allocations: 1.003 MB / 0.5001 GB, free: 16 kB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005186/0.2451, allocations: 441 kB / 0.5005 GB, free: 15.59 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.224e-05/0.2451, allocations: 47.88 kB / 0.5005 GB, free: 15.54 MB / 410.7 MB Notification: Performance of pre-optimization done (n=187): time 3.837e-06/0.2451, allocations: 0 / 0.5005 GB, free: 15.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=193): time 0.01351/0.2586, allocations: 9.95 MB / 0.5102 GB, free: 5.574 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.459e-05/0.2587, allocations: 90.42 kB / 0.5103 GB, free: 5.465 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00289/0.2616, allocations: 2.772 MB / 0.513 GB, free: 2.664 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.155e-05/0.2616, allocations: 49.7 kB / 0.5131 GB, free: 2.609 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001153/0.2628, allocations: 2.854 MB / 0.5159 GB, free: 15.76 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003724/0.2632, allocations: 0.7286 MB / 0.5166 GB, free: 15.04 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008045/0.264, allocations: 0.976 MB / 0.5175 GB, free: 14.05 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.2641, allocations: 361.9 kB / 0.5179 GB, free: 13.7 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001967/0.2661, allocations: 1.563 MB / 0.5194 GB, free: 12.12 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002727/0.2688, allocations: 4.48 MB / 0.5238 GB, free: 6.254 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004903/0.2737, allocations: 6.701 MB / 0.5303 GB, free: 14.34 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.713e-05/0.2737, allocations: 28 kB / 0.5303 GB, free: 14.31 MB / 442.7 MB Notification: Performance of matching and sorting (n=661) (initialization): time 0.005634/0.2793, allocations: 5.953 MB / 0.5362 GB, free: 8.352 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.398e-05/0.2794, allocations: 55.94 kB / 0.5362 GB, free: 8.297 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.708e-05/0.2794, allocations: 100.9 kB / 0.5363 GB, free: 8.199 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002282/0.2797, allocations: 180.8 kB / 0.5365 GB, free: 8.02 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001638/0.2813, allocations: 1.092 MB / 0.5376 GB, free: 6.922 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001323/0.2826, allocations: 1.676 MB / 0.5392 GB, free: 5.148 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00156/0.2842, allocations: 243.8 kB / 0.5394 GB, free: 4.91 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002331/0.2844, allocations: 301.7 kB / 0.5397 GB, free: 4.617 MB / 442.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.002643/0.2871, allocations: 2.034 MB / 0.5417 GB, free: 2.574 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002004/0.2873, allocations: 250.2 kB / 0.5419 GB, free: 2.328 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002248/0.2895, allocations: 2.525 MB / 0.5444 GB, free: 15.78 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.068e-05/0.2895, allocations: 24 kB / 0.5444 GB, free: 15.76 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.2895, allocations: 4 kB / 0.5444 GB, free: 15.75 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-06/0.2896, allocations: 7.969 kB / 0.5444 GB, free: 15.75 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006927/0.2965, allocations: 6.766 MB / 0.551 GB, free: 8.832 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.907e-06/0.2965, allocations: 8 kB / 0.551 GB, free: 8.824 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004958/0.297, allocations: 251.6 kB / 0.5513 GB, free: 8.578 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.073e-05/0.2971, allocations: 60.77 kB / 0.5513 GB, free: 8.516 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.943e-05/0.2971, allocations: 43.98 kB / 0.5514 GB, free: 8.473 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001064/0.2982, allocations: 1.502 MB / 0.5529 GB, free: 6.875 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.226e-06/0.2982, allocations: 19.88 kB / 0.5529 GB, free: 6.855 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003105/0.3013, allocations: 4.029 MB / 0.5568 GB, free: 2.672 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005442/0.3019, allocations: 450.2 kB / 0.5572 GB, free: 2.23 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001427/0.302, allocations: 42.8 kB / 0.5573 GB, free: 2.191 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004556/0.3025, allocations: 79.91 kB / 0.5574 GB, free: 2.113 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001235/0.3026, allocations: 132.5 kB / 0.5575 GB, free: 1.984 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-05/0.3026, allocations: 61.33 kB / 0.5575 GB, free: 1.926 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001696/0.3043, allocations: 1.584 MB / 0.5591 GB, free: 336 kB / 458.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3043, allocations: 0 / 0.5591 GB, free: 336 kB / 458.7 MB Notification: Performance of remove unused functions: time 0.00243/0.3068, allocations: 0.877 MB / 0.5599 GB, free: 15.45 MB / 474.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.0003199/0.3071, allocations: 198.5 kB / 0.5601 GB, free: 15.25 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003228/0.3103, allocations: 3.786 MB / 0.5638 GB, free: 11.48 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.3103, allocations: 0 / 0.5638 GB, free: 11.48 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009652/0.3113, allocations: 1.169 MB / 0.565 GB, free: 10.3 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008498/0.3121, allocations: 256.1 kB / 0.5652 GB, free: 10.05 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009691/0.3218, allocations: 9.195 MB / 0.5742 GB, free: 0.6797 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002174/0.324, allocations: 2.658 MB / 0.5768 GB, free: 13.99 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000434/0.3244, allocations: 224.5 kB / 0.577 GB, free: 13.77 MB / 490.7 MB Notification: Performance of SimCode: time 1.433e-06/0.3244, allocations: 0 / 0.577 GB, free: 13.77 MB / 490.7 MB Notification: Performance of Templates: time 0.2132/0.5376, allocations: 67.58 MB / 0.643 GB, free: 173.2 MB / 0.5105 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: 7.473033062182367]