Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.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.001618/0.001618, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.001203/0.001203, allocations: 165 kB / 24.56 MB, free: 16 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.002/1.002, allocations: 177.1 MB / 205 MB, free: 5.305 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.2806/0.2806, allocations: 32.8 MB / 294.3 MB, free: 1.25 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.CombiTable1Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 376 MB, free: 4.688 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.56e-05/2.74e-05, allocations: 2.312 kB / 376 MB, free: 4.684 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test27): time 0.002398/0.002426, allocations: 1.657 MB / 377.7 MB, free: 3.012 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007637/0.003189, allocations: 0.557 MB / 378.2 MB, free: 2.449 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.581e-05/0.003245, allocations: 0 / 378.2 MB, free: 2.449 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002872/0.003532, allocations: 123.6 kB / 378.4 MB, free: 2.328 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002579/0.00379, allocations: 131.4 kB / 378.5 MB, free: 2.199 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002178/0.004008, allocations: 115.6 kB / 378.6 MB, free: 2.086 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001336/0.004142, allocations: 99.73 kB / 378.7 MB, free: 1.988 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.28e-05/0.004235, allocations: 15.98 kB / 378.7 MB, free: 1.973 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.028e-05/0.004305, allocations: 59.8 kB / 378.8 MB, free: 1.914 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001115/0.004416, allocations: 83.83 kB / 378.9 MB, free: 1.832 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.617e-05/0.004432, allocations: 4 kB / 378.9 MB, free: 1.828 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.15e-05/0.004514, allocations: 47.92 kB / 378.9 MB, free: 1.781 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.952e-05/0.004564, allocations: 27.91 kB / 378.9 MB, free: 1.754 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.153e-05/0.004595, allocations: 15.88 kB / 379 MB, free: 1.738 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001583/0.004753, allocations: 99.66 kB / 379.1 MB, free: 1.641 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.275e-06/0.004756, allocations: 4 kB / 379.1 MB, free: 1.637 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.004756, allocations: 0 / 379.1 MB, free: 1.637 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.00476, allocations: 0 / 379.1 MB, free: 1.637 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004469/0.005207, allocations: 475.6 kB / 379.5 MB, free: 1.137 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.005245, allocations: 8.031 kB / 379.5 MB, free: 1.129 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.346e-05/0.005289, allocations: 16.84 kB / 379.5 MB, free: 1.113 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001518/0.005441, allocations: 152.4 kB / 379.7 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.649e-06/0.00545, allocations: 4.375 kB / 379.7 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.119e-05/0.005471, allocations: 384 / 379.7 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001165/0.005588, allocations: 58.95 kB / 379.8 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.005597, allocations: 4.188 kB / 379.8 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.005609, allocations: 8.125 kB / 379.8 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.005615, allocations: 0 / 379.8 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.503e-05/0.00565, allocations: 15.92 kB / 379.8 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003059/0.005956, allocations: 311.7 kB / 380.1 MB, free: 0.5 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.525e-05/0.006022, allocations: 39.03 kB / 380.1 MB, free: 460 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.438e-05/0.006046, allocations: 19.62 kB / 380.1 MB, free: 436 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.437e-05/0.00607, allocations: 8.078 kB / 380.2 MB, free: 428 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/0.006092, allocations: 37.33 kB / 380.2 MB, free: 380 kB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 8.51e-07/0.006093, allocations: 0 / 380.2 MB, free: 380 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005305/0.006623, allocations: 177.2 kB / 380.4 MB, free: 196 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.863e-05/0.006652, allocations: 51.41 kB / 380.4 MB, free: 132 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001798/0.006832, allocations: 274.8 kB / 380.7 MB, free: 15.84 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.092e-05/0.006843, allocations: 29.7 kB / 380.7 MB, free: 15.8 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.892e-05/0.006912, allocations: 170.8 kB / 380.9 MB, free: 15.63 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.504e-05/0.006937, allocations: 23.75 kB / 380.9 MB, free: 15.61 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.611e-05/0.006973, allocations: 35.36 kB / 380.9 MB, free: 15.57 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.007091, allocations: 0.5 MB / 381.4 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.596e-05/0.007117, allocations: 19.98 kB / 381.5 MB, free: 15.04 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.913e-05/0.007136, allocations: 12 kB / 381.5 MB, free: 15.02 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.233e-05/0.007188, allocations: 39.91 kB / 381.5 MB, free: 14.98 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.007189, allocations: 0 / 381.5 MB, free: 14.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.757e-05/0.007287, allocations: 77.59 kB / 381.6 MB, free: 14.9 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.007303, allocations: 10.48 kB / 381.6 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.007307, allocations: 0 / 381.6 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.007321, allocations: 0 / 381.6 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.575e-05/0.007396, allocations: 16 kB / 381.6 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.007401, allocations: 0 / 381.6 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.191e-05/0.007423, allocations: 7.984 kB / 381.6 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.293e-06/0.007431, allocations: 8 kB / 381.6 MB, free: 14.86 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 6.817e-05/0.007499, allocations: 160.5 kB / 381.8 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.437e-05/0.007523, allocations: 19.91 kB / 381.8 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001437/0.007667, allocations: 87.12 kB / 381.9 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.007669, allocations: 0 / 381.9 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.007672, allocations: 0 / 381.9 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.007674, allocations: 0 / 381.9 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003123/0.007987, allocations: 400.9 kB / 382.3 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.007988, allocations: 0 / 382.3 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.184e-05/0.00803, allocations: 23.97 kB / 382.3 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.008033, allocations: 0 / 382.3 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.008041, allocations: 3.984 kB / 382.3 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.008043, allocations: 0 / 382.3 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.008045, allocations: 4 kB / 382.3 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001305/0.008176, allocations: 243.4 kB / 382.5 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.111e-05/0.008187, allocations: 7.953 kB / 382.6 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.961e-05/0.008207, allocations: 4 kB / 382.6 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.756e-05/0.008244, allocations: 3.984 kB / 382.6 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.706e-05/0.008281, allocations: 11.94 kB / 382.6 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.08e-06/0.008286, allocations: 8 kB / 382.6 MB, free: 13.82 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.976e-05/0.008376, allocations: 196 kB / 382.8 MB, free: 13.62 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008376, allocations: 0 / 382.8 MB, free: 13.62 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001727/0.008549, allocations: 23.98 kB / 382.8 MB, free: 13.6 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.000946/0.009495, allocations: 430.1 kB / 383.2 MB, free: 13.34 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001132/0.009608, allocations: 39.67 kB / 383.3 MB, free: 13.29 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.00961, allocations: 0 / 383.3 MB, free: 13.29 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.414e-05/0.009644, allocations: 35.61 kB / 383.3 MB, free: 13.25 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002232/0.009868, allocations: 31.38 kB / 383.3 MB, free: 13.23 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004104/0.01028, allocations: 267.1 kB / 383.6 MB, free: 12.93 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.36e-05/0.01032, allocations: 75.33 kB / 383.7 MB, free: 12.84 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.39e-05/0.01037, allocations: 25.02 kB / 383.7 MB, free: 12.81 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.119e-05/0.0104, allocations: 20.42 kB / 383.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of SimCode: time 6.92e-07/0.0104, allocations: 4 kB / 383.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of Templates: time 0.00331/0.01371, allocations: 1.423 MB / 385.1 MB, free: 11.38 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test27/Test27.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.3502860269509256]