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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002002/0.002002, allocations: 184.1 kB / 8.48 MB, free: 1.852 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.714/1.714, allocations: 205.2 MB / 214.1 MB, free: 5.168 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000974/0.000974, allocations: 71.41 kB / 262.1 MB, free: 5.215 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.135e-05/1.148e-05, allocations: 4 kB / 315 MB, free: 41.5 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1034, allocations: 47.58 MB / 362.5 MB, free: 9.969 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2999/0.4034, allocations: 75.54 MB / 438.1 MB, free: 10.83 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002391/0.4037, allocations: 58.36 kB / 438.1 MB, free: 10.83 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.0141/0.4178, allocations: 5.383 MB / 443.5 MB, free: 10.41 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.582e-05/0.4178, allocations: 7.688 kB / 443.5 MB, free: 10.41 MB / 314.7 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.0007266/0.4186, allocations: 0.5575 MB / 444.1 MB, free: 9.988 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.4186, allocations: 12.14 kB / 444.1 MB, free: 9.988 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.289e-05/0.4187, allocations: 38.78 kB / 444.1 MB, free: 9.965 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002361/0.4189, allocations: 250.2 kB / 444.4 MB, free: 9.742 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.429e-05/0.4189, allocations: 8.828 kB / 444.4 MB, free: 9.742 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.332e-05/0.419, allocations: 15.53 kB / 444.4 MB, free: 9.742 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003466/0.4193, allocations: 214.4 kB / 444.6 MB, free: 9.734 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003287/0.4197, allocations: 212.1 kB / 444.8 MB, free: 9.695 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.808e-05/0.4197, allocations: 8.453 kB / 444.8 MB, free: 9.688 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.385e-05/0.4197, allocations: 0 / 444.8 MB, free: 9.688 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.148e-05/0.4198, allocations: 8.297 kB / 444.8 MB, free: 9.688 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001138/0.4209, allocations: 0.7404 MB / 445.6 MB, free: 9.402 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002529/0.4212, allocations: 174.9 kB / 445.7 MB, free: 9.387 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002003/0.4214, allocations: 163.2 kB / 445.9 MB, free: 9.375 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.444e-05/0.4214, allocations: 16.38 kB / 445.9 MB, free: 9.367 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.673e-05/0.4214, allocations: 35.53 kB / 446 MB, free: 9.328 MB / 314.7 MB Notification: Performance of pre-optimization done (n=43): time 1.603e-06/0.4214, allocations: 0 / 446 MB, free: 9.328 MB / 314.7 MB Notification: Performance of matching and sorting (n=63): time 0.002182/0.4236, allocations: 1.472 MB / 447.4 MB, free: 8.766 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.016e-05/0.4237, allocations: 59.91 kB / 447.5 MB, free: 8.699 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/0.4238, allocations: 163.7 kB / 447.6 MB, free: 8.598 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.255e-05/0.4238, allocations: 26.27 kB / 447.7 MB, free: 8.566 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.529e-05/0.4239, allocations: 128 kB / 447.8 MB, free: 8.461 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001096/0.424, allocations: 214.3 kB / 448 MB, free: 8.32 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.691e-05/0.424, allocations: 0 / 448 MB, free: 8.32 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.71e-05/0.4241, allocations: 343.1 kB / 448.3 MB, free: 8.008 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001736/0.4243, allocations: 128.9 kB / 448.5 MB, free: 8 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001746/0.4244, allocations: 135.5 kB / 448.6 MB, free: 7.996 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002261/0.4247, allocations: 147.8 kB / 448.7 MB, free: 7.988 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.4247, allocations: 0 / 448.7 MB, free: 7.988 MB / 314.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0005797/0.4253, allocations: 402.1 kB / 449.1 MB, free: 7.922 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.4253, allocations: 8.547 kB / 449.1 MB, free: 7.922 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.4253, allocations: 0 / 449.1 MB, free: 7.922 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.163e-05/0.4253, allocations: 0 / 449.1 MB, free: 7.922 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005099/0.4259, allocations: 132.8 kB / 449.3 MB, free: 7.914 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.4259, allocations: 7.844 kB / 449.3 MB, free: 7.91 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000202/0.4261, allocations: 16.17 kB / 449.3 MB, free: 7.91 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.218e-05/0.4261, allocations: 19.27 kB / 449.3 MB, free: 7.91 MB / 314.7 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 (elastoGap1.contact,elastoGap2.contact) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.89e-05/0.4262, allocations: 118.4 kB / 449.4 MB, free: 7.789 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.817e-05/0.4263, allocations: 34.94 kB / 449.5 MB, free: 7.77 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001166/0.4264, allocations: 44.73 kB / 449.5 MB, free: 7.762 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.4264, allocations: 4.453 kB / 449.5 MB, free: 7.762 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.22e-05/0.4265, allocations: 0 / 449.5 MB, free: 7.762 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.234e-05/0.4265, allocations: 3.75 kB / 449.5 MB, free: 7.762 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001515/0.428, allocations: 1.162 MB / 450.7 MB, free: 7.238 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.428, allocations: 3.844 kB / 450.7 MB, free: 7.238 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004847/0.4285, allocations: 129.3 kB / 450.8 MB, free: 7.211 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.464e-06/0.4285, allocations: 15.31 kB / 450.8 MB, free: 7.203 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.763e-05/0.4285, allocations: 7.75 kB / 450.8 MB, free: 7.203 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.68e-06/0.4286, allocations: 11.56 kB / 450.8 MB, free: 7.199 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.4286, allocations: 7.875 kB / 450.9 MB, free: 7.195 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008097/0.4294, allocations: 0.99 MB / 451.8 MB, free: 6.523 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.01e-05/0.4294, allocations: 111.2 kB / 451.9 MB, free: 6.41 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.244e-05/0.4295, allocations: 7.688 kB / 452 MB, free: 6.41 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000266/0.4298, allocations: 23.11 kB / 452 MB, free: 6.406 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.614e-05/0.4298, allocations: 45.17 kB / 452 MB, free: 6.383 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.771e-05/0.4299, allocations: 26.89 kB / 452.1 MB, free: 6.379 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.544e-05/0.43, allocations: 121.7 kB / 452.2 MB, free: 6.301 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003593/0.4303, allocations: 73.28 kB / 452.2 MB, free: 6.301 MB / 314.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001342/0.4305, allocations: 110.3 kB / 452.3 MB, free: 6.203 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004451/0.4309, allocations: 368.6 kB / 452.7 MB, free: 6.172 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.4309, allocations: 0 / 452.7 MB, free: 6.172 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002498/0.4312, allocations: 221.4 kB / 452.9 MB, free: 6.141 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000454/0.4316, allocations: 50.38 kB / 453 MB, free: 6.133 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001153/0.4328, allocations: 0.8015 MB / 453.8 MB, free: 5.57 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003149/0.4331, allocations: 0.8426 MB / 454.6 MB, free: 4.805 MB / 314.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4331, allocations: 3.969 kB / 454.6 MB, free: 4.805 MB / 314.7 MB Notification: Performance of Templates: time 0.00682/0.44, allocations: 4.229 MB / 458.9 MB, free: 2.754 MB / 314.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/ElastoGap/ElastoGap.csv","../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.ElastoGap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches