Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001114/0.001114, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.0009684/0.0009684, allocations: 161 kB / 24.56 MB, free: 12 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 0.9977/0.9977, allocations: 177.1 MB / 205 MB, free: 5.594 MB / 186.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.2698/0.2698, allocations: 32.8 MB / 294.3 MB, free: 1.285 MB / 266.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.CombiTable1Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 376 MB, free: 4.656 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.419e-05/1.552e-05, allocations: 2.312 kB / 376 MB, free: 4.652 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.002037/0.002052, allocations: 1.637 MB / 377.7 MB, free: 3.004 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007209/0.002773, allocations: 0.5376 MB / 378.2 MB, free: 2.461 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.346e-05/0.002827, allocations: 0 / 378.2 MB, free: 2.461 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001889/0.003016, allocations: 19.8 kB / 378.2 MB, free: 2.441 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002595/0.003275, allocations: 87.55 kB / 378.3 MB, free: 2.355 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000209/0.003484, allocations: 91.62 kB / 378.4 MB, free: 2.266 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001439/0.003628, allocations: 63.78 kB / 378.5 MB, free: 2.203 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.082e-05/0.003719, allocations: 8 kB / 378.5 MB, free: 2.195 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.444e-05/0.003773, allocations: 31.91 kB / 378.5 MB, free: 2.164 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.761e-05/0.003831, allocations: 23.91 kB / 378.5 MB, free: 2.141 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.468e-05/0.003846, allocations: 4 kB / 378.5 MB, free: 2.137 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.078e-05/0.003916, allocations: 35.88 kB / 378.6 MB, free: 2.102 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.306e-05/0.003959, allocations: 15.92 kB / 378.6 MB, free: 2.086 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.492e-05/0.003984, allocations: 7.984 kB / 378.6 MB, free: 2.078 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001379/0.004122, allocations: 67.75 kB / 378.7 MB, free: 2.012 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.004124, allocations: 0 / 378.7 MB, free: 2.012 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.004125, allocations: 0 / 378.7 MB, free: 2.012 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.004129, allocations: 0 / 378.7 MB, free: 2.012 MB / 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.0003897/0.004519, allocations: 408.2 kB / 379.1 MB, free: 1.578 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.004553, allocations: 8.031 kB / 379.1 MB, free: 1.57 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.197e-05/0.004595, allocations: 16.88 kB / 379.1 MB, free: 1.555 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001311/0.004726, allocations: 140.4 kB / 379.2 MB, free: 1.391 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.408e-06/0.004736, allocations: 4.375 kB / 379.2 MB, free: 1.387 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.458e-05/0.00476, allocations: 4.375 kB / 379.2 MB, free: 1.383 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001121/0.004872, allocations: 58.94 kB / 379.3 MB, free: 1.316 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.004881, allocations: 192 / 379.3 MB, free: 1.316 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.004891, allocations: 4.125 kB / 379.3 MB, free: 1.312 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.004899, allocations: 0 / 379.3 MB, free: 1.312 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.779e-05/0.004927, allocations: 4 kB / 379.3 MB, free: 1.309 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000269/0.005196, allocations: 279.7 kB / 379.6 MB, free: 1 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001557/0.005351, allocations: 39.05 kB / 379.6 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.265e-05/0.005374, allocations: 19.69 kB / 379.6 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.341e-05/0.005397, allocations: 3.938 kB / 379.6 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.055e-05/0.005418, allocations: 33.39 kB / 379.7 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 8.01e-07/0.005419, allocations: 0 / 379.7 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003338/0.005752, allocations: 101.5 kB / 379.8 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.885e-05/0.005781, allocations: 55.41 kB / 379.8 MB, free: 0.707 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.005893, allocations: 196.5 kB / 380 MB, free: 0.5 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.387e-06/0.005902, allocations: 25.7 kB / 380 MB, free: 480 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.026e-05/0.005952, allocations: 146.9 kB / 380.2 MB, free: 328 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.153e-05/0.005974, allocations: 19.8 kB / 380.2 MB, free: 308 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.872e-05/0.006002, allocations: 31.31 kB / 380.2 MB, free: 268 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.006129, allocations: 0.4884 MB / 380.7 MB, free: 15.76 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.618e-05/0.006145, allocations: 4 kB / 380.7 MB, free: 15.76 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.394e-05/0.006159, allocations: 7.984 kB / 380.7 MB, free: 15.75 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.311e-05/0.006192, allocations: 27.88 kB / 380.7 MB, free: 15.72 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.006193, allocations: 3.938 kB / 380.8 MB, free: 15.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.003e-05/0.006263, allocations: 65.58 kB / 380.8 MB, free: 15.64 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/0.006273, allocations: 4 kB / 380.8 MB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.006278, allocations: 0 / 380.8 MB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.006295, allocations: 4 kB / 380.8 MB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.099e-05/0.006336, allocations: 15.94 kB / 380.8 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.00634, allocations: 0 / 380.8 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.731e-05/0.006358, allocations: 3.984 kB / 380.8 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-06/0.006364, allocations: 4 kB / 380.8 MB, free: 15.61 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 6.778e-05/0.006432, allocations: 156.6 kB / 381 MB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.04e-05/0.006452, allocations: 11.89 kB / 381 MB, free: 15.44 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001091/0.006561, allocations: 66.14 kB / 381.1 MB, free: 15.37 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.006563, allocations: 0 / 381.1 MB, free: 15.37 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.006566, allocations: 0 / 381.1 MB, free: 15.37 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.006569, allocations: 0 / 381.1 MB, free: 15.37 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002186/0.006788, allocations: 325.4 kB / 381.4 MB, free: 15.01 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.006789, allocations: 3.984 kB / 381.4 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.549e-05/0.006815, allocations: 8 kB / 381.4 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.006817, allocations: 0 / 381.4 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.994e-06/0.006824, allocations: 0 / 381.4 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.006826, allocations: 4 kB / 381.4 MB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.006827, allocations: 0 / 381.4 MB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.528e-05/0.006922, allocations: 212 kB / 381.6 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.398e-06/0.006932, allocations: 8.234 kB / 381.6 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.233e-05/0.006944, allocations: 12.05 kB / 381.6 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.947e-05/0.006974, allocations: 0 / 381.6 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.71e-05/0.007001, allocations: 11.98 kB / 381.6 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-06/0.007004, allocations: 0 / 381.6 MB, free: 14.73 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.314e-05/0.007057, allocations: 147.2 kB / 381.8 MB, free: 14.59 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007057, allocations: 0 / 381.8 MB, free: 14.59 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001541/0.007211, allocations: 16 kB / 381.8 MB, free: 14.57 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.001084/0.008295, allocations: 384.6 kB / 382.2 MB, free: 14.33 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001063/0.008401, allocations: 31.61 kB / 382.2 MB, free: 14.29 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.008403, allocations: 0 / 382.2 MB, free: 14.29 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.23e-05/0.008425, allocations: 19.69 kB / 382.2 MB, free: 14.27 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002165/0.008641, allocations: 31.53 kB / 382.3 MB, free: 14.24 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003035/0.008945, allocations: 170.6 kB / 382.4 MB, free: 14.04 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.729e-05/0.008982, allocations: 63.34 kB / 382.5 MB, free: 13.96 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.649e-05/0.009009, allocations: 11.98 kB / 382.5 MB, free: 13.95 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.531e-05/0.009034, allocations: 12.5 kB / 382.5 MB, free: 13.94 MB / 362.7 MB Notification: Performance of SimCode: time 5.62e-07/0.009035, allocations: 0 / 382.5 MB, free: 13.94 MB / 362.7 MB Notification: Performance of Templates: time 0.002623/0.01166, allocations: 1.154 MB / 383.7 MB, free: 12.79 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.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.165196185000241]