Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001275/0.001275, allocations: 112.6 kB / 21.18 MB, free: 0.7422 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00147/0.00147, allocations: 211.5 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.393/1.393, allocations: 230.2 MB / 257.8 MB, free: 8.496 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2208/0.2208, allocations: 46.9 MB / 361.1 MB, free: 4.633 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.frame_a.r_0.1.|body.v_0.1.|heatCapacitor.T|prismatic1.s|prismatic1.v|prismatic2.s|prismatic2.v",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Damper") translateModel(ModelicaTest.MultiBody.Forces.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.frame_a.r_0.1.|body.v_0.1.|heatCapacitor.T|prismatic1.s|prismatic1.v|prismatic2.s|prismatic2.v",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Damper") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002252/0.002252, allocations: 75.88 kB / 0.4968 GB, free: 7.812 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2856/0.2878, allocations: 66 MB / 0.5612 GB, free: 5 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.0183/0.3061, allocations: 16.18 MB / 0.577 GB, free: 4.754 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0105/0.3166, allocations: 5.04 MB / 0.582 GB, free: 15.69 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002388/0.319, allocations: 99.75 kB / 0.5821 GB, free: 15.59 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009889/0.3289, allocations: 5.233 MB / 0.5872 GB, free: 10.34 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006608/0.3355, allocations: 2.54 MB / 0.5896 GB, free: 7.793 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002767/0.3383, allocations: 1.182 MB / 0.5908 GB, free: 6.609 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009634/0.3479, allocations: 6.658 MB / 0.5973 GB, free: 15.93 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006797/0.3547, allocations: 4.692 MB / 0.6019 GB, free: 11.17 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004222/0.3589, allocations: 2.594 MB / 0.6044 GB, free: 8.566 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005969/0.3649, allocations: 3.938 MB / 0.6083 GB, free: 4.617 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001736/0.3666, allocations: 0.5742 MB / 0.6088 GB, free: 4.043 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003251/0.3699, allocations: 1.303 MB / 0.6101 GB, free: 2.738 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003904/0.3738, allocations: 3.288 MB / 0.6133 GB, free: 15.44 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00478/0.3786, allocations: 3.663 MB / 0.6169 GB, free: 11.75 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01336/0.3919, allocations: 11.13 MB / 0.6278 GB, free: 0.5781 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.3919, allocations: 0 / 0.6278 GB, free: 0.5781 MB / 462.1 MB Notification: Performance of FrontEnd: time 8.72e-07/0.3919, allocations: 3.938 kB / 0.6278 GB, free: 0.5742 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003007/0.3922, allocations: 0 / 0.6278 GB, free: 0.5742 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2520 * Number of variables: 2520 Notification: Performance of Generate backend data structure: time 0.01687/0.4091, allocations: 7.781 MB / 0.6354 GB, free: 8.703 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.4091, allocations: 8.031 kB / 0.6354 GB, free: 8.695 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01066/0.4198, allocations: 2.629 MB / 0.6379 GB, free: 6.059 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008457/0.4283, allocations: 3.601 MB / 0.6414 GB, free: 2.398 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004726/0.4287, allocations: 427.3 kB / 0.6419 GB, free: 1.98 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001771/0.4305, allocations: 0.5582 MB / 0.6424 GB, free: 1.422 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04314/0.4737, allocations: 19.75 MB / 0.6617 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002825/0.4739, allocations: 67.45 kB / 0.6617 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001667/0.4756, allocations: 275.8 kB / 0.662 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005494/0.4811, allocations: 3.149 MB / 0.6651 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03897/0.5201, allocations: 15.85 MB / 0.6806 GB, free: 9.168 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5984/1.118, allocations: 63.86 MB / 0.7429 GB, free: 111.2 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01547/1.134, allocations: 6.132 MB / 0.7489 GB, free: 110.6 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002336/1.136, allocations: 1.894 MB / 0.7508 GB, free: 110.5 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01233/1.149, allocations: 9.212 MB / 0.7598 GB, free: 107.5 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.155e-05/1.149, allocations: 66.47 kB / 0.7598 GB, free: 107.4 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=257): time 4.578e-06/1.149, allocations: 0 / 0.7598 GB, free: 107.4 MB / 0.5607 GB Notification: Performance of matching and sorting (n=291): time 0.0515/1.2, allocations: 21.73 MB / 0.781 GB, free: 91.62 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.346e-05/1.2, allocations: 161.3 kB / 0.7812 GB, free: 91.44 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005909/1.206, allocations: 5.767 MB / 0.7868 GB, free: 85.81 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0003726/1.206, allocations: 65.7 kB / 0.7869 GB, free: 85.74 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.001824/1.208, allocations: 5.031 MB / 0.7918 GB, free: 80.95 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007666/1.209, allocations: 1.168 MB / 0.7929 GB, free: 79.8 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001555/1.211, allocations: 1.827 MB / 0.7947 GB, free: 77.96 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.212e-05/1.211, allocations: 301.1 kB / 0.795 GB, free: 77.66 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003224/1.214, allocations: 2.638 MB / 0.7976 GB, free: 75.02 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005089/1.219, allocations: 8.193 MB / 0.8056 GB, free: 64.27 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009998/1.229, allocations: 11.76 MB / 0.8171 GB, free: 50.08 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001602/1.229, allocations: 63.94 kB / 0.8171 GB, free: 50.02 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1207) (initialization): time 0.01601/1.245, allocations: 10.57 MB / 0.8275 GB, free: 39.44 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001603/1.245, allocations: 95.06 kB / 0.8276 GB, free: 39.35 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002204/1.246, allocations: 196 kB / 0.8277 GB, free: 39.16 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002131/1.246, allocations: 260 kB / 0.828 GB, free: 38.91 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006322/1.252, allocations: 2.211 MB / 0.8301 GB, free: 36.69 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002823/1.252, allocations: 386.5 kB / 0.8305 GB, free: 36.31 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005684/1.258, allocations: 460.4 kB / 0.831 GB, free: 35.86 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001078/1.259, allocations: 0.551 MB / 0.8315 GB, free: 35.32 MB / 0.5607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 895 * Number of states: 0 () * Number of discrete variables: 78 (force2.forceArrow.twoHeadedArrow,force2.forceArrow.headAtOrigin,force1.forceArrow.twoHeadedArrow,force1.forceArrow.headAtOrigin,force.forceArrow.twoHeadedArrow,force.forceArrow.headAtOrigin,fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],prismatic2.boxColor[3],prismatic2.boxColor[2],prismatic2.boxColor[1],damper2.color_b[3],damper2.color_b[2],damper2.color_b[1],damper2.color_a[3],damper2.color_a[2],damper2.color_a[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],force.connectionLineColor[3],force.connectionLineColor[2],force.connectionLineColor[1],force.forceColor[3],force.forceColor[2],force.forceColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],damper.color_b[3],damper.color_b[2],damper.color_b[1],damper.color_a[3],damper.color_a[2],damper.color_a[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1183): * Single equations (assignments): 1180 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004336/1.263, allocations: 3.144 MB / 0.8346 GB, free: 32.16 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008919/1.264, allocations: 0.5394 MB / 0.8351 GB, free: 31.62 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004462/1.269, allocations: 2.995 MB / 0.838 GB, free: 28.6 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.3e-05/1.269, allocations: 11.95 kB / 0.838 GB, free: 28.59 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/1.269, allocations: 7.938 kB / 0.838 GB, free: 28.58 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001057/1.27, allocations: 0.5481 MB / 0.8386 GB, free: 28.01 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007716/1.271, allocations: 54.3 kB / 0.8386 GB, free: 27.96 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001904/1.273, allocations: 127.9 kB / 0.8387 GB, free: 27.84 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002405/1.273, allocations: 153.7 kB / 0.8389 GB, free: 27.69 MB / 0.5607 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005145/1.278, allocations: 3.582 MB / 0.8424 GB, free: 24.14 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006173/1.284, allocations: 5.672 MB / 0.8479 GB, free: 18.39 MB / 0.5607 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001618/1.286, allocations: 1.327 MB / 0.8492 GB, free: 17.07 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.005254/1.291, allocations: 3.549 MB / 0.8527 GB, free: 13.55 MB / 0.5607 GB Notification: Performance of Backend: time 2.4e-07/1.291, allocations: 0 / 0.8527 GB, free: 13.55 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.009489/1.3, allocations: 4.989 MB / 0.8576 GB, free: 8.605 MB / 0.5607 GB Notification: Performance of SimCode: time 0.02312/1.324, allocations: 13.95 MB / 0.8712 GB, free: 10.61 MB / 0.5763 GB Notification: Performance of Templates: time 0.121/1.445, allocations: 55.26 MB / 0.9251 GB, free: 3.609 MB / 0.6232 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Damper.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Damper.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Damper.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Damper.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Damper.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Damper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Damper_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/Damper/Damper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Damper.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.988743626978248]