Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.PreLoad.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.PreLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|friction.v_rel|innerContactA.s_rel|innerContactB.s_rel|outerContactA.v_rel|outerContactB.s_rel|outerContactB.v_rel",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.PreLoad") translateModel(Modelica.Mechanics.Translational.Examples.PreLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|friction.v_rel|innerContactA.s_rel|innerContactB.s_rel|outerContactA.v_rel|outerContactB.s_rel|outerContactB.v_rel",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.PreLoad") [: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.001557/0.001557, allocations: 179.6 kB / 8.154 MB, free: 2.188 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.642/1.642, allocations: 205.2 MB / 213.8 MB, free: 13.87 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001234/0.001234, allocations: 90.86 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.015e-05/1.038e-05, allocations: 4 kB / 314.3 MB, free: 9.055 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2429/0.243, allocations: 47.55 MB / 361.8 MB, free: 45.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1225/0.3655, allocations: 77.15 MB / 439 MB, free: 8.961 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002762/0.3659, allocations: 73.12 kB / 439 MB, free: 8.891 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.04165/0.4075, allocations: 8.928 MB / 448 MB, free: 12 kB / 330.7 MB Notification: Performance of Transformations before backend: time 2.95e-05/0.4076, allocations: 8 kB / 448 MB, free: 4 kB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.002176/0.4098, allocations: 0.7394 MB / 448.7 MB, free: 15.22 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.4099, allocations: 16.03 kB / 448.7 MB, free: 15.21 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000158/0.41, allocations: 55.34 kB / 448.8 MB, free: 15.15 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005599/0.4106, allocations: 309.6 kB / 449.1 MB, free: 14.81 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.579e-05/0.4107, allocations: 16 kB / 449.1 MB, free: 14.8 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001127/0.4108, allocations: 27.91 kB / 449.1 MB, free: 14.77 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001152/0.412, allocations: 345.9 kB / 449.5 MB, free: 14.43 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009868/0.413, allocations: 336.5 kB / 449.8 MB, free: 14.1 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.121e-05/0.413, allocations: 0 / 449.8 MB, free: 14.1 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.747e-05/0.4131, allocations: 3.984 kB / 449.8 MB, free: 14.09 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.919e-05/0.4131, allocations: 14.25 kB / 449.8 MB, free: 14.08 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003989/0.4171, allocations: 1.321 MB / 451.1 MB, free: 12.71 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008686/0.418, allocations: 295 kB / 451.4 MB, free: 12.42 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001021/0.4191, allocations: 319.3 kB / 451.7 MB, free: 12.11 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.468e-05/0.4191, allocations: 8.656 kB / 451.7 MB, free: 12.1 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.097e-05/0.4192, allocations: 39.2 kB / 451.8 MB, free: 12.05 MB / 346.7 MB Notification: Performance of pre-optimization done (n=67): time 5.18e-06/0.4192, allocations: 0 / 451.8 MB, free: 12.05 MB / 346.7 MB Notification: Performance of matching and sorting (n=103): time 0.006676/0.4259, allocations: 2.213 MB / 454 MB, free: 9.75 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.307e-05/0.426, allocations: 64.41 kB / 454.1 MB, free: 9.676 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003135/0.4263, allocations: 201 kB / 454.3 MB, free: 9.473 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.771e-05/0.4264, allocations: 25.7 kB / 454.3 MB, free: 9.441 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001239/0.4265, allocations: 219.6 kB / 454.5 MB, free: 9.223 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003372/0.4269, allocations: 330.9 kB / 454.8 MB, free: 8.895 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.558e-05/0.4269, allocations: 0 / 454.8 MB, free: 8.895 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001986/0.4271, allocations: 350.8 kB / 455.2 MB, free: 8.543 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006471/0.4278, allocations: 214 kB / 455.4 MB, free: 8.332 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007479/0.4286, allocations: 271.5 kB / 455.6 MB, free: 8.059 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007054/0.4293, allocations: 238.8 kB / 455.9 MB, free: 7.828 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.4293, allocations: 0 / 455.9 MB, free: 7.828 MB / 346.7 MB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001703/0.431, allocations: 0.6085 MB / 456.5 MB, free: 7.211 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.4311, allocations: 4 kB / 456.5 MB, free: 7.207 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.4311, allocations: 8.062 kB / 456.5 MB, free: 7.199 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.709e-05/0.4311, allocations: 4 kB / 456.5 MB, free: 7.195 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001775/0.4329, allocations: 219.7 kB / 456.7 MB, free: 6.98 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.51e-05/0.4329, allocations: 4.656 kB / 456.7 MB, free: 6.977 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006616/0.4336, allocations: 47.95 kB / 456.8 MB, free: 6.93 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.277e-05/0.4337, allocations: 28 kB / 456.8 MB, free: 6.902 MB / 346.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 (innerContactA.contact,innerContactB.contact,outerContactA.contact,outerContactB.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (113): * Single equations (assignments): 113 * 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 0.0001704/0.4339, allocations: 41.52 kB / 456.8 MB, free: 6.855 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001716/0.4341, allocations: 51.34 kB / 456.9 MB, free: 6.805 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002593/0.4343, allocations: 65.36 kB / 456.9 MB, free: 6.738 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-05/0.4344, allocations: 12 kB / 457 MB, free: 6.727 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.175e-05/0.4344, allocations: 5.781 kB / 457 MB, free: 6.723 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.605e-05/0.4344, allocations: 7.969 kB / 457 MB, free: 6.715 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004373/0.4388, allocations: 1.738 MB / 458.7 MB, free: 4.875 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-05/0.4389, allocations: 4 kB / 458.7 MB, free: 4.871 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001961/0.4408, allocations: 220.3 kB / 458.9 MB, free: 4.656 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.444e-05/0.4409, allocations: 15.91 kB / 458.9 MB, free: 4.641 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.47e-05/0.441, allocations: 7.984 kB / 458.9 MB, free: 4.633 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.731e-05/0.4411, allocations: 16 kB / 459 MB, free: 4.617 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.868e-06/0.4411, allocations: 7.938 kB / 459 MB, free: 4.609 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002888/0.444, allocations: 1.383 MB / 460.4 MB, free: 3.035 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001869/0.4442, allocations: 132.4 kB / 460.5 MB, free: 2.887 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001209/0.4444, allocations: 8 kB / 460.5 MB, free: 2.879 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008196/0.4452, allocations: 51.95 kB / 460.5 MB, free: 2.828 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001624/0.4454, allocations: 68.55 kB / 460.6 MB, free: 2.762 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.244e-05/0.4455, allocations: 31.98 kB / 460.6 MB, free: 2.73 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0002185/0.4457, allocations: 153.2 kB / 460.8 MB, free: 2.582 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007108/0.4464, allocations: 124 kB / 460.9 MB, free: 2.461 MB / 346.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 103 * 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.0002194/0.4466, allocations: 117.4 kB / 461 MB, free: 2.34 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001618/0.4483, allocations: 0.5892 MB / 461.6 MB, free: 1.754 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/0.4483, allocations: 6.438 kB / 461.6 MB, free: 1.75 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009822/0.4493, allocations: 378.6 kB / 462 MB, free: 1.375 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001015/0.4503, allocations: 69.77 kB / 462.1 MB, free: 1.309 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003682/0.454, allocations: 1.237 MB / 463.3 MB, free: 15.98 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009389/0.455, allocations: 0.9461 MB / 464.2 MB, free: 15 MB / 362.7 MB Notification: Performance of SimCode: time 1.412e-06/0.455, allocations: 0 / 464.2 MB, free: 15 MB / 362.7 MB Notification: Performance of Templates: time 0.01642/0.4715, allocations: 7.013 MB / 471.3 MB, free: 8.004 MB / 362.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.PreLoad.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.PreLoad.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.PreLoad.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.PreLoad.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.PreLoad --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.PreLoad.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.PreLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/PreLoad/PreLoad.csv","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.PreLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches