Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.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.001861/0.001861, allocations: 77.28 kB / 19.93 MB, free: 1.785 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.002363/0.002363, allocations: 165.8 kB / 23.21 MB, free: 4.906 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.681/1.681, allocations: 158.6 MB / 185 MB, free: 6.398 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.2529/0.2529, allocations: 32.38 MB / 269.6 MB, free: 4.668 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.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit") translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 407.4 MB, free: 3.012 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.228e-05/3.419e-05, allocations: 2.281 kB / 407.4 MB, free: 3.008 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.01107/0.01111, allocations: 7.699 MB / 415.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01007/0.02118, allocations: 3.277 MB / 418.3 MB, free: 7.977 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002215/0.02339, allocations: 55.75 kB / 418.4 MB, free: 7.922 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003347/0.02674, allocations: 1.394 MB / 419.8 MB, free: 6.523 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003408/0.03015, allocations: 0.9993 MB / 420.8 MB, free: 5.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001569/0.03172, allocations: 0.5612 MB / 421.3 MB, free: 4.957 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003807/0.03552, allocations: 2.014 MB / 423.4 MB, free: 2.941 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002362/0.03788, allocations: 1.518 MB / 424.9 MB, free: 1.383 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001811/0.0397, allocations: 1.037 MB / 425.9 MB, free: 352 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001738/0.04143, allocations: 0.9939 MB / 426.9 MB, free: 15.34 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002685/0.0417, allocations: 144 kB / 427.1 MB, free: 15.2 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001495/0.0432, allocations: 0.5965 MB / 427.6 MB, free: 14.61 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009609/0.04416, allocations: 0.7987 MB / 428.4 MB, free: 13.8 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008106/0.04497, allocations: 0.5337 MB / 429 MB, free: 13.27 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003907/0.04888, allocations: 2.586 MB / 431.6 MB, free: 10.68 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.565e-06/0.04888, allocations: 0 / 431.6 MB, free: 10.68 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.04889, allocations: 0 / 431.6 MB, free: 10.68 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.869e-05/0.04893, allocations: 4 kB / 431.6 MB, free: 10.67 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 449 * Number of variables: 449 Notification: Performance of Generate backend data structure: time 0.004958/0.05389, allocations: 2.017 MB / 433.6 MB, free: 8.613 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.25e-05/0.05396, allocations: 12.02 kB / 433.6 MB, free: 8.602 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001332/0.05529, allocations: 299.6 kB / 433.9 MB, free: 8.309 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002213/0.0575, allocations: 1.048 MB / 434.9 MB, free: 7.23 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001041/0.0576, allocations: 94.83 kB / 435 MB, free: 7.137 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002277/0.05783, allocations: 120.3 kB / 435.1 MB, free: 7.02 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006925/0.06476, allocations: 3.042 MB / 438.2 MB, free: 3.77 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.262e-05/0.06481, allocations: 11.89 kB / 438.2 MB, free: 3.758 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000148/0.06496, allocations: 59.97 kB / 438.3 MB, free: 3.699 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007121/0.06567, allocations: 430 kB / 438.7 MB, free: 3.277 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005493/0.07116, allocations: 2.152 MB / 440.8 MB, free: 1.117 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01564/0.0868, allocations: 9.985 MB / 450.8 MB, free: 6.875 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004407/0.09121, allocations: 1.254 MB / 452.1 MB, free: 5.602 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006987/0.09191, allocations: 375 kB / 452.4 MB, free: 5.227 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004612/0.09652, allocations: 2.059 MB / 454.5 MB, free: 3.148 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.999e-05/0.09656, allocations: 39.06 kB / 454.5 MB, free: 3.102 MB / 382.1 MB Notification: Performance of pre-optimization done (n=51): time 2.765e-06/0.09656, allocations: 0 / 454.5 MB, free: 3.102 MB / 382.1 MB Notification: Performance of matching and sorting (n=57): time 0.01355/0.1101, allocations: 3.79 MB / 458.3 MB, free: 15.25 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.27e-05/0.1102, allocations: 85.61 kB / 458.4 MB, free: 15.15 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002719/0.1129, allocations: 1.283 MB / 459.7 MB, free: 13.85 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.563e-05/0.113, allocations: 33.7 kB / 459.7 MB, free: 13.81 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009489/0.1139, allocations: 0.9624 MB / 460.7 MB, free: 12.84 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002632/0.1142, allocations: 234.1 kB / 460.9 MB, free: 12.61 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005193/0.1147, allocations: 311.3 kB / 461.2 MB, free: 12.3 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002045/0.1149, allocations: 357.9 kB / 461.6 MB, free: 11.95 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007821/0.1157, allocations: 419.7 kB / 462 MB, free: 11.54 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001715/0.1174, allocations: 1.283 MB / 463.3 MB, free: 9.836 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002486/0.1199, allocations: 1.8 MB / 465.1 MB, free: 7.625 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.084e-05/0.1199, allocations: 12 kB / 465.1 MB, free: 7.613 MB / 398.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.003632/0.1236, allocations: 1.728 MB / 466.8 MB, free: 5.875 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.446e-05/0.1236, allocations: 20 kB / 466.8 MB, free: 5.855 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.018e-05/0.1237, allocations: 28 kB / 466.9 MB, free: 5.828 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003156/0.124, allocations: 88.7 kB / 466.9 MB, free: 5.738 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001281/0.1253, allocations: 363.9 kB / 467.3 MB, free: 5.383 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002205/0.1275, allocations: 1.743 MB / 469 MB, free: 3.531 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001675/0.1291, allocations: 103.9 kB / 469.1 MB, free: 3.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000151/0.1293, allocations: 91.98 kB / 469.2 MB, free: 3.34 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 134 * Number of states: 0 () * Number of discrete variables: 27 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[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 (194): * Single equations (assignments): 193 * Array equations: 0 * 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.001377/0.1307, allocations: 0.6461 MB / 469.9 MB, free: 2.688 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003497/0.131, allocations: 111.2 kB / 470 MB, free: 2.578 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001541/0.1326, allocations: 0.7005 MB / 470.7 MB, free: 1.863 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.1326, allocations: 8 kB / 470.7 MB, free: 1.855 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.1326, allocations: 0 / 470.7 MB, free: 1.855 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/0.1326, allocations: 3.984 kB / 470.7 MB, free: 1.852 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3407/0.4732, allocations: 1.822 MB / 472.5 MB, free: 69.31 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.125e-05/0.4733, allocations: 6.844 kB / 472.5 MB, free: 69.31 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005771/0.4738, allocations: 93.33 kB / 472.6 MB, free: 69.31 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002878/0.4741, allocations: 65.05 kB / 472.7 MB, free: 69.3 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.67e-05/0.4742, allocations: 15.69 kB / 472.7 MB, free: 69.3 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001842/0.4761, allocations: 1.811 MB / 474.5 MB, free: 68 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.725e-06/0.4761, allocations: 5.094 kB / 474.5 MB, free: 68 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002209/0.4783, allocations: 1.087 MB / 475.6 MB, free: 67.69 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006013/0.4789, allocations: 166.2 kB / 475.8 MB, free: 67.66 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001362/0.479, allocations: 16.39 kB / 475.8 MB, free: 67.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006565/0.4797, allocations: 47.09 kB / 475.8 MB, free: 67.65 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001366/0.4798, allocations: 49.92 kB / 475.9 MB, free: 67.64 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.67e-05/0.4799, allocations: 19.62 kB / 475.9 MB, free: 67.64 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001589/0.4814, allocations: 0.7955 MB / 476.7 MB, free: 67.33 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4814, allocations: 4.812 kB / 476.7 MB, free: 67.33 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00255/0.484, allocations: 363.6 kB / 477 MB, free: 67.3 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * 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,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004272/0.4844, allocations: 147.2 kB / 477.2 MB, free: 67.2 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002209/0.4866, allocations: 1.066 MB / 478.3 MB, free: 66.79 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.594e-05/0.4867, allocations: 1.062 kB / 478.3 MB, free: 66.79 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006562/0.4873, allocations: 392.1 kB / 478.6 MB, free: 66.58 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001078/0.4884, allocations: 161.8 kB / 478.8 MB, free: 66.52 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006031/0.4944, allocations: 2.817 MB / 481.6 MB, free: 65.15 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00179/0.4962, allocations: 0.864 MB / 482.5 MB, free: 64.9 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001309/0.4975, allocations: 406.6 kB / 482.9 MB, free: 64.89 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002206/0.4977, allocations: 80.31 kB / 483 MB, free: 64.88 MB / 398.1 MB Notification: Performance of SimCode: time 1.623e-06/0.4977, allocations: 1.062 kB / 483 MB, free: 64.88 MB / 398.1 MB Notification: Performance of Templates: time 0.02706/0.5248, allocations: 10.96 MB / 493.9 MB, free: 61.17 MB / 398.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/PrismaticInit/PrismaticInit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.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.4214611910283566]