Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.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.002251/0.002251, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002605/0.002605, allocations: 165.6 kB / 24.27 MB, free: 156 kB / 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.609/1.609, allocations: 177.1 MB / 204.6 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 178] 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.4165/0.4165, allocations: 34.26 MB / 295.3 MB, free: 0.6914 MB / 266.7 MB " [Timeout remaining time 179] 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.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.065e-06/3.065e-06, allocations: 0 / 377.3 MB, free: 2.973 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.624e-05/4.93e-05, allocations: 2.312 kB / 377.3 MB, free: 2.969 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test1): time 0.005801/0.00585, allocations: 1.673 MB / 379 MB, free: 1.281 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002246/0.008096, allocations: 0.553 MB / 379.5 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.546e-05/0.008172, allocations: 0 / 379.5 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001095/0.009267, allocations: 447.1 kB / 380 MB, free: 292 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009505/0.01022, allocations: 299.3 kB / 380.3 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006524/0.01087, allocations: 131.4 kB / 380.4 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004351/0.0113, allocations: 175.6 kB / 380.6 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001272/0.01143, allocations: 15.92 kB / 380.6 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002704/0.0117, allocations: 123.8 kB / 380.7 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005128/0.01222, allocations: 239.6 kB / 380.9 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.632e-05/0.01226, allocations: 4 kB / 380.9 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002132/0.01247, allocations: 55.89 kB / 381 MB, free: 15.26 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002038/0.01268, allocations: 79.72 kB / 381.1 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001017/0.01278, allocations: 39.75 kB / 381.1 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006241/0.0134, allocations: 259 kB / 381.4 MB, free: 14.89 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.01341, allocations: 4 kB / 381.4 MB, free: 14.89 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.01341, allocations: 0 / 381.4 MB, free: 14.89 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.616e-06/0.01342, allocations: 0 / 381.4 MB, free: 14.89 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.001535/0.01495, allocations: 0.7162 MB / 382.1 MB, free: 14.13 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.132e-05/0.01502, allocations: 8.031 kB / 382.1 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001399/0.01516, allocations: 44.66 kB / 382.1 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005528/0.01571, allocations: 252.8 kB / 382.4 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.72e-05/0.01574, allocations: 8.312 kB / 382.4 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.236e-05/0.01577, allocations: 384 / 382.4 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000234/0.016, allocations: 58.23 kB / 382.5 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.944e-05/0.01602, allocations: 192 / 382.5 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.878e-05/0.01604, allocations: 8.125 kB / 382.5 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.01605, allocations: 0 / 382.5 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001737/0.01622, allocations: 27.98 kB / 382.5 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001126/0.01735, allocations: 479.5 kB / 383 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002208/0.01757, allocations: 50.98 kB / 383 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.353e-05/0.01766, allocations: 19.86 kB / 383 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.603e-05/0.0177, allocations: 7.938 kB / 383 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.782e-05/0.01775, allocations: 33.39 kB / 383.1 MB, free: 13.06 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.223e-06/0.01775, allocations: 0 / 383.1 MB, free: 13.06 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.001451/0.0192, allocations: 297 kB / 383.4 MB, free: 12.77 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.239e-05/0.01926, allocations: 55.39 kB / 383.4 MB, free: 12.7 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00137/0.02063, allocations: 0.6707 MB / 384.1 MB, free: 12.01 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.244e-05/0.02066, allocations: 29.7 kB / 384.1 MB, free: 11.98 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004832/0.02115, allocations: 302.7 kB / 384.4 MB, free: 11.68 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.379e-05/0.0212, allocations: 27.8 kB / 384.4 MB, free: 11.65 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.99e-05/0.02128, allocations: 27.38 kB / 384.5 MB, free: 11.61 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0005844/0.02187, allocations: 0.5781 MB / 385 MB, free: 11.02 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.953e-05/0.02196, allocations: 16 kB / 385.1 MB, free: 11.01 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.313e-05/0.02206, allocations: 31.97 kB / 385.1 MB, free: 10.98 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001905/0.02225, allocations: 63.61 kB / 385.1 MB, free: 10.91 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.02225, allocations: 0 / 385.1 MB, free: 10.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002887/0.02254, allocations: 129.4 kB / 385.3 MB, free: 10.78 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.02255, allocations: 6.031 kB / 385.3 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.976e-06/0.02256, allocations: 0 / 385.3 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.02257, allocations: 4 kB / 385.3 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.828e-05/0.02266, allocations: 23.98 kB / 385.3 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.667e-06/0.02266, allocations: 0 / 385.3 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.325e-05/0.02272, allocations: 4 kB / 385.3 MB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.02273, allocations: 3.984 kB / 385.3 MB, free: 10.74 MB / 362.7 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 (8): * Single equations (assignments): 8 * 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.0001421/0.02287, allocations: 168.5 kB / 385.5 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.275e-05/0.02294, allocations: 43.72 kB / 385.5 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003216/0.02326, allocations: 137.5 kB / 385.7 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.02326, allocations: 0 / 385.7 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.02327, allocations: 4 kB / 385.7 MB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.574e-06/0.02327, allocations: 0 / 385.7 MB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008514/0.02412, allocations: 0.5711 MB / 386.2 MB, free: 9.754 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.02412, allocations: 0 / 386.2 MB, free: 9.754 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.639e-05/0.02421, allocations: 19.92 kB / 386.2 MB, free: 9.734 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.02421, allocations: 7.938 kB / 386.3 MB, free: 9.727 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-06/0.02422, allocations: 4 kB / 386.3 MB, free: 9.723 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.02423, allocations: 480 / 386.3 MB, free: 9.723 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/0.02423, allocations: 3.938 kB / 386.3 MB, free: 9.719 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003638/0.02459, allocations: 295.3 kB / 386.6 MB, free: 9.406 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.486e-05/0.02466, allocations: 35.72 kB / 386.6 MB, free: 9.371 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.203e-05/0.02468, allocations: 0 / 386.6 MB, free: 9.371 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.811e-05/0.02476, allocations: 4 kB / 386.6 MB, free: 9.367 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.841e-05/0.0248, allocations: 19.86 kB / 386.6 MB, free: 9.348 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.611e-06/0.0248, allocations: 0 / 386.6 MB, free: 9.348 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005251/0.02533, allocations: 442.8 kB / 387 MB, free: 8.918 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02533, allocations: 0 / 387 MB, free: 8.918 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002598/0.02559, allocations: 28 kB / 387.1 MB, free: 8.891 MB / 362.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.003317/0.0289, allocations: 499.4 kB / 387.6 MB, free: 8.609 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002396/0.02914, allocations: 63.66 kB / 387.6 MB, free: 8.543 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.02915, allocations: 3.938 kB / 387.6 MB, free: 8.539 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.66e-05/0.02924, allocations: 47.61 kB / 387.7 MB, free: 8.488 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003566/0.0296, allocations: 33.89 kB / 387.7 MB, free: 8.457 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001102/0.0307, allocations: 0.6134 MB / 388.3 MB, free: 7.809 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002725/0.03097, allocations: 215.9 kB / 388.5 MB, free: 7.582 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.339e-05/0.03105, allocations: 17.03 kB / 388.5 MB, free: 7.562 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.351e-05/0.03109, allocations: 12.5 kB / 388.6 MB, free: 7.551 MB / 362.7 MB Notification: Performance of SimCode: time 1.072e-06/0.03109, allocations: 4 kB / 388.6 MB, free: 7.547 MB / 362.7 MB Notification: Performance of Templates: time 0.005829/0.03692, allocations: 1.564 MB / 390.1 MB, free: 5.992 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test1.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: 5.0186278589535505]