Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.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.001001/0.001001, allocations: 81.95 kB / 21.44 MB, free: 3.059 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.001062/0.001062, allocations: 165.7 kB / 24.84 MB, free: 8.711 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9313/0.9313, allocations: 158.6 MB / 186.7 MB, free: 2.785 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1299/0.1299, allocations: 32.38 MB / 271.5 MB, free: 14.4 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable1D.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2") translateModel(ModelicaTest.Tables.CombiTable1D.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 348.9 MB, free: 9.152 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.419e-05/2.575e-05, allocations: 5.406 kB / 348.9 MB, free: 9.148 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test2): time 0.002208/0.002234, allocations: 1.595 MB / 350.5 MB, free: 7.547 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005425/0.002776, allocations: 323.4 kB / 350.8 MB, free: 7.227 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.444e-05/0.002841, allocations: 0 / 350.8 MB, free: 7.227 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002685/0.003109, allocations: 19.86 kB / 350.9 MB, free: 7.207 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001989/0.003308, allocations: 39.72 kB / 350.9 MB, free: 7.168 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002139/0.003522, allocations: 87.8 kB / 351 MB, free: 7.082 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001233/0.003645, allocations: 63.78 kB / 351 MB, free: 7.02 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.291e-05/0.003738, allocations: 15.92 kB / 351.1 MB, free: 7.004 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.106e-05/0.003789, allocations: 27.91 kB / 351.1 MB, free: 6.977 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.124e-05/0.00384, allocations: 19.92 kB / 351.1 MB, free: 6.957 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.487e-05/0.003855, allocations: 0 / 351.1 MB, free: 6.957 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.343e-05/0.003919, allocations: 24 kB / 351.1 MB, free: 6.934 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.042e-05/0.003959, allocations: 15.92 kB / 351.1 MB, free: 6.918 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.162e-05/0.003981, allocations: 7.984 kB / 351.1 MB, free: 6.91 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00013/0.004111, allocations: 67.75 kB / 351.2 MB, free: 6.844 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.004113, allocations: 0 / 351.2 MB, free: 6.844 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.004113, allocations: 3.938 kB / 351.2 MB, free: 6.84 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.004118, allocations: 4 kB / 351.2 MB, free: 6.836 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.0003124/0.00443, allocations: 408.1 kB / 351.6 MB, free: 6.402 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.004466, allocations: 8.031 kB / 351.6 MB, free: 6.395 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.062e-05/0.004496, allocations: 8.891 kB / 351.6 MB, free: 6.387 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001025/0.004599, allocations: 128.5 kB / 351.8 MB, free: 6.234 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.776e-06/0.004608, allocations: 4.375 kB / 351.8 MB, free: 6.23 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.626e-05/0.004624, allocations: 384 / 351.8 MB, free: 6.23 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.822e-05/0.004702, allocations: 54.95 kB / 351.8 MB, free: 6.168 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.004711, allocations: 192 / 351.8 MB, free: 6.168 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.524e-06/0.004719, allocations: 4.125 kB / 351.8 MB, free: 6.164 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.004725, allocations: 0 / 351.8 MB, free: 6.164 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.117e-05/0.004746, allocations: 19.92 kB / 351.8 MB, free: 6.145 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002008/0.004947, allocations: 252.3 kB / 352.1 MB, free: 5.871 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001248/0.005072, allocations: 43.11 kB / 352.1 MB, free: 5.816 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.71e-05/0.005089, allocations: 15.62 kB / 352.1 MB, free: 5.797 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.642e-05/0.005105, allocations: 0 / 352.1 MB, free: 5.797 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.486e-05/0.00512, allocations: 37.33 kB / 352.2 MB, free: 5.75 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.322e-06/0.005121, allocations: 7.984 kB / 352.2 MB, free: 5.742 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002382/0.005359, allocations: 77.66 kB / 352.3 MB, free: 5.66 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.106e-05/0.005381, allocations: 55.41 kB / 352.3 MB, free: 5.594 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.446e-05/0.005445, allocations: 193.9 kB / 352.5 MB, free: 5.387 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.699e-06/0.00545, allocations: 25.7 kB / 352.5 MB, free: 5.355 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.953e-05/0.005479, allocations: 142.8 kB / 352.7 MB, free: 5.211 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.713e-05/0.005496, allocations: 15.8 kB / 352.7 MB, free: 5.195 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.739e-05/0.005524, allocations: 31.34 kB / 352.7 MB, free: 5.156 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.598e-05/0.00557, allocations: 496.1 kB / 353.2 MB, free: 4.66 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.898e-06/0.00558, allocations: 4 kB / 353.2 MB, free: 4.656 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.123e-05/0.005591, allocations: 7.984 kB / 353.2 MB, free: 4.648 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.551e-05/0.005616, allocations: 23.67 kB / 353.2 MB, free: 4.621 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.005617, allocations: 0 / 353.2 MB, free: 4.621 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.58e-05/0.005673, allocations: 65.45 kB / 353.3 MB, free: 4.551 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.043e-05/0.005683, allocations: 12 kB / 353.3 MB, free: 4.539 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.005688, allocations: 0 / 353.3 MB, free: 4.539 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.005698, allocations: 0 / 353.3 MB, free: 4.539 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.43e-05/0.005732, allocations: 8 kB / 353.3 MB, free: 4.531 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.005736, allocations: 0 / 353.3 MB, free: 4.531 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.746e-05/0.005753, allocations: 7.984 kB / 353.3 MB, free: 4.523 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.389e-06/0.005758, allocations: 4 kB / 353.3 MB, free: 4.52 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 4.902e-05/0.005807, allocations: 152.6 kB / 353.5 MB, free: 4.359 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.93e-05/0.005826, allocations: 15.89 kB / 353.5 MB, free: 4.344 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.71e-05/0.005903, allocations: 66.34 kB / 353.6 MB, free: 4.273 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.005905, allocations: 4 kB / 353.6 MB, free: 4.27 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.005908, allocations: 3.984 kB / 353.6 MB, free: 4.266 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.005911, allocations: 0 / 353.6 MB, free: 4.266 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001585/0.00607, allocations: 286 kB / 353.9 MB, free: 3.953 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.006071, allocations: 4 kB / 353.9 MB, free: 3.949 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.485e-05/0.006096, allocations: 15.92 kB / 353.9 MB, free: 3.934 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.006097, allocations: 0 / 353.9 MB, free: 3.934 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.867e-06/0.006101, allocations: 0 / 353.9 MB, free: 3.934 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.62e-07/0.006102, allocations: 0 / 353.9 MB, free: 3.934 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.006103, allocations: 0 / 353.9 MB, free: 3.934 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.647e-05/0.006169, allocations: 215.8 kB / 354.1 MB, free: 3.703 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.532e-06/0.006176, allocations: 7.953 kB / 354.1 MB, free: 3.695 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.776e-06/0.006185, allocations: 0 / 354.1 MB, free: 3.695 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.88e-05/0.006213, allocations: 0 / 354.1 MB, free: 3.695 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.528e-05/0.006239, allocations: 7.984 kB / 354.1 MB, free: 3.688 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.435e-06/0.006241, allocations: 0 / 354.1 MB, free: 3.688 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.108e-05/0.006272, allocations: 142.3 kB / 354.2 MB, free: 3.551 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006272, allocations: 0 / 354.2 MB, free: 3.551 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001562/0.006428, allocations: 19.92 kB / 354.3 MB, free: 3.531 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.0007325/0.007161, allocations: 387.2 kB / 354.6 MB, free: 3.246 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.318e-05/0.007234, allocations: 23.67 kB / 354.7 MB, free: 3.219 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.007236, allocations: 0 / 354.7 MB, free: 3.219 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.722e-05/0.007253, allocations: 23.8 kB / 354.7 MB, free: 3.191 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001973/0.00745, allocations: 33.11 kB / 354.7 MB, free: 3.16 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002369/0.007687, allocations: 161.9 kB / 354.9 MB, free: 2.973 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.439e-05/0.007721, allocations: 63.34 kB / 354.9 MB, free: 2.891 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.617e-05/0.007748, allocations: 4 kB / 354.9 MB, free: 2.887 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.058e-05/0.007788, allocations: 78.19 kB / 355 MB, free: 2.809 MB / 282.7 MB Notification: Performance of SimCode: time 5.82e-07/0.007789, allocations: 0 / 355 MB, free: 2.809 MB / 282.7 MB Notification: Performance of Templates: time 0.002689/0.01048, allocations: 1.257 MB / 356.3 MB, free: 1.562 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test2/Test2.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: 2.9827110026963055]