Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(ModelicaTest.Translational.AllComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|damper.s_rel|elastoGap.s_rel|elastoGap.v_rel|position.s|position.v|position1.s|position1.v|position2.s|position2.v|relativeStates.s_rel|relativeStates.v_rel|slidingMass.s|slidingMass.v|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents") translateModel(ModelicaTest.Translational.AllComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|damper.s_rel|elastoGap.s_rel|elastoGap.v_rel|position.s|position.v|position1.s|position1.v|position2.s|position2.v|relativeStates.s_rel|relativeStates.v_rel|slidingMass.s|slidingMass.v|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents") [: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 4.0.0+maint.om/package.mo): time 0.000928/0.0009281, allocations: 175.5 kB / 8.52 MB, free: 1.82 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 221.4 MB / 230.3 MB, free: 7.625 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008947/0.0008947, allocations: 81.5 kB / 281.2 MB, free: 5.422 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1573/0.1573, allocations: 44.15 MB / 376.1 MB, free: 3.188 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 5.62e-06/5.66e-06, allocations: 224 / 444 MB, free: 15.57 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1168, allocations: 61.91 MB / 0.4941 GB, free: 1.574 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3155/0.4323, allocations: 90.43 MB / 0.5824 GB, free: 6.289 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000183/0.4326, allocations: 59.98 kB / 0.5825 GB, free: 6.23 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.03367/0.4663, allocations: 11.43 MB / 0.5936 GB, free: 10.76 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.859e-05/0.4663, allocations: 12 kB / 0.5936 GB, free: 10.75 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001538/0.4679, allocations: 0.8612 MB / 0.5945 GB, free: 9.836 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.4679, allocations: 11.97 kB / 0.5945 GB, free: 9.824 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001256/0.4681, allocations: 79.06 kB / 0.5946 GB, free: 9.746 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004855/0.4686, allocations: 359.4 kB / 0.5949 GB, free: 9.359 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.829e-05/0.4686, allocations: 23.91 kB / 0.5949 GB, free: 9.336 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.638e-05/0.4687, allocations: 43.94 kB / 0.595 GB, free: 9.293 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007595/0.4695, allocations: 418.4 kB / 0.5954 GB, free: 8.887 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000795/0.4703, allocations: 0.4895 MB / 0.5958 GB, free: 8.375 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.438e-05/0.4703, allocations: 7.906 kB / 0.5958 GB, free: 8.367 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.326e-05/0.4704, allocations: 3.938 kB / 0.5958 GB, free: 8.363 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.441e-05/0.4704, allocations: 12 kB / 0.5959 GB, free: 8.352 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003014/0.4734, allocations: 1.954 MB / 0.5978 GB, free: 6.305 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007242/0.4741, allocations: 445.7 kB / 0.5982 GB, free: 5.84 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003837/0.4745, allocations: 261.9 kB / 0.5984 GB, free: 5.566 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001747/0.4747, allocations: 101.9 kB / 0.5985 GB, free: 5.449 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/0.4748, allocations: 46.94 kB / 0.5986 GB, free: 5.395 MB / 410.7 MB Notification: Performance of pre-optimization done (n=82): time 2.535e-06/0.4748, allocations: 0 / 0.5986 GB, free: 5.395 MB / 410.7 MB Notification: Performance of matching and sorting (n=115): time 0.005248/0.48, allocations: 3.552 MB / 0.6021 GB, free: 1.504 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000111/0.4802, allocations: 166.9 kB / 0.6022 GB, free: 1.305 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002925/0.4805, allocations: 297.1 kB / 0.6025 GB, free: 1.008 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.62e-05/0.4805, allocations: 25.7 kB / 0.6025 GB, free: 0.9766 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/0.4806, allocations: 224.9 kB / 0.6027 GB, free: 0.75 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002424/0.4809, allocations: 394.1 kB / 0.6031 GB, free: 368 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.451e-05/0.4809, allocations: 4 kB / 0.6031 GB, free: 364 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.4811, allocations: 374.8 kB / 0.6035 GB, free: 15.98 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004117/0.4815, allocations: 250.6 kB / 0.6037 GB, free: 15.74 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005265/0.482, allocations: 434.5 kB / 0.6041 GB, free: 15.24 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005252/0.4826, allocations: 314.7 kB / 0.6044 GB, free: 14.94 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.4826, allocations: 0 / 0.6044 GB, free: 14.94 MB / 426.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001274/0.4839, allocations: 0.8188 MB / 0.6052 GB, free: 14.11 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.4839, allocations: 4 kB / 0.6052 GB, free: 14.11 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.4839, allocations: 4 kB / 0.6052 GB, free: 14.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.443e-05/0.4839, allocations: 12 kB / 0.6052 GB, free: 14.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001174/0.4851, allocations: 304 kB / 0.6055 GB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.205e-05/0.4851, allocations: 8 kB / 0.6055 GB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004497/0.4856, allocations: 43.97 kB / 0.6056 GB, free: 13.74 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.484e-05/0.4857, allocations: 39.98 kB / 0.6056 GB, free: 13.7 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (144): * Single equations (assignments): 144 * 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.0001456/0.4858, allocations: 132.7 kB / 0.6057 GB, free: 13.57 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001852/0.486, allocations: 71.16 kB / 0.6058 GB, free: 13.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000427/0.4865, allocations: 232.2 kB / 0.606 GB, free: 13.26 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.15e-05/0.4865, allocations: 12 kB / 0.606 GB, free: 13.25 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.608e-05/0.4865, allocations: 7.984 kB / 0.6061 GB, free: 13.24 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.305e-05/0.4865, allocations: 7.922 kB / 0.6061 GB, free: 13.23 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003032/0.4896, allocations: 2.165 MB / 0.6082 GB, free: 10.97 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.797e-06/0.4896, allocations: 7.984 kB / 0.6082 GB, free: 10.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001237/0.4908, allocations: 268 kB / 0.6084 GB, free: 10.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.31e-05/0.4908, allocations: 8 kB / 0.6084 GB, free: 10.69 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.652e-05/0.4909, allocations: 11.98 kB / 0.6085 GB, free: 10.68 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.111e-05/0.4909, allocations: 16.12 kB / 0.6085 GB, free: 10.66 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.4909, allocations: 4 kB / 0.6085 GB, free: 10.66 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001929/0.4929, allocations: 1.707 MB / 0.6101 GB, free: 8.828 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002553/0.4931, allocations: 200.2 kB / 0.6103 GB, free: 8.613 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001004/0.4932, allocations: 4 kB / 0.6103 GB, free: 8.609 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005777/0.4938, allocations: 39.97 kB / 0.6104 GB, free: 8.57 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00014/0.494, allocations: 76.45 kB / 0.6105 GB, free: 8.492 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.656e-05/0.494, allocations: 35.94 kB / 0.6105 GB, free: 8.457 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0002089/0.4943, allocations: 227.2 kB / 0.6107 GB, free: 8.238 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007139/0.495, allocations: 156 kB / 0.6109 GB, free: 8.086 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 15 (slidingMass.s,slidingMass.v,damper.s_rel,springDamper.s_rel,springDamper.v_rel,elastoGap.s_rel,elastoGap.v_rel,relativeStates.s_rel,relativeStates.v_rel,position2.s,position2.v,position1.s,position1.v,position.s,position.v) * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 115 * 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.000179/0.4952, allocations: 119 kB / 0.611 GB, free: 7.957 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001051/0.4962, allocations: 0.7088 MB / 0.6117 GB, free: 7.25 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.4962, allocations: 0 / 0.6117 GB, free: 7.25 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005979/0.4968, allocations: 430.1 kB / 0.6121 GB, free: 6.832 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007451/0.4976, allocations: 90.45 kB / 0.6122 GB, free: 6.746 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003088/0.5007, allocations: 1.879 MB / 0.614 GB, free: 4.789 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007453/0.5015, allocations: 1.033 MB / 0.615 GB, free: 3.734 MB / 426.7 MB Notification: Performance of SimCode: time 3.6e-07/0.5015, allocations: 4 kB / 0.615 GB, free: 3.73 MB / 426.7 MB Notification: Performance of Templates: time 0.01381/0.5153, allocations: 7.575 MB / 0.6224 GB, free: 12.21 MB / 442.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.sim & ./ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Translational/AllComponents/AllComponents.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches