Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad.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.0008325/0.0008325, allocations: 87.62 kB / 21.43 MB, free: 3.137 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.003727/0.003727, allocations: 160.2 kB / 24.7 MB, free: 8.879 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8241/0.8241, allocations: 177.1 MB / 205 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(Modelica.Mechanics.Translational.Examples.PreLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|friction.v_rel|innerContactA.s_rel|innerContactB.s_rel|outerContactA.v_rel|outerContactB.s_rel|outerContactB.v_rel",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad") translateModel(Modelica.Mechanics.Translational.Examples.PreLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|friction.v_rel|innerContactA.s_rel|innerContactB.s_rel|outerContactA.v_rel|outerContactB.s_rel|outerContactB.v_rel",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 325.8 MB, free: 15.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.51e-05/1.648e-05, allocations: 2.281 kB / 325.8 MB, free: 15.45 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.PreLoad): time 0.002907/0.002924, allocations: 3.333 MB / 329.2 MB, free: 12.1 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001035/0.003959, allocations: 0.9353 MB / 330.1 MB, free: 11.16 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001379/0.004096, allocations: 11.94 kB / 330.1 MB, free: 11.15 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001501/0.004247, allocations: 87.09 kB / 330.2 MB, free: 11.07 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001875/0.004434, allocations: 170.4 kB / 330.4 MB, free: 10.9 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003486/0.004783, allocations: 167.6 kB / 330.5 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003914/0.005174, allocations: 0.6459 MB / 331.2 MB, free: 10.09 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002049/0.005379, allocations: 137.9 kB / 331.3 MB, free: 9.953 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003168/0.005696, allocations: 375.2 kB / 331.7 MB, free: 9.586 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001914/0.005887, allocations: 211.4 kB / 331.9 MB, free: 9.379 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.982e-05/0.005937, allocations: 52 kB / 331.9 MB, free: 9.328 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.078e-05/0.006008, allocations: 55.98 kB / 332 MB, free: 9.273 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.825e-05/0.006066, allocations: 127.5 kB / 332.1 MB, free: 9.148 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001135/0.006179, allocations: 203.5 kB / 332.3 MB, free: 8.949 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004387/0.006618, allocations: 0.6346 MB / 332.9 MB, free: 8.312 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.00662, allocations: 0 / 332.9 MB, free: 8.312 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.006621, allocations: 0 / 332.9 MB, free: 8.312 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.006626, allocations: 4 kB / 332.9 MB, free: 8.309 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.0008397/0.007466, allocations: 0.7765 MB / 333.7 MB, free: 7.504 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.068e-05/0.007497, allocations: 8.031 kB / 333.7 MB, free: 7.496 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001193/0.007616, allocations: 72.55 kB / 333.8 MB, free: 7.426 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002928/0.007909, allocations: 281.4 kB / 334.1 MB, free: 7.121 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.661e-05/0.007935, allocations: 37.38 kB / 334.1 MB, free: 7.082 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.326e-05/0.007989, allocations: 63.88 kB / 334.2 MB, free: 7.02 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004377/0.008426, allocations: 414.4 kB / 334.6 MB, free: 6.609 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.09e-05/0.008447, allocations: 11.98 kB / 334.6 MB, free: 6.598 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.729e-05/0.008475, allocations: 16 kB / 334.6 MB, free: 6.582 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.008483, allocations: 15.94 kB / 334.6 MB, free: 6.566 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004292/0.008912, allocations: 375.8 kB / 335 MB, free: 6.203 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001495/0.01041, allocations: 1.173 MB / 336.2 MB, free: 4.988 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004832/0.01089, allocations: 480.1 kB / 336.6 MB, free: 4.508 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003754/0.01127, allocations: 315.7 kB / 336.9 MB, free: 4.195 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.809e-05/0.01129, allocations: 8.656 kB / 336.9 MB, free: 4.188 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.817e-05/0.01131, allocations: 43.22 kB / 337 MB, free: 4.137 MB / 298.7 MB Notification: Performance of pre-optimization done (n=71): time 1.714e-06/0.01131, allocations: 0 / 337 MB, free: 4.137 MB / 298.7 MB Notification: Performance of matching and sorting (n=107): time 0.00369/0.015, allocations: 2.866 MB / 339.8 MB, free: 1.227 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.247e-05/0.01504, allocations: 60.41 kB / 339.9 MB, free: 1.156 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000167/0.0152, allocations: 268.2 kB / 340.2 MB, free: 0.8789 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.016e-05/0.01523, allocations: 45.7 kB / 340.2 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.656e-05/0.01532, allocations: 209.6 kB / 340.4 MB, free: 0.6172 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001582/0.01548, allocations: 372.7 kB / 340.8 MB, free: 256 kB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001232/0.0156, allocations: 154.6 kB / 340.9 MB, free: 96 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.0157, allocations: 362.8 kB / 341.3 MB, free: 15.73 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002675/0.01597, allocations: 241.8 kB / 341.5 MB, free: 15.49 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002995/0.01627, allocations: 313.4 kB / 341.8 MB, free: 15.18 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005882/0.01686, allocations: 0.5689 MB / 342.4 MB, free: 14.61 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.01686, allocations: 0 / 342.4 MB, free: 14.61 MB / 314.7 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.0008366/0.0177, allocations: 0.7355 MB / 343.1 MB, free: 13.86 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.01771, allocations: 7.938 kB / 343.1 MB, free: 13.85 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.289e-06/0.01772, allocations: 0 / 343.1 MB, free: 13.85 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.01773, allocations: 8 kB / 343.1 MB, free: 13.84 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003765/0.01811, allocations: 199.7 kB / 343.3 MB, free: 13.65 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.01812, allocations: 4 kB / 343.3 MB, free: 13.64 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001225/0.01824, allocations: 27.98 kB / 343.4 MB, free: 13.62 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.793e-05/0.01827, allocations: 31.94 kB / 343.4 MB, free: 13.59 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (outerContactB.contact,outerContactA.contact,innerContactB.contact,innerContactA.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 117 * Array equations: 0 * 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.000154/0.01842, allocations: 213.5 kB / 343.6 MB, free: 13.37 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.217e-05/0.01847, allocations: 59.62 kB / 343.7 MB, free: 13.31 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.147e-05/0.01856, allocations: 81.5 kB / 343.8 MB, free: 13.23 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.01856, allocations: 12 kB / 343.8 MB, free: 13.21 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.01857, allocations: 0 / 343.8 MB, free: 13.21 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/0.01857, allocations: 11.91 kB / 343.8 MB, free: 13.2 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001595/0.02017, allocations: 1.72 MB / 345.5 MB, free: 11.38 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.02017, allocations: 4.594 kB / 345.5 MB, free: 11.38 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003785/0.02055, allocations: 199.7 kB / 345.7 MB, free: 11.18 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.622e-06/0.02056, allocations: 11.98 kB / 345.7 MB, free: 11.17 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.692e-05/0.02059, allocations: 20 kB / 345.7 MB, free: 11.15 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.592e-06/0.02059, allocations: 19.88 kB / 345.7 MB, free: 11.13 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.0206, allocations: 4 kB / 345.8 MB, free: 11.13 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0011/0.0217, allocations: 1.279 MB / 347 MB, free: 9.781 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.277e-05/0.02174, allocations: 55.66 kB / 347.1 MB, free: 9.727 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.195e-05/0.02178, allocations: 28 kB / 347.1 MB, free: 9.699 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001581/0.02194, allocations: 35.92 kB / 347.1 MB, free: 9.664 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.742e-05/0.02202, allocations: 84.69 kB / 347.2 MB, free: 9.582 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.55e-05/0.02204, allocations: 31.98 kB / 347.3 MB, free: 9.551 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001035/0.02214, allocations: 191.1 kB / 347.4 MB, free: 9.367 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02214, allocations: 0 / 347.4 MB, free: 9.367 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002918/0.02244, allocations: 160 kB / 347.6 MB, free: 9.211 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 6 (outerContactA.s_rel,outerContactA.v_rel,outerContactB.s_rel,outerContactB.v_rel,friction.s_rel,friction.v_rel) * Number of discrete variables: 4 (innerContactA.contact,innerContactB.contact,outerContactA.contact,outerContactB.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 107 * Array equations: 0 * 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 Backend phase and start with SimCode phase: time 9.175e-05/0.02253, allocations: 123.1 kB / 347.7 MB, free: 9.078 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006363/0.02316, allocations: 0.6372 MB / 348.4 MB, free: 8.438 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.02317, allocations: 0 / 348.4 MB, free: 8.438 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003666/0.02353, allocations: 390.4 kB / 348.7 MB, free: 8.059 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004622/0.024, allocations: 135.5 kB / 348.9 MB, free: 7.93 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001502/0.0255, allocations: 1.44 MB / 350.3 MB, free: 6.395 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001582/0.02566, allocations: 280.8 kB / 350.6 MB, free: 6.094 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000139/0.02579, allocations: 68.47 kB / 350.7 MB, free: 6.023 MB / 314.7 MB Notification: Performance of SimCode: time 7.32e-07/0.02579, allocations: 0 / 350.7 MB, free: 6.023 MB / 314.7 MB Notification: Performance of Templates: time 0.006455/0.03225, allocations: 7.914 MB / 358.6 MB, free: 14.12 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/PreLoad/PreLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.PreLoad.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: 4.536834294907749]