Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001221/0.001221, allocations: 91.33 kB / 20.43 MB, free: 4.137 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 169 kB / 23.8 MB, free: 0.7695 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9691/0.9691, allocations: 158.6 MB / 185.7 MB, free: 2.52 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1781/0.1781, allocations: 32.37 MB / 270.4 MB, free: 14.67 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64") translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.365e-06/2.365e-06, allocations: 3.938 kB / 347.7 MB, free: 9.379 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.868e-05/4.105e-05, allocations: 2.312 kB / 347.7 MB, free: 9.375 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.003034/0.003075, allocations: 1.701 MB / 349.4 MB, free: 7.664 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001275/0.00435, allocations: 0.7804 MB / 350.2 MB, free: 6.875 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.827e-05/0.004428, allocations: 0 / 350.2 MB, free: 6.875 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003891/0.004817, allocations: 51.75 kB / 350.3 MB, free: 6.824 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002711/0.005088, allocations: 67.69 kB / 350.3 MB, free: 6.758 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002619/0.00535, allocations: 79.7 kB / 350.4 MB, free: 6.68 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001772/0.005527, allocations: 95.62 kB / 350.5 MB, free: 6.586 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.738e-05/0.005575, allocations: 4 kB / 350.5 MB, free: 6.582 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001098/0.005685, allocations: 51.83 kB / 350.6 MB, free: 6.531 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.439e-05/0.005779, allocations: 19.92 kB / 350.6 MB, free: 6.512 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.684e-05/0.005806, allocations: 4 kB / 350.6 MB, free: 6.508 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001014/0.005907, allocations: 39.84 kB / 350.6 MB, free: 6.469 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.654e-05/0.005984, allocations: 27.92 kB / 350.7 MB, free: 6.441 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.632e-05/0.00604, allocations: 19.88 kB / 350.7 MB, free: 6.422 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002764/0.006317, allocations: 99.66 kB / 350.8 MB, free: 6.324 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.006322, allocations: 0 / 350.8 MB, free: 6.324 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.006324, allocations: 0 / 350.8 MB, free: 6.324 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.673e-06/0.00633, allocations: 0 / 350.8 MB, free: 6.324 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005676/0.006898, allocations: 459.8 kB / 351.2 MB, free: 5.84 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.006946, allocations: 8.031 kB / 351.2 MB, free: 5.832 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.283e-05/0.007009, allocations: 16.84 kB / 351.3 MB, free: 5.816 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002193/0.007228, allocations: 160.3 kB / 351.4 MB, free: 5.633 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.361e-05/0.007252, allocations: 4.375 kB / 351.4 MB, free: 5.629 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.63e-05/0.007268, allocations: 4.375 kB / 351.4 MB, free: 5.625 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001509/0.007419, allocations: 54.94 kB / 351.5 MB, free: 5.562 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.007432, allocations: 7.875 kB / 351.5 MB, free: 5.555 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.007444, allocations: 4 kB / 351.5 MB, free: 5.551 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.769e-06/0.007454, allocations: 0 / 351.5 MB, free: 5.551 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.369e-05/0.007498, allocations: 11.98 kB / 351.5 MB, free: 5.539 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001801/0.007678, allocations: 148.7 kB / 351.6 MB, free: 5.359 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001339/0.007812, allocations: 55.03 kB / 351.7 MB, free: 5.293 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.707e-05/0.007849, allocations: 19.67 kB / 351.7 MB, free: 5.27 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.894e-05/0.007868, allocations: 0 / 351.7 MB, free: 5.27 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001275/0.007995, allocations: 65.05 kB / 351.8 MB, free: 5.191 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 2.234e-06/0.007998, allocations: 0 / 351.8 MB, free: 5.191 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002616/0.008259, allocations: 97.45 kB / 351.9 MB, free: 5.09 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.202e-05/0.008291, allocations: 51.41 kB / 351.9 MB, free: 5.027 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001771/0.008468, allocations: 269.4 kB / 352.2 MB, free: 4.746 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.008484, allocations: 25.7 kB / 352.2 MB, free: 4.715 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.574e-05/0.008539, allocations: 158.9 kB / 352.4 MB, free: 4.555 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.603e-05/0.008585, allocations: 23.83 kB / 352.4 MB, free: 4.531 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.111e-05/0.008626, allocations: 27.38 kB / 352.4 MB, free: 4.496 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.766e-05/0.008704, allocations: 0.5001 MB / 352.9 MB, free: 3.984 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.623e-05/0.00873, allocations: 7.984 kB / 352.9 MB, free: 3.977 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.549e-05/0.008766, allocations: 27.38 kB / 352.9 MB, free: 3.941 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.352e-05/0.008829, allocations: 39.3 kB / 353 MB, free: 3.895 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.008833, allocations: 4.25 kB / 353 MB, free: 3.891 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001299/0.008963, allocations: 77.59 kB / 353.1 MB, free: 3.809 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.008982, allocations: 4 kB / 353.1 MB, free: 3.805 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.008989, allocations: 7.969 kB / 353.1 MB, free: 3.797 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.724e-05/0.009017, allocations: 0 / 353.1 MB, free: 3.797 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/0.009123, allocations: 15.94 kB / 353.1 MB, free: 3.781 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.009131, allocations: 0 / 353.1 MB, free: 3.781 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.898e-05/0.00918, allocations: 4 kB / 353.1 MB, free: 3.777 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.687e-06/0.009188, allocations: 4 kB / 353.1 MB, free: 3.773 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 7.492e-05/0.009263, allocations: 160.6 kB / 353.3 MB, free: 3.605 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.484e-05/0.009288, allocations: 19.91 kB / 353.3 MB, free: 3.586 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001759/0.009464, allocations: 86.7 kB / 353.4 MB, free: 3.492 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-06/0.009468, allocations: 0 / 353.4 MB, free: 3.492 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.009471, allocations: 8 kB / 353.4 MB, free: 3.484 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/0.009477, allocations: 0 / 353.4 MB, free: 3.484 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001205/0.009597, allocations: 160.5 kB / 353.5 MB, free: 3.293 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.009599, allocations: 0 / 353.5 MB, free: 3.293 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.748e-05/0.009637, allocations: 4 kB / 353.5 MB, free: 3.289 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.009641, allocations: 4 kB / 353.5 MB, free: 3.285 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.00965, allocations: 0 / 353.5 MB, free: 3.285 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.009654, allocations: 3.938 kB / 353.5 MB, free: 3.281 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.009655, allocations: 0 / 353.5 MB, free: 3.281 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001301/0.009785, allocations: 120.3 kB / 353.7 MB, free: 3.141 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.124e-05/0.009807, allocations: 11.91 kB / 353.7 MB, free: 3.129 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.308e-05/0.00983, allocations: 4 kB / 353.7 MB, free: 3.125 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.067e-05/0.00988, allocations: 15.92 kB / 353.7 MB, free: 3.109 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.865e-05/0.009919, allocations: 4.125 kB / 353.7 MB, free: 3.105 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.642e-05/0.009935, allocations: 8 kB / 353.7 MB, free: 3.098 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001039/0.01004, allocations: 188.4 kB / 353.9 MB, free: 2.914 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.01004, allocations: 0 / 353.9 MB, free: 2.914 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002568/0.0103, allocations: 23.94 kB / 353.9 MB, free: 2.891 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001204/0.0115, allocations: 388.2 kB / 354.3 MB, free: 2.598 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001457/0.01165, allocations: 35.67 kB / 354.3 MB, free: 2.559 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.01165, allocations: 0 / 354.3 MB, free: 2.559 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.652e-05/0.0117, allocations: 27.62 kB / 354.3 MB, free: 2.527 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003262/0.01202, allocations: 33.08 kB / 354.4 MB, free: 2.496 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005115/0.01253, allocations: 229.8 kB / 354.6 MB, free: 2.246 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.218e-05/0.01258, allocations: 71.33 kB / 354.7 MB, free: 2.156 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.786e-05/0.01262, allocations: 8.484 kB / 354.7 MB, free: 2.148 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.022e-05/0.01266, allocations: 20.5 kB / 354.7 MB, free: 2.125 MB / 282.7 MB Notification: Performance of SimCode: time 1.002e-06/0.01266, allocations: 0 / 354.7 MB, free: 2.125 MB / 282.7 MB Notification: Performance of Templates: time 0.004717/0.01738, allocations: 1.64 MB / 356.3 MB, free: 0.5039 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3966253329999745]