Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.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.001884/0.001884, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002315/0.002315, allocations: 161.7 kB / 24.27 MB, free: 172 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.524/1.524, allocations: 177.1 MB / 204.6 MB, free: 5.602 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.3728/0.3728, allocations: 34.27 MB / 295.3 MB, free: 0.6719 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.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,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.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 377.3 MB, free: 2.938 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.077e-05/3.293e-05, allocations: 2.312 kB / 377.3 MB, free: 2.934 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.003197/0.00323, allocations: 1.595 MB / 378.9 MB, free: 1.324 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001144/0.004373, allocations: 0.5181 MB / 379.4 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.047e-05/0.004424, allocations: 0 / 379.4 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002187/0.004642, allocations: 27.72 kB / 379.4 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002955/0.004938, allocations: 79.62 kB / 379.5 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002913/0.005229, allocations: 87.64 kB / 379.6 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001636/0.005393, allocations: 67.83 kB / 379.7 MB, free: 0.543 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.142e-05/0.005484, allocations: 11.98 kB / 379.7 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.807e-05/0.005562, allocations: 35.84 kB / 379.7 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.777e-05/0.00562, allocations: 15.92 kB / 379.7 MB, free: 492 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.844e-05/0.005639, allocations: 4 kB / 379.7 MB, free: 488 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.537e-05/0.005724, allocations: 27.98 kB / 379.8 MB, free: 460 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.379e-05/0.005778, allocations: 15.92 kB / 379.8 MB, free: 444 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.231e-05/0.00581, allocations: 11.94 kB / 379.8 MB, free: 432 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001859/0.005996, allocations: 87.7 kB / 379.9 MB, free: 344 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.005999, allocations: 0 / 379.9 MB, free: 344 kB / 346.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.006, allocations: 0 / 379.9 MB, free: 344 kB / 346.7 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.006004, allocations: 0 / 379.9 MB, free: 344 kB / 346.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.0005027/0.006506, allocations: 301.9 kB / 380.2 MB, free: 12 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.006542, allocations: 12.03 kB / 380.2 MB, free: 0 / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.604e-05/0.006598, allocations: 16.92 kB / 380.2 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001922/0.00679, allocations: 129.6 kB / 380.3 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.006804, allocations: 4.375 kB / 380.3 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.393e-05/0.006828, allocations: 4.359 kB / 380.3 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001575/0.006986, allocations: 54.25 kB / 380.4 MB, free: 15.76 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.006996, allocations: 192 / 380.4 MB, free: 15.76 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.007008, allocations: 4.125 kB / 380.4 MB, free: 15.76 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.007012, allocations: 0 / 380.4 MB, free: 15.76 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001108/0.007123, allocations: 23.97 kB / 380.4 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003614/0.007484, allocations: 228.3 kB / 380.6 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002205/0.007705, allocations: 38.56 kB / 380.7 MB, free: 15.44 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.529e-05/0.00776, allocations: 12.86 kB / 380.7 MB, free: 15.42 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.392e-05/0.007784, allocations: 7.938 kB / 380.7 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.007815, allocations: 34.64 kB / 380.7 MB, free: 15.37 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.303e-06/0.007816, allocations: 0 / 380.7 MB, free: 15.37 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006101/0.008426, allocations: 149.4 kB / 380.9 MB, free: 15.22 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.782e-05/0.008474, allocations: 51.41 kB / 380.9 MB, free: 15.16 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001729/0.008647, allocations: 150.1 kB / 381.1 MB, free: 15 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/0.008667, allocations: 29.64 kB / 381.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.307e-05/0.00874, allocations: 96.14 kB / 381.2 MB, free: 14.86 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.94e-05/0.00877, allocations: 19.83 kB / 381.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.124e-05/0.008811, allocations: 21.7 kB / 381.2 MB, free: 14.82 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001947/0.009006, allocations: 318.8 kB / 381.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.272e-05/0.009078, allocations: 15.98 kB / 381.6 MB, free: 14.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.785e-05/0.009146, allocations: 23.97 kB / 381.6 MB, free: 14.46 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001399/0.009286, allocations: 45.03 kB / 381.6 MB, free: 14.41 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.009287, allocations: 0 / 381.6 MB, free: 14.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002038/0.009491, allocations: 93.55 kB / 381.7 MB, free: 14.31 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.009504, allocations: 6.031 kB / 381.7 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.009509, allocations: 0 / 381.7 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.009526, allocations: 0 / 381.7 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.561e-05/0.009591, allocations: 15.94 kB / 381.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.009599, allocations: 3.984 kB / 381.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.576e-05/0.009644, allocations: 7.953 kB / 381.7 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-06/0.00965, allocations: 0 / 381.7 MB, free: 14.28 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 9.977e-05/0.00975, allocations: 117.8 kB / 381.9 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.047e-05/0.00979, allocations: 15.89 kB / 381.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002636/0.01005, allocations: 98.09 kB / 382 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.01006, allocations: 0 / 382 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.01006, allocations: 0 / 382 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.01006, allocations: 0 / 382 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004556/0.01052, allocations: 290.1 kB / 382.3 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.01052, allocations: 0 / 382.3 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.462e-05/0.01058, allocations: 19.92 kB / 382.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.01059, allocations: 0 / 382.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.0106, allocations: 4 kB / 382.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.0106, allocations: 192 / 382.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.0106, allocations: 4 kB / 382.3 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002924/0.01089, allocations: 179.4 kB / 382.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.444e-05/0.01091, allocations: 11.94 kB / 382.5 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.606e-05/0.01093, allocations: 0 / 382.5 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.151e-05/0.011, allocations: 4 kB / 382.5 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.544e-05/0.01104, allocations: 15.98 kB / 382.5 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-06/0.01105, allocations: 288 / 382.5 MB, free: 13.47 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001099/0.01116, allocations: 113.8 kB / 382.6 MB, free: 13.36 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01116, allocations: 0 / 382.6 MB, free: 13.36 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002494/0.01141, allocations: 15.98 kB / 382.6 MB, free: 13.34 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.001981/0.01339, allocations: 436 kB / 383 MB, free: 13.09 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002056/0.01359, allocations: 43.91 kB / 383.1 MB, free: 13.05 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.0136, allocations: 4 kB / 383.1 MB, free: 13.04 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.375e-05/0.01367, allocations: 23.98 kB / 383.1 MB, free: 13.02 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004049/0.01408, allocations: 27.61 kB / 383.1 MB, free: 13 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005095/0.01458, allocations: 188.9 kB / 383.3 MB, free: 12.78 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.538e-05/0.01468, allocations: 75.33 kB / 383.4 MB, free: 12.69 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.325e-05/0.01473, allocations: 12 kB / 383.4 MB, free: 12.68 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.365e-05/0.01478, allocations: 20.48 kB / 383.4 MB, free: 12.66 MB / 362.7 MB Notification: Performance of SimCode: time 7.11e-07/0.01478, allocations: 0 / 383.4 MB, free: 12.66 MB / 362.7 MB Notification: Performance of Templates: time 0.004384/0.01916, allocations: 1.159 MB / 384.6 MB, free: 11.51 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.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: 4.915328238043003]