Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.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.0009185/0.0009185, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001153/0.002072, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007335/0.0007335, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009001/0.001634, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 0.9911/0.9911, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1089/1.1, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2844/0.2844, allocations: 32.8 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03335/0.3178, allocations: 12.53 MB / 289.3 MB, free: 8.676 MB / 282.7 MB " [Timeout remaining time 180] 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 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.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 290.7 MB, free: 7.578 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.687e-05/2.836e-05, allocations: 3.188 kB / 290.7 MB, free: 7.574 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.005609/0.005637, allocations: 1.83 MB / 292.5 MB, free: 6.09 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002046/0.007683, allocations: 1.02 MB / 293.6 MB, free: 5.328 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001088/0.007792, allocations: 0 / 293.6 MB, free: 5.328 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004466/0.01226, allocations: 87.97 kB / 293.6 MB, free: 5.266 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006663/0.01292, allocations: 127.4 kB / 293.8 MB, free: 5.141 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003284/0.01325, allocations: 83.55 kB / 293.8 MB, free: 5.059 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002536/0.01351, allocations: 131.6 kB / 294 MB, free: 4.93 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.01361, allocations: 7.984 kB / 294 MB, free: 4.922 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001946/0.0138, allocations: 95.8 kB / 294.1 MB, free: 4.828 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001291/0.01393, allocations: 55.86 kB / 294.1 MB, free: 4.773 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.973e-05/0.01395, allocations: 4 kB / 294.1 MB, free: 4.77 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001538/0.01411, allocations: 59.92 kB / 294.2 MB, free: 4.711 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.047e-05/0.01417, allocations: 23.86 kB / 294.2 MB, free: 4.688 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.646e-05/0.01421, allocations: 23.94 kB / 294.2 MB, free: 4.664 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002513/0.01446, allocations: 119.5 kB / 294.4 MB, free: 4.547 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.796e-05/0.01448, allocations: 0 / 294.4 MB, free: 4.547 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.01448, allocations: 4 kB / 294.4 MB, free: 4.543 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.849e-05/0.0145, allocations: 0 / 294.4 MB, free: 4.543 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.00365/0.01815, allocations: 360.3 kB / 294.7 MB, free: 4.168 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.523e-05/0.01821, allocations: 8.031 kB / 294.7 MB, free: 4.16 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.649e-05/0.01825, allocations: 12.92 kB / 294.7 MB, free: 4.148 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002235/0.01848, allocations: 150.3 kB / 294.9 MB, free: 3.973 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.102e-05/0.0185, allocations: 8.375 kB / 294.9 MB, free: 3.965 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.99e-05/0.01852, allocations: 384 / 294.9 MB, free: 3.965 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001461/0.01867, allocations: 77.69 kB / 295 MB, free: 3.879 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.01868, allocations: 3.938 kB / 295 MB, free: 3.875 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.01869, allocations: 3.984 kB / 295 MB, free: 3.871 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.357e-06/0.0187, allocations: 7.984 kB / 295 MB, free: 3.863 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.765e-05/0.01873, allocations: 8 kB / 295 MB, free: 3.855 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003433/0.01908, allocations: 177.8 kB / 295.2 MB, free: 3.664 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002091/0.01929, allocations: 89.28 kB / 295.3 MB, free: 3.566 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.779e-05/0.01931, allocations: 12.86 kB / 295.3 MB, free: 3.551 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.222e-05/0.01933, allocations: 4 kB / 295.3 MB, free: 3.547 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001331/0.01946, allocations: 70.34 kB / 295.3 MB, free: 3.465 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 2.074e-06/0.01946, allocations: 0 / 295.3 MB, free: 3.465 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006255/0.02009, allocations: 173.8 kB / 295.5 MB, free: 3.289 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.058e-05/0.02013, allocations: 55.39 kB / 295.6 MB, free: 3.223 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001675/0.0203, allocations: 197.6 kB / 295.8 MB, free: 3.016 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.02031, allocations: 29.7 kB / 295.8 MB, free: 2.98 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.594e-05/0.02036, allocations: 92.11 kB / 295.9 MB, free: 2.887 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.399e-05/0.0204, allocations: 39.67 kB / 295.9 MB, free: 2.848 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.304e-05/0.02045, allocations: 29.7 kB / 295.9 MB, free: 2.812 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.02061, allocations: 326.8 kB / 296.3 MB, free: 2.484 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.738e-05/0.02064, allocations: 14.83 kB / 296.3 MB, free: 2.469 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.048e-05/0.02068, allocations: 34.69 kB / 296.3 MB, free: 2.43 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.265e-05/0.02075, allocations: 64.31 kB / 296.4 MB, free: 2.359 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.02076, allocations: 0 / 296.4 MB, free: 2.359 MB / 282.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001296/0.02089, allocations: 77.7 kB / 296.4 MB, free: 2.277 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.0209, allocations: 4 kB / 296.4 MB, free: 2.273 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.02091, allocations: 0 / 296.4 MB, free: 2.273 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.02092, allocations: 4.031 kB / 296.5 MB, free: 2.27 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.98e-05/0.02101, allocations: 27.92 kB / 296.5 MB, free: 2.242 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.526e-06/0.02101, allocations: 0 / 296.5 MB, free: 2.242 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.683e-05/0.02106, allocations: 11.98 kB / 296.5 MB, free: 2.23 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.02107, allocations: 4 kB / 296.5 MB, free: 2.227 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 (13): * Single equations (assignments): 13 * 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 8.672e-05/0.02116, allocations: 116.6 kB / 296.6 MB, free: 2.102 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.22e-05/0.02118, allocations: 11.98 kB / 296.6 MB, free: 2.09 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001661/0.02135, allocations: 98.94 kB / 296.7 MB, free: 1.988 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.02135, allocations: 0 / 296.7 MB, free: 1.988 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.02135, allocations: 0 / 296.7 MB, free: 1.988 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.02136, allocations: 4 kB / 296.7 MB, free: 1.984 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000359/0.02171, allocations: 340.1 kB / 297.1 MB, free: 1.621 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.02172, allocations: 0 / 297.1 MB, free: 1.621 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.793e-05/0.02178, allocations: 19.98 kB / 297.1 MB, free: 1.602 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.799e-05/0.02179, allocations: 11.91 kB / 297.1 MB, free: 1.59 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.0218, allocations: 0 / 297.1 MB, free: 1.59 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.02181, allocations: 8 kB / 297.1 MB, free: 1.582 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.02181, allocations: 0 / 297.1 MB, free: 1.582 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.02181, allocations: 0 / 297.1 MB, free: 1.582 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001698/0.02198, allocations: 240.5 kB / 297.3 MB, free: 1.324 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.485e-05/0.02201, allocations: 4 kB / 297.3 MB, free: 1.32 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.627e-05/0.02208, allocations: 4 kB / 297.3 MB, free: 1.316 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.267e-05/0.02212, allocations: 11.92 kB / 297.3 MB, free: 1.305 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.19e-05/0.02214, allocations: 15.92 kB / 297.4 MB, free: 1.289 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.276e-05/0.02221, allocations: 57.42 kB / 297.4 MB, free: 1.23 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02221, allocations: 0 / 297.4 MB, free: 1.23 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002713/0.02248, allocations: 31.94 kB / 297.5 MB, free: 1.199 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.002419/0.0249, allocations: 0.7202 MB / 298.2 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001191/0.02502, allocations: 56.66 kB / 298.2 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.857e-06/0.02503, allocations: 0 / 298.2 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.387e-05/0.02507, allocations: 36.78 kB / 298.3 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002393/0.02531, allocations: 43.61 kB / 298.3 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000539/0.02585, allocations: 260.5 kB / 298.6 MB, free: 464 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.954e-05/0.0259, allocations: 76.45 kB / 298.6 MB, free: 368 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.852e-05/0.02595, allocations: 20.64 kB / 298.7 MB, free: 348 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.757e-05/0.02603, allocations: 71.36 kB / 298.7 MB, free: 276 kB / 282.7 MB Notification: Performance of SimCode: time 9.42e-07/0.02603, allocations: 0 / 298.7 MB, free: 276 kB / 282.7 MB Notification: Performance of Templates: time 0.01111/0.03713, allocations: 2.328 MB / 301.1 MB, free: 13.98 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.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.0183424577116966]