Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 107.1 kB / 20.32 MB, free: 2.016 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001377/0.001377, allocations: 192.2 kB / 23.47 MB, free: 5.332 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 90] 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: 207.6 MB / 234 MB, free: 11.04 MB / 190.1 MB [Timeout remaining time 88] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.ElastoGap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|elastoGap1.v_rel|elastoGap2.s_rel|springDamper1.v_rel|springDamper2.s_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap") translateModel(Modelica.Mechanics.Translational.Examples.ElastoGap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|elastoGap1.v_rel|elastoGap2.s_rel|springDamper1.v_rel|springDamper2.s_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap") [Timeout 660] Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002532/0.002532, allocations: 63.91 kB / 345.8 MB, free: 10.62 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3618/0.3643, allocations: 49.11 MB / 394.9 MB, free: 9.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.00416/0.3685, allocations: 2.599 MB / 397.5 MB, free: 7.566 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000724/0.3692, allocations: 375.6 kB / 397.9 MB, free: 7.297 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001422/0.3694, allocations: 8.531 kB / 397.9 MB, free: 7.293 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001961/0.3696, allocations: 51.14 kB / 397.9 MB, free: 7.262 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002294/0.3698, allocations: 95.09 kB / 398 MB, free: 7.191 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004334/0.3702, allocations: 93.62 kB / 398.1 MB, free: 7.137 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004779/0.3707, allocations: 382.7 kB / 398.5 MB, free: 6.945 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002424/0.371, allocations: 83.97 kB / 398.6 MB, free: 6.902 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002048/0.3712, allocations: 145.9 kB / 398.7 MB, free: 6.836 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002548/0.3714, allocations: 167.9 kB / 398.9 MB, free: 6.754 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.393e-05/0.3715, allocations: 29.62 kB / 398.9 MB, free: 6.754 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.857e-05/0.3716, allocations: 29.69 kB / 398.9 MB, free: 6.754 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.438e-05/0.3716, allocations: 66.08 kB / 399 MB, free: 6.711 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001978/0.3718, allocations: 169.4 kB / 399.2 MB, free: 6.609 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005533/0.3724, allocations: 363.9 kB / 399.5 MB, free: 6.473 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.3724, allocations: 1.188 kB / 399.5 MB, free: 6.473 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.116e-06/0.3724, allocations: 0.6562 kB / 399.5 MB, free: 6.473 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.037e-06/0.3724, allocations: 4 kB / 399.5 MB, free: 6.469 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.001165/0.3736, allocations: 0.6366 MB / 400.2 MB, free: 5.953 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.3736, allocations: 8.312 kB / 400.2 MB, free: 5.953 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.055e-05/0.3737, allocations: 38.36 kB / 400.2 MB, free: 5.934 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000399/0.3741, allocations: 278.4 kB / 400.5 MB, free: 5.672 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.031e-05/0.3741, allocations: 20.41 kB / 400.5 MB, free: 5.664 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.605e-05/0.3742, allocations: 30.3 kB / 400.5 MB, free: 5.652 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000626/0.3748, allocations: 279.9 kB / 400.8 MB, free: 5.531 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.219e-05/0.3749, allocations: 6.312 kB / 400.8 MB, free: 5.527 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.035e-05/0.3749, allocations: 14.12 kB / 400.8 MB, free: 5.516 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.338e-05/0.3749, allocations: 6.688 kB / 400.8 MB, free: 5.516 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006656/0.3756, allocations: 265.2 kB / 401.1 MB, free: 5.445 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001411/0.377, allocations: 0.799 MB / 401.9 MB, free: 4.926 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006427/0.3776, allocations: 329.5 kB / 402.2 MB, free: 4.777 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003403/0.378, allocations: 182.7 kB / 402.4 MB, free: 4.707 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.816e-05/0.378, allocations: 4.031 kB / 402.4 MB, free: 4.707 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.378, allocations: 44.19 kB / 402.4 MB, free: 4.66 MB / 318.1 MB Notification: Performance of pre-optimization done (n=43): time 1.894e-06/0.378, allocations: 0 / 402.4 MB, free: 4.66 MB / 318.1 MB Notification: Performance of matching and sorting (n=63): time 0.004618/0.3826, allocations: 1.972 MB / 404.4 MB, free: 3.613 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.56e-05/0.3827, allocations: 58.41 kB / 404.5 MB, free: 3.551 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002058/0.3829, allocations: 193.9 kB / 404.7 MB, free: 3.422 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.078e-05/0.3829, allocations: 36.11 kB / 404.7 MB, free: 3.383 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.697e-05/0.383, allocations: 152 kB / 404.8 MB, free: 3.25 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001611/0.3832, allocations: 224.9 kB / 405.1 MB, free: 3.07 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001477/0.3833, allocations: 91.38 kB / 405.2 MB, free: 3.02 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.3834, allocations: 353.7 kB / 405.5 MB, free: 2.684 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003535/0.3838, allocations: 158.6 kB / 405.7 MB, free: 2.633 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003437/0.3841, allocations: 175.8 kB / 405.8 MB, free: 2.566 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007236/0.3849, allocations: 377.7 kB / 406.2 MB, free: 2.402 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3849, allocations: 0 / 406.2 MB, free: 2.402 MB / 318.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0009162/0.3858, allocations: 493 kB / 406.7 MB, free: 2.195 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/0.3858, allocations: 4.922 kB / 406.7 MB, free: 2.195 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.3858, allocations: 1.375 kB / 406.7 MB, free: 2.195 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.455e-05/0.3858, allocations: 2.75 kB / 406.7 MB, free: 2.195 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005337/0.3864, allocations: 122.1 kB / 406.8 MB, free: 2.184 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.217e-05/0.3864, allocations: 11.39 kB / 406.8 MB, free: 2.176 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002005/0.3866, allocations: 22.41 kB / 406.8 MB, free: 2.168 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.838e-05/0.3866, allocations: 20.53 kB / 406.9 MB, free: 2.16 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (elastoGap2.contact,elastoGap1.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 69 * 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.0001589/0.3868, allocations: 162.3 kB / 407 MB, free: 2.008 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.208e-05/0.3869, allocations: 33.16 kB / 407 MB, free: 1.992 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000125/0.387, allocations: 46.91 kB / 407.1 MB, free: 1.945 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/0.387, allocations: 5.5 kB / 407.1 MB, free: 1.945 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.258e-05/0.387, allocations: 2.031 kB / 407.1 MB, free: 1.945 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.075e-05/0.387, allocations: 6.719 kB / 407.1 MB, free: 1.941 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002223/0.3893, allocations: 1.311 MB / 408.4 MB, free: 1.113 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.347e-06/0.3893, allocations: 5.031 kB / 408.4 MB, free: 1.113 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005306/0.3898, allocations: 122.6 kB / 408.5 MB, free: 1.102 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-05/0.3898, allocations: 11.06 kB / 408.6 MB, free: 1.098 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.233e-05/0.3898, allocations: 18.66 kB / 408.6 MB, free: 1.09 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-05/0.3899, allocations: 12.14 kB / 408.6 MB, free: 1.086 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.215e-06/0.3899, allocations: 5.5 kB / 408.6 MB, free: 1.086 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001489/0.3914, allocations: 0.8833 MB / 409.5 MB, free: 0.543 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.055e-05/0.3915, allocations: 111.7 kB / 409.6 MB, free: 440 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.4e-05/0.3915, allocations: 18.47 kB / 409.6 MB, free: 432 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002578/0.3918, allocations: 26.16 kB / 409.6 MB, free: 424 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001298/0.3919, allocations: 57.45 kB / 409.7 MB, free: 400 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.485e-05/0.3919, allocations: 22.2 kB / 409.7 MB, free: 396 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001481/0.3921, allocations: 141.1 kB / 409.8 MB, free: 300 kB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3921, allocations: 0 / 409.8 MB, free: 300 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004758/0.3926, allocations: 96.2 kB / 409.9 MB, free: 284 kB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 4 (springDamper2.s_rel,springDamper2.v_rel,elastoGap2.s_rel,elastoGap2.v_rel) * Number of discrete variables: 2 (elastoGap1.contact,elastoGap2.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 63 * 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 0.0001861/0.3928, allocations: 133.5 kB / 410.1 MB, free: 160 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009786/0.3937, allocations: 411.8 kB / 410.5 MB, free: 28 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.3937, allocations: 0.9062 kB / 410.5 MB, free: 28 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005576/0.3943, allocations: 247.8 kB / 410.7 MB, free: 15.94 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007014/0.395, allocations: 84.11 kB / 410.8 MB, free: 15.9 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002174/0.3972, allocations: 1.051 MB / 411.8 MB, free: 15.13 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006373/0.3978, allocations: 0.7912 MB / 412.6 MB, free: 14.43 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001694/0.398, allocations: 45.34 kB / 412.7 MB, free: 14.42 MB / 334.1 MB Notification: Performance of SimCode: time 1.112e-06/0.398, allocations: 0 / 412.7 MB, free: 14.42 MB / 334.1 MB Notification: Performance of Templates: time 0.01107/0.409, allocations: 4.595 MB / 417.3 MB, free: 12.06 MB / 334.1 MB [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/ElastoGap/ElastoGap.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches