Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002042/0.003242, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007789/0.0007789, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001158/0.001937, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9165/0.9165, allocations: 173.4 MB / 186 MB, free: 7.531 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1645/1.081, allocations: 52.48 MB / 238.4 MB, free: 7.645 MB / 234.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.124/0.124, allocations: 32.8 MB / 272 MB, free: 6.305 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02121/0.1452, allocations: 12.54 MB / 284.5 MB, free: 9.727 MB / 282.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test23,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.CombiTable1Dv.Test23") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test23,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.CombiTable1Dv.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 285.9 MB, free: 8.398 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.158e-05/2.299e-05, allocations: 2.312 kB / 285.9 MB, free: 8.395 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test23): time 0.003397/0.00342, allocations: 1.655 MB / 287.5 MB, free: 6.73 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001637/0.005057, allocations: 1.181 MB / 288.7 MB, free: 5.543 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.634e-05/0.005114, allocations: 0 / 288.7 MB, free: 5.543 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001639/0.005278, allocations: 23.8 kB / 288.7 MB, free: 5.52 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001687/0.005446, allocations: 43.72 kB / 288.8 MB, free: 5.477 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003013/0.005748, allocations: 111.6 kB / 288.9 MB, free: 5.367 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001594/0.005907, allocations: 55.8 kB / 288.9 MB, free: 5.312 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.823e-05/0.006005, allocations: 19.91 kB / 289 MB, free: 5.293 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001141/0.006119, allocations: 47.86 kB / 289 MB, free: 5.246 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001169/0.006236, allocations: 19.97 kB / 289 MB, free: 5.227 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.995e-05/0.006256, allocations: 0 / 289 MB, free: 5.227 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001549/0.006411, allocations: 59.78 kB / 289.1 MB, free: 5.168 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.714e-05/0.006458, allocations: 8 kB / 289.1 MB, free: 5.16 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.731e-05/0.006486, allocations: 7.938 kB / 289.1 MB, free: 5.152 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001936/0.006679, allocations: 79.73 kB / 289.2 MB, free: 5.074 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.378e-05/0.006693, allocations: 0 / 289.2 MB, free: 5.074 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.006694, allocations: 0 / 289.2 MB, free: 5.074 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.126e-05/0.006706, allocations: 0 / 289.2 MB, free: 5.074 MB / 282.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.0004303/0.007136, allocations: 288.2 kB / 289.5 MB, free: 4.77 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.007172, allocations: 8.031 kB / 289.5 MB, free: 4.762 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.962e-05/0.007212, allocations: 12.86 kB / 289.5 MB, free: 4.75 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001728/0.007384, allocations: 137.7 kB / 289.6 MB, free: 4.59 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.847e-06/0.007393, allocations: 384 / 289.6 MB, free: 4.59 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.129e-05/0.007414, allocations: 384 / 289.6 MB, free: 4.59 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001379/0.007552, allocations: 98.38 kB / 289.7 MB, free: 4.473 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.007562, allocations: 4.141 kB / 289.7 MB, free: 4.469 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.007572, allocations: 8.109 kB / 289.7 MB, free: 4.461 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.007578, allocations: 0 / 289.7 MB, free: 4.461 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.713e-05/0.007605, allocations: 15.92 kB / 289.7 MB, free: 4.445 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002481/0.007853, allocations: 159.1 kB / 289.9 MB, free: 4.273 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001464/0.007999, allocations: 33.39 kB / 289.9 MB, free: 4.23 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.01e-05/0.008019, allocations: 8.922 kB / 289.9 MB, free: 4.219 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.84e-05/0.008038, allocations: 4 kB / 289.9 MB, free: 4.215 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/0.008062, allocations: 34.5 kB / 290 MB, free: 4.172 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.008063, allocations: 0 / 290 MB, free: 4.172 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003311/0.008394, allocations: 77.62 kB / 290 MB, free: 4.09 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.099e-05/0.008425, allocations: 55.41 kB / 290.1 MB, free: 4.023 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.008538, allocations: 140.3 kB / 290.2 MB, free: 3.871 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.471e-05/0.008553, allocations: 33.7 kB / 290.3 MB, free: 3.832 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.314e-05/0.008586, allocations: 80.14 kB / 290.3 MB, free: 3.75 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.496e-05/0.008611, allocations: 23.81 kB / 290.4 MB, free: 3.727 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.566e-05/0.008647, allocations: 17.72 kB / 290.4 MB, free: 3.703 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.008748, allocations: 322.8 kB / 290.7 MB, free: 3.379 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.419e-05/0.008762, allocations: 4 kB / 290.7 MB, free: 3.375 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.494e-05/0.008797, allocations: 39.42 kB / 290.7 MB, free: 3.324 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.632e-05/0.008834, allocations: 19.67 kB / 290.8 MB, free: 3.301 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.008835, allocations: 0 / 290.8 MB, free: 3.301 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.656e-05/0.008911, allocations: 57.56 kB / 290.8 MB, free: 3.238 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.008926, allocations: 8.031 kB / 290.8 MB, free: 3.23 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.00893, allocations: 0 / 290.8 MB, free: 3.23 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.008946, allocations: 4 kB / 290.8 MB, free: 3.227 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.055e-05/0.009006, allocations: 11.98 kB / 290.8 MB, free: 3.215 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.886e-06/0.009009, allocations: 0 / 290.8 MB, free: 3.215 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.614e-05/0.009035, allocations: 4 kB / 290.8 MB, free: 3.211 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.009041, allocations: 4.188 kB / 290.9 MB, free: 3.207 MB / 282.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.183e-05/0.009102, allocations: 108.7 kB / 291 MB, free: 3.09 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.003e-05/0.009132, allocations: 15.92 kB / 291 MB, free: 3.074 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001123/0.009245, allocations: 73.72 kB / 291 MB, free: 3 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.009247, allocations: 0 / 291 MB, free: 3 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.009248, allocations: 0 / 291 MB, free: 3 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.009252, allocations: 3.984 kB / 291.1 MB, free: 2.996 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002482/0.0095, allocations: 202.8 kB / 291.2 MB, free: 2.773 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.009503, allocations: 3.938 kB / 291.3 MB, free: 2.77 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.899e-05/0.009552, allocations: 15.98 kB / 291.3 MB, free: 2.754 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.146e-06/0.00956, allocations: 4 kB / 291.3 MB, free: 2.75 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.009563, allocations: 3.938 kB / 291.3 MB, free: 2.746 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.849e-06/0.009567, allocations: 0 / 291.3 MB, free: 2.746 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.009569, allocations: 0 / 291.3 MB, free: 2.746 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.009571, allocations: 4 kB / 291.3 MB, free: 2.742 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.795e-05/0.009669, allocations: 143.5 kB / 291.4 MB, free: 2.586 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.338e-05/0.009682, allocations: 4 kB / 291.4 MB, free: 2.582 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.612e-05/0.009738, allocations: 4 kB / 291.4 MB, free: 2.578 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.899e-05/0.009767, allocations: 7.984 kB / 291.4 MB, free: 2.57 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.009771, allocations: 0 / 291.4 MB, free: 2.57 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.071e-05/0.009812, allocations: 30.53 kB / 291.5 MB, free: 2.539 MB / 282.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.009812, allocations: 0 / 291.5 MB, free: 2.539 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002357/0.01005, allocations: 23.94 kB / 291.5 MB, free: 2.516 MB / 282.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.001946/0.01199, allocations: 0.6127 MB / 292.1 MB, free: 2.203 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001081/0.0121, allocations: 28.72 kB / 292.1 MB, free: 2.172 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/0.01211, allocations: 0 / 292.1 MB, free: 2.172 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.87e-05/0.01215, allocations: 16.86 kB / 292.1 MB, free: 2.152 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002841/0.01243, allocations: 99.27 kB / 292.2 MB, free: 2.043 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005021/0.01293, allocations: 162 kB / 292.4 MB, free: 1.855 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.395e-05/0.01298, allocations: 63.34 kB / 292.5 MB, free: 1.773 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.353e-05/0.01303, allocations: 7.984 kB / 292.5 MB, free: 1.766 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.479e-05/0.01312, allocations: 67.36 kB / 292.5 MB, free: 1.699 MB / 282.7 MB Notification: Performance of SimCode: time 8.42e-07/0.01312, allocations: 0 / 292.5 MB, free: 1.699 MB / 282.7 MB Notification: Performance of Templates: time 0.004184/0.0173, allocations: 1.558 MB / 294.1 MB, free: 164 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test23/Test23.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.756516053341329]