Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.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.001284/0.001284, allocations: 84.55 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001414/0.001414, allocations: 163.9 kB / 23.95 MB, free: 4.156 MB / 14.72 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.403/1.403, allocations: 177.1 MB / 204.3 MB, free: 9.191 MB / 190.1 MB " [Timeout remaining time 178] 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.2006/0.2006, allocations: 32.81 MB / 293.5 MB, free: 52 kB / 270.1 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.CombiTable1Ds.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 5.811e-06/5.811e-06, allocations: 3.984 kB / 440.1 MB, free: 8.16 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.644e-05/3.225e-05, allocations: 2.281 kB / 440.1 MB, free: 8.156 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test33): time 0.003142/0.003174, allocations: 1.588 MB / 441.7 MB, free: 6.559 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001942/0.005116, allocations: 1.243 MB / 442.9 MB, free: 5.309 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.958e-05/0.005165, allocations: 0 / 442.9 MB, free: 5.309 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002206/0.005386, allocations: 27.78 kB / 443 MB, free: 5.281 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003756/0.005762, allocations: 87.56 kB / 443 MB, free: 5.195 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002753/0.006037, allocations: 94.12 kB / 443.1 MB, free: 5.105 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000161/0.006198, allocations: 67.77 kB / 443.2 MB, free: 5.039 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.006314, allocations: 11.98 kB / 443.2 MB, free: 5.027 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.536e-05/0.006399, allocations: 31.92 kB / 443.2 MB, free: 4.996 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003891/0.006788, allocations: 27.89 kB / 443.3 MB, free: 4.969 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.191e-05/0.00681, allocations: 4 kB / 443.3 MB, free: 4.965 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001799/0.00699, allocations: 99.75 kB / 443.4 MB, free: 4.867 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.19e-05/0.007042, allocations: 7.938 kB / 443.4 MB, free: 4.859 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.198e-05/0.007084, allocations: 27.86 kB / 443.4 MB, free: 4.832 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002834/0.007367, allocations: 139.6 kB / 443.5 MB, free: 4.695 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.007371, allocations: 4 kB / 443.6 MB, free: 4.691 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.51e-07/0.007372, allocations: 0 / 443.6 MB, free: 4.691 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.007375, allocations: 0 / 443.6 MB, free: 4.691 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005143/0.00789, allocations: 321.7 kB / 443.9 MB, free: 4.348 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.00793, allocations: 8.031 kB / 443.9 MB, free: 4.34 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.591e-05/0.007976, allocations: 8.891 kB / 443.9 MB, free: 4.332 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002118/0.008188, allocations: 145.6 kB / 444 MB, free: 4.164 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.008199, allocations: 384 / 444 MB, free: 4.164 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.991e-05/0.008219, allocations: 4.375 kB / 444 MB, free: 4.16 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001993/0.008418, allocations: 89.67 kB / 444.1 MB, free: 4.055 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.008431, allocations: 4.141 kB / 444.1 MB, free: 4.051 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.008444, allocations: 4.125 kB / 444.1 MB, free: 4.047 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.868e-06/0.008447, allocations: 0 / 444.1 MB, free: 4.047 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.386e-05/0.008541, allocations: 23.97 kB / 444.1 MB, free: 4.023 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003418/0.008883, allocations: 220.6 kB / 444.4 MB, free: 3.777 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002073/0.00909, allocations: 38.56 kB / 444.4 MB, free: 3.73 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.264e-05/0.009143, allocations: 16.94 kB / 444.4 MB, free: 3.711 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.223e-05/0.009165, allocations: 7.938 kB / 444.4 MB, free: 3.703 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.044e-05/0.009196, allocations: 34.56 kB / 444.5 MB, free: 3.66 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.009197, allocations: 0 / 444.5 MB, free: 3.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005805/0.009777, allocations: 137.4 kB / 444.6 MB, free: 3.52 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.645e-05/0.009844, allocations: 77.11 kB / 444.7 MB, free: 3.426 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001714/0.01002, allocations: 152.5 kB / 444.8 MB, free: 3.27 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.01003, allocations: 25.7 kB / 444.8 MB, free: 3.238 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.525e-05/0.01012, allocations: 100.1 kB / 444.9 MB, free: 3.137 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.386e-05/0.01014, allocations: 15.86 kB / 445 MB, free: 3.121 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.995e-05/0.01018, allocations: 17.7 kB / 445 MB, free: 3.098 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.01034, allocations: 318.8 kB / 445.3 MB, free: 2.777 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.807e-05/0.01042, allocations: 19.98 kB / 445.3 MB, free: 2.758 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001397/0.01056, allocations: 63.33 kB / 445.4 MB, free: 2.684 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001431/0.0107, allocations: 48.83 kB / 445.4 MB, free: 2.633 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.01071, allocations: 3.938 kB / 445.4 MB, free: 2.629 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001999/0.01091, allocations: 81.91 kB / 445.5 MB, free: 2.543 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.01092, allocations: 7.938 kB / 445.5 MB, free: 2.535 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.01093, allocations: 4 kB / 445.5 MB, free: 2.531 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.01094, allocations: 0 / 445.5 MB, free: 2.531 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.857e-05/0.01101, allocations: 15.98 kB / 445.5 MB, free: 2.516 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.359e-06/0.01101, allocations: 3.938 kB / 445.5 MB, free: 2.512 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.739e-05/0.01106, allocations: 4 kB / 445.5 MB, free: 2.508 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-06/0.01106, allocations: 0 / 445.5 MB, free: 2.508 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 0.000107/0.01117, allocations: 130.4 kB / 445.7 MB, free: 2.371 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.822e-05/0.01121, allocations: 7.953 kB / 445.7 MB, free: 2.363 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002551/0.01146, allocations: 94.11 kB / 445.8 MB, free: 2.262 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.01147, allocations: 288 / 445.8 MB, free: 2.262 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.01147, allocations: 0 / 445.8 MB, free: 2.262 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.01147, allocations: 0 / 445.8 MB, free: 2.262 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000444/0.01192, allocations: 294.1 kB / 446 MB, free: 1.938 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.01192, allocations: 3.984 kB / 446.1 MB, free: 1.934 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.815e-05/0.01198, allocations: 12 kB / 446.1 MB, free: 1.922 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.01198, allocations: 4 kB / 446.1 MB, free: 1.918 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.01199, allocations: 0 / 446.1 MB, free: 1.918 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.01199, allocations: 0 / 446.1 MB, free: 1.918 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.01199, allocations: 0 / 446.1 MB, free: 1.918 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002608/0.01225, allocations: 187.3 kB / 446.3 MB, free: 1.719 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.996e-05/0.01227, allocations: 11.95 kB / 446.3 MB, free: 1.707 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.01229, allocations: 0 / 446.3 MB, free: 1.707 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.26e-05/0.01238, allocations: 8.172 kB / 446.3 MB, free: 1.699 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.196e-05/0.01241, allocations: 8 kB / 446.3 MB, free: 1.691 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.613e-06/0.01241, allocations: 4 kB / 446.3 MB, free: 1.688 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001094/0.01252, allocations: 115.2 kB / 446.4 MB, free: 1.574 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.01252, allocations: 0 / 446.4 MB, free: 1.574 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002986/0.01282, allocations: 39.86 kB / 446.4 MB, free: 1.535 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.00194/0.01476, allocations: 0.5235 MB / 447 MB, free: 1.23 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002138/0.01498, allocations: 51.89 kB / 447 MB, free: 1.18 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.01498, allocations: 0 / 447 MB, free: 1.18 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.371e-05/0.01506, allocations: 31.92 kB / 447 MB, free: 1.148 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000302/0.01536, allocations: 19.03 kB / 447.1 MB, free: 1.133 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004417/0.01581, allocations: 164.7 kB / 447.2 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.894e-05/0.01588, allocations: 75.33 kB / 447.3 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.948e-05/0.01594, allocations: 15.97 kB / 447.3 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.413e-05/0.016, allocations: 16.5 kB / 447.3 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of SimCode: time 3.3e-07/0.016, allocations: 0 / 447.3 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of Templates: time 0.1696/0.1856, allocations: 1.803 MB / 449.1 MB, free: 21.44 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test33/Test33.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.565455723553896]