Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.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.0009414/0.0009414, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.0009612/0.0009612, allocations: 170.4 kB / 24.91 MB, free: 8.723 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.017/1.017, allocations: 177.1 MB / 205.3 MB, free: 5.121 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2435/0.2435, allocations: 34.26 MB / 296.1 MB, free: 0.668 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 3.938 kB / 325.3 MB, free: 7.629 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.643e-05/2.803e-05, allocations: 7.812 kB / 325.3 MB, free: 7.621 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.006927/0.006955, allocations: 1.762 MB / 327.1 MB, free: 5.848 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005468/0.01242, allocations: 1.738 MB / 328.8 MB, free: 4.102 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.246e-05/0.01251, allocations: 0 / 328.8 MB, free: 4.102 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000296/0.01281, allocations: 39.77 kB / 328.9 MB, free: 4.062 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003991/0.01321, allocations: 103.4 kB / 329 MB, free: 3.961 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002296/0.01344, allocations: 83.59 kB / 329.1 MB, free: 3.879 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001913/0.01363, allocations: 111.7 kB / 329.2 MB, free: 3.77 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.729e-05/0.01372, allocations: 11.98 kB / 329.2 MB, free: 3.758 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001159/0.01383, allocations: 59.77 kB / 329.2 MB, free: 3.699 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001197/0.01395, allocations: 43.89 kB / 329.3 MB, free: 3.656 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.231e-05/0.01398, allocations: 8 kB / 329.3 MB, free: 3.648 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000187/0.01416, allocations: 103.8 kB / 329.4 MB, free: 3.547 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.32e-05/0.01422, allocations: 23.92 kB / 329.4 MB, free: 3.523 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.119e-05/0.01426, allocations: 28.41 kB / 329.4 MB, free: 3.496 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000272/0.01453, allocations: 167.4 kB / 329.6 MB, free: 3.332 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.01453, allocations: 0 / 329.6 MB, free: 3.332 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.01454, allocations: 0 / 329.6 MB, free: 3.332 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.527e-06/0.01454, allocations: 0 / 329.6 MB, free: 3.332 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004466/0.01499, allocations: 337.5 kB / 329.9 MB, free: 2.98 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.01502, allocations: 8.031 kB / 329.9 MB, free: 2.973 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.008e-05/0.01506, allocations: 12.92 kB / 330 MB, free: 2.961 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001958/0.01525, allocations: 149.5 kB / 330.1 MB, free: 2.789 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.01527, allocations: 4.375 kB / 330.1 MB, free: 2.785 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.271e-05/0.01529, allocations: 4.375 kB / 330.1 MB, free: 2.781 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001578/0.01545, allocations: 113.2 kB / 330.2 MB, free: 2.648 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.01546, allocations: 3.938 kB / 330.2 MB, free: 2.645 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-06/0.01547, allocations: 3.938 kB / 330.2 MB, free: 2.641 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.01548, allocations: 0 / 330.2 MB, free: 2.641 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.196e-05/0.01552, allocations: 18.81 kB / 330.3 MB, free: 2.621 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002499/0.01577, allocations: 173.9 kB / 330.4 MB, free: 2.434 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001205/0.01589, allocations: 97.3 kB / 330.5 MB, free: 2.328 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.526e-05/0.01591, allocations: 8.859 kB / 330.5 MB, free: 2.316 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.297e-05/0.01593, allocations: 4 kB / 330.5 MB, free: 2.312 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001064/0.01603, allocations: 74.2 kB / 330.6 MB, free: 2.227 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.01604, allocations: 0 / 330.6 MB, free: 2.227 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003625/0.0164, allocations: 129.4 kB / 330.7 MB, free: 2.09 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.39e-05/0.01644, allocations: 77.11 kB / 330.8 MB, free: 1.996 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001393/0.01658, allocations: 162.9 kB / 331 MB, free: 1.824 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.389e-05/0.01661, allocations: 37.7 kB / 331 MB, free: 1.781 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.152e-05/0.01665, allocations: 96.09 kB / 331.1 MB, free: 1.684 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.183e-05/0.01668, allocations: 27.75 kB / 331.1 MB, free: 1.656 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.609e-05/0.01672, allocations: 29.69 kB / 331.1 MB, free: 1.621 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.003111/0.01984, allocations: 322.8 kB / 331.5 MB, free: 1.297 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.929e-05/0.01987, allocations: 10.83 kB / 331.5 MB, free: 1.285 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.038e-05/0.01994, allocations: 61.56 kB / 331.5 MB, free: 1.211 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.801e-05/0.02, allocations: 47.28 kB / 331.6 MB, free: 1.156 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.02, allocations: 0 / 331.6 MB, free: 1.156 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001408/0.02015, allocations: 84.41 kB / 331.7 MB, free: 1.066 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.02016, allocations: 4 kB / 331.7 MB, free: 1.062 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.02017, allocations: 0 / 331.7 MB, free: 1.062 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.02019, allocations: 4 kB / 331.7 MB, free: 1.059 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.658e-05/0.02027, allocations: 15.98 kB / 331.7 MB, free: 1.043 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.02028, allocations: 0 / 331.7 MB, free: 1.043 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.411e-05/0.02032, allocations: 4 kB / 331.7 MB, free: 1.039 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.283e-06/0.02033, allocations: 0 / 331.7 MB, free: 1.039 MB / 298.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 (11): * Single equations (assignments): 11 * 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 9.712e-05/0.02043, allocations: 128.5 kB / 331.8 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.589e-05/0.02045, allocations: 15.92 kB / 331.8 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001717/0.02062, allocations: 86.92 kB / 331.9 MB, free: 0.7969 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.02063, allocations: 4 kB / 331.9 MB, free: 0.793 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.873e-06/0.02063, allocations: 0 / 331.9 MB, free: 0.793 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.02063, allocations: 0 / 331.9 MB, free: 0.793 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003269/0.02096, allocations: 307.5 kB / 332.2 MB, free: 476 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.02096, allocations: 0 / 332.2 MB, free: 476 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.639e-05/0.02101, allocations: 19.92 kB / 332.2 MB, free: 456 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.02101, allocations: 0 / 332.2 MB, free: 456 kB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.02102, allocations: 8 kB / 332.2 MB, free: 448 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.02102, allocations: 4 kB / 332.3 MB, free: 444 kB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.02103, allocations: 4.031 kB / 332.3 MB, free: 440 kB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001486/0.02117, allocations: 224.7 kB / 332.5 MB, free: 196 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.281e-05/0.0212, allocations: 19.89 kB / 332.5 MB, free: 176 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.202e-05/0.02122, allocations: 3.938 kB / 332.5 MB, free: 172 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.094e-05/0.02129, allocations: 4 kB / 332.5 MB, free: 168 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.09e-05/0.02132, allocations: 11.98 kB / 332.5 MB, free: 156 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.422e-05/0.02134, allocations: 3.984 kB / 332.5 MB, free: 152 kB / 298.7 MB Notification: Performance of sorting global known variables: time 5.704e-05/0.02139, allocations: 45.19 kB / 332.6 MB, free: 104 kB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02139, allocations: 0 / 332.6 MB, free: 104 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003004/0.02169, allocations: 51.86 kB / 332.6 MB, free: 52 kB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (11): * Single equations (assignments): 9 * 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.004903/0.0266, allocations: 0.6956 MB / 333.3 MB, free: 15.71 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001415/0.02674, allocations: 52.66 kB / 333.4 MB, free: 15.65 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.02674, allocations: 0 / 333.4 MB, free: 15.65 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.166e-05/0.02679, allocations: 40.97 kB / 333.4 MB, free: 15.61 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002623/0.02706, allocations: 39.78 kB / 333.4 MB, free: 15.57 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004198/0.02748, allocations: 215.7 kB / 333.6 MB, free: 15.33 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.168e-05/0.02753, allocations: 71.33 kB / 333.7 MB, free: 15.24 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.051e-05/0.02759, allocations: 20.58 kB / 333.7 MB, free: 15.22 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001057/0.02769, allocations: 75.36 kB / 333.8 MB, free: 15.15 MB / 314.7 MB Notification: Performance of SimCode: time 9.52e-07/0.02769, allocations: 64 / 333.8 MB, free: 15.15 MB / 314.7 MB Notification: Performance of Templates: time 0.01014/0.03783, allocations: 2.911 MB / 336.7 MB, free: 12.27 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.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.0347812240943313]