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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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=1000,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=1000,variableFilter="time|elastoGap1.v_rel|elastoGap2.s_rel|springDamper1.v_rel|springDamper2.s_rel",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002013/0.002013, allocations: 109.4 kB / 18.4 MB, free: 4.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002091/0.002091, allocations: 189.1 kB / 19.33 MB, free: 3.758 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.606/1.606, allocations: 205.1 MB / 225.2 MB, free: 12.22 MB / 190.1 MB 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.00138/0.00138, allocations: 55.91 kB / 329.2 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1081, allocations: 46.6 MB / 375.8 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.ElastoGap): time 0.003809/0.1119, allocations: 2.604 MB / 378.4 MB, free: 1.969 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007543/0.1127, allocations: 366.8 kB / 378.8 MB, free: 1.609 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001385/0.1129, allocations: 7.938 kB / 378.8 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001714/0.1131, allocations: 47.5 kB / 378.8 MB, free: 1.555 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001879/0.1133, allocations: 99.12 kB / 378.9 MB, free: 1.457 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003249/0.1136, allocations: 87.81 kB / 379 MB, free: 1.371 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000387/0.114, allocations: 370.4 kB / 379.4 MB, free: 1.008 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002431/0.1142, allocations: 130.9 kB / 379.5 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001704/0.1144, allocations: 139.5 kB / 379.6 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000212/0.1146, allocations: 159.3 kB / 379.8 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.102e-05/0.1147, allocations: 32 kB / 379.8 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.5e-05/0.1147, allocations: 28 kB / 379.8 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.158e-05/0.1148, allocations: 75.73 kB / 379.9 MB, free: 464 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001933/0.115, allocations: 175.1 kB / 380.1 MB, free: 288 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2404/0.3554, allocations: 360.7 kB / 380.4 MB, free: 10.57 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.3555, allocations: 0.6094 kB / 380.4 MB, free: 10.57 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.3555, allocations: 1.875 kB / 380.4 MB, free: 10.57 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.709e-05/0.3555, allocations: 0 / 380.4 MB, free: 10.57 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.001251/0.3568, allocations: 0.6203 MB / 381.1 MB, free: 10.14 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.361e-05/0.3568, allocations: 10.31 kB / 381.1 MB, free: 10.14 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.003e-05/0.3569, allocations: 33.12 kB / 381.1 MB, free: 10.12 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003807/0.3573, allocations: 279.4 kB / 381.4 MB, free: 9.898 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.754e-05/0.3574, allocations: 18.75 kB / 381.4 MB, free: 9.898 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.36e-05/0.3574, allocations: 33.02 kB / 381.4 MB, free: 9.895 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000611/0.358, allocations: 273.3 kB / 381.7 MB, free: 9.859 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.215e-05/0.3581, allocations: 1.531 kB / 381.7 MB, free: 9.859 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.392e-05/0.3581, allocations: 17.72 kB / 381.7 MB, free: 9.855 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.384e-05/0.3581, allocations: 7 kB / 381.7 MB, free: 9.855 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006215/0.3588, allocations: 267.5 kB / 382 MB, free: 9.852 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001323/0.3601, allocations: 0.7921 MB / 382.8 MB, free: 9.543 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007077/0.3608, allocations: 366.7 kB / 383.1 MB, free: 9.508 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004658/0.3613, allocations: 198.4 kB / 383.3 MB, free: 9.496 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.534e-05/0.3614, allocations: 8.516 kB / 383.3 MB, free: 9.496 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/0.3614, allocations: 37.97 kB / 383.4 MB, free: 9.457 MB / 318.1 MB Notification: Performance of pre-optimization done (n=43): time 1.603e-06/0.3614, allocations: 0.5 kB / 383.4 MB, free: 9.457 MB / 318.1 MB Notification: Performance of matching and sorting (n=63): time 0.004254/0.3657, allocations: 1.956 MB / 385.3 MB, free: 8.773 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.209e-05/0.3657, allocations: 70.25 kB / 385.4 MB, free: 8.703 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000192/0.3659, allocations: 194.8 kB / 385.6 MB, free: 8.574 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.224e-05/0.3659, allocations: 36.61 kB / 385.6 MB, free: 8.535 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.229e-05/0.366, allocations: 150.6 kB / 385.8 MB, free: 8.402 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001356/0.3662, allocations: 215.3 kB / 386 MB, free: 8.234 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001297/0.3663, allocations: 93.03 kB / 386.1 MB, free: 8.184 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.932e-05/0.3664, allocations: 345.6 kB / 386.4 MB, free: 7.855 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003221/0.3667, allocations: 166.6 kB / 386.6 MB, free: 7.793 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003484/0.3671, allocations: 166.4 kB / 386.7 MB, free: 7.738 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006963/0.3678, allocations: 374.2 kB / 387.1 MB, free: 7.574 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3678, allocations: 1 kB / 387.1 MB, free: 7.574 MB / 318.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0008679/0.3687, allocations: 491.7 kB / 387.6 MB, free: 7.375 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.3687, allocations: 4.375 kB / 387.6 MB, free: 7.375 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.3687, allocations: 2.891 kB / 387.6 MB, free: 7.375 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/0.3688, allocations: 1.469 kB / 387.6 MB, free: 7.375 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005072/0.3693, allocations: 122.2 kB / 387.7 MB, free: 7.371 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/0.3693, allocations: 2.062 kB / 387.7 MB, free: 7.371 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000207/0.3695, allocations: 26.59 kB / 387.7 MB, free: 7.359 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.415e-05/0.3695, allocations: 24.97 kB / 387.8 MB, free: 7.348 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.0001527/0.3697, allocations: 160.1 kB / 387.9 MB, free: 7.207 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.755e-05/0.3698, allocations: 37.56 kB / 387.9 MB, free: 7.191 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001197/0.3699, allocations: 46.38 kB / 388 MB, free: 7.148 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.606e-06/0.3699, allocations: 6.375 kB / 388 MB, free: 7.148 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.301e-05/0.3699, allocations: 3.172 kB / 388 MB, free: 7.148 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.027e-05/0.3699, allocations: 4.406 kB / 388 MB, free: 7.148 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001971/0.3719, allocations: 1.311 MB / 389.3 MB, free: 6.371 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/0.3719, allocations: 8.406 kB / 389.3 MB, free: 6.367 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004967/0.3724, allocations: 125.2 kB / 389.4 MB, free: 6.363 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.149e-05/0.3725, allocations: 10.69 kB / 389.5 MB, free: 6.359 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.402e-05/0.3725, allocations: 17.81 kB / 389.5 MB, free: 6.352 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.13e-05/0.3725, allocations: 7.969 kB / 389.5 MB, free: 6.352 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/0.3725, allocations: 10.22 kB / 389.5 MB, free: 6.352 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001273/0.3738, allocations: 0.879 MB / 390.4 MB, free: 5.812 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.225e-05/0.3739, allocations: 119.3 kB / 390.5 MB, free: 5.691 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.73e-05/0.374, allocations: 18.12 kB / 390.5 MB, free: 5.684 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002435/0.3742, allocations: 25.38 kB / 390.5 MB, free: 5.676 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.966e-05/0.3743, allocations: 54.94 kB / 390.6 MB, free: 5.66 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.371e-05/0.3744, allocations: 21.48 kB / 390.6 MB, free: 5.656 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001056/0.3745, allocations: 146.2 kB / 390.7 MB, free: 5.559 MB / 318.1 MB Notification: Performance of sort global known variables: time 7.72e-07/0.3745, allocations: 1.562 kB / 390.7 MB, free: 5.559 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004032/0.3749, allocations: 97.34 kB / 390.8 MB, free: 5.543 MB / 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.0001283/0.375, allocations: 114.3 kB / 391 MB, free: 5.449 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008284/0.3759, allocations: 444.4 kB / 391.4 MB, free: 5.32 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.3759, allocations: 1.062 kB / 391.4 MB, free: 5.32 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004359/0.3763, allocations: 255.1 kB / 391.6 MB, free: 5.258 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006412/0.377, allocations: 84.31 kB / 391.7 MB, free: 5.227 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001575/0.3785, allocations: 1.022 MB / 392.7 MB, free: 4.516 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002383/0.3788, allocations: 0.7972 MB / 393.5 MB, free: 3.812 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001395/0.3789, allocations: 43.94 kB / 393.6 MB, free: 3.801 MB / 318.1 MB Notification: Performance of SimCode: time 3.61e-07/0.379, allocations: 2.953 kB / 393.6 MB, free: 3.801 MB / 318.1 MB Notification: Performance of Templates: time 0.008974/0.3879, allocations: 4.602 MB / 398.2 MB, free: 3.25 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap.makefile (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) 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) Reference file matches