Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test19.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.002073/0.002073, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.001634/0.001634, allocations: 157.7 kB / 24.26 MB, free: 176 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.494/1.494, allocations: 177.1 MB / 204.6 MB, free: 5.586 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.3522/0.3522, allocations: 34.26 MB / 295.3 MB, free: 0.6953 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.CombiTable1Ds.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test19") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test19") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 377.3 MB, free: 2.973 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.723e-05/2.887e-05, allocations: 2.312 kB / 377.3 MB, free: 2.969 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test19): time 0.003402/0.003431, allocations: 1.602 MB / 378.9 MB, free: 1.355 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002128/0.005559, allocations: 1.251 MB / 380.2 MB, free: 100 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.884e-05/0.005638, allocations: 0 / 380.2 MB, free: 100 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003147/0.005953, allocations: 23.84 kB / 380.2 MB, free: 76 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004726/0.006425, allocations: 87.62 kB / 380.3 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003584/0.006784, allocations: 95.48 kB / 380.4 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001896/0.006973, allocations: 75.83 kB / 380.4 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.641e-05/0.00707, allocations: 4 kB / 380.4 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.257e-05/0.007162, allocations: 39.89 kB / 380.5 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001208/0.007283, allocations: 15.92 kB / 380.5 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.849e-05/0.007301, allocations: 4 kB / 380.5 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002328/0.007534, allocations: 99.75 kB / 380.6 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.399e-05/0.007588, allocations: 11.98 kB / 380.6 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.095e-05/0.007629, allocations: 15.92 kB / 380.6 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003624/0.007992, allocations: 139.6 kB / 380.8 MB, free: 15.5 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.007994, allocations: 3.938 kB / 380.8 MB, free: 15.49 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.007995, allocations: 4 kB / 380.8 MB, free: 15.49 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.007999, allocations: 0 / 380.8 MB, free: 15.49 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005982/0.008598, allocations: 321.7 kB / 381.1 MB, free: 15.14 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.008636, allocations: 12.03 kB / 381.1 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.954e-05/0.008716, allocations: 12.89 kB / 381.1 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000242/0.008958, allocations: 137.6 kB / 381.2 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.008969, allocations: 384 / 381.2 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.969e-05/0.008999, allocations: 4.375 kB / 381.2 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002097/0.009208, allocations: 89.66 kB / 381.3 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.009219, allocations: 192 / 381.3 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.571e-05/0.009235, allocations: 8.125 kB / 381.3 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.00924, allocations: 0 / 381.3 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001056/0.009345, allocations: 23.92 kB / 381.4 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004234/0.009769, allocations: 220.6 kB / 381.6 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000245/0.01001, allocations: 38.56 kB / 381.6 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.516e-05/0.01008, allocations: 24.88 kB / 381.6 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.732e-05/0.01011, allocations: 3.938 kB / 381.6 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/0.01014, allocations: 34.5 kB / 381.7 MB, free: 14.45 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.01014, allocations: 4 kB / 381.7 MB, free: 14.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006705/0.01081, allocations: 145.4 kB / 381.8 MB, free: 14.3 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.309e-05/0.01088, allocations: 81.09 kB / 381.9 MB, free: 14.2 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001999/0.01108, allocations: 151.8 kB / 382 MB, free: 14.05 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.546e-05/0.01111, allocations: 29.7 kB / 382.1 MB, free: 14.01 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.495e-05/0.01118, allocations: 88.14 kB / 382.2 MB, free: 13.92 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.105e-05/0.01121, allocations: 19.89 kB / 382.2 MB, free: 13.9 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.834e-05/0.01126, allocations: 17.72 kB / 382.2 MB, free: 13.88 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001846/0.01145, allocations: 322.8 kB / 382.5 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.447e-05/0.01153, allocations: 15.98 kB / 382.5 MB, free: 13.54 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001025/0.01163, allocations: 59.41 kB / 382.6 MB, free: 13.47 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001479/0.01178, allocations: 49.02 kB / 382.6 MB, free: 13.42 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.01178, allocations: 3.938 kB / 382.6 MB, free: 13.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002149/0.012, allocations: 85.56 kB / 382.7 MB, free: 13.32 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.01202, allocations: 8 kB / 382.7 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.01202, allocations: 4.031 kB / 382.7 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.01204, allocations: 0 / 382.7 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.755e-05/0.01211, allocations: 11.98 kB / 382.7 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.77e-06/0.01211, allocations: 0 / 382.7 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.181e-05/0.01216, allocations: 7.938 kB / 382.8 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.367e-05/0.01218, allocations: 7.984 kB / 382.8 MB, free: 13.29 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 (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.0001073/0.01228, allocations: 117.8 kB / 382.9 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.287e-05/0.01233, allocations: 7.953 kB / 382.9 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002821/0.01261, allocations: 106 kB / 383 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.01261, allocations: 0 / 383 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.01262, allocations: 0 / 383 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.01262, allocations: 0 / 383 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004632/0.01308, allocations: 294.1 kB / 383.3 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.01308, allocations: 0 / 383.3 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.059e-05/0.01314, allocations: 11.94 kB / 383.3 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.01315, allocations: 4 kB / 383.3 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.879e-06/0.01316, allocations: 3.984 kB / 383.3 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.01316, allocations: 8.125 kB / 383.3 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.01316, allocations: 0 / 383.3 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000292/0.01345, allocations: 183.7 kB / 383.5 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.903e-05/0.01347, allocations: 7.938 kB / 383.5 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.394e-05/0.0135, allocations: 7.984 kB / 383.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.56e-05/0.01357, allocations: 4 kB / 383.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.639e-05/0.01361, allocations: 7.984 kB / 383.5 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.107e-06/0.01361, allocations: 0 / 383.5 MB, free: 12.47 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001195/0.01373, allocations: 113 kB / 383.6 MB, free: 12.36 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01373, allocations: 4 kB / 383.6 MB, free: 12.36 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003084/0.01404, allocations: 39.86 kB / 383.7 MB, free: 12.32 MB / 362.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: 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.002303/0.01634, allocations: 0.5212 MB / 384.2 MB, free: 12 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002118/0.01656, allocations: 43.91 kB / 384.2 MB, free: 11.96 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.01656, allocations: 4 kB / 384.2 MB, free: 11.96 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.573e-05/0.01663, allocations: 15.98 kB / 384.2 MB, free: 11.94 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003792/0.01701, allocations: 31.05 kB / 384.3 MB, free: 11.91 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004931/0.01751, allocations: 184.3 kB / 384.5 MB, free: 11.71 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.457e-05/0.0176, allocations: 75.33 kB / 384.5 MB, free: 11.61 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.854e-05/0.01767, allocations: 11.98 kB / 384.5 MB, free: 11.6 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.599e-05/0.01771, allocations: 16.48 kB / 384.6 MB, free: 11.59 MB / 362.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01772, allocations: 0 / 384.6 MB, free: 11.59 MB / 362.7 MB Notification: Performance of Templates: time 0.005479/0.02319, allocations: 1.821 MB / 386.4 MB, free: 9.781 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test19.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test19.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test19/Test19.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test19.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.953734641894698]