Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test23.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.001921/0.001921, 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.00206/0.00206, 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.618/1.618, allocations: 177.1 MB / 204.6 MB, free: 5.609 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.3582/0.3582, allocations: 34.26 MB / 295.3 MB, free: 0.6836 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.Test23,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.Test23") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test23,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.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.532e-06/1.532e-06, allocations: 0 / 377.3 MB, free: 2.961 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.204e-05/3.357e-05, allocations: 2.312 kB / 377.3 MB, free: 2.957 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test23): time 0.003367/0.0034, allocations: 1.599 MB / 378.9 MB, free: 1.344 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002241/0.005641, allocations: 1.255 MB / 380.2 MB, free: 84 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.026e-05/0.005701, allocations: 0 / 380.2 MB, free: 84 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002528/0.005954, allocations: 19.86 kB / 380.2 MB, free: 64 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003533/0.006307, allocations: 83.66 kB / 380.3 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002936/0.006601, allocations: 95.62 kB / 380.3 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001609/0.006762, allocations: 71.67 kB / 380.4 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.952e-05/0.006861, allocations: 11.97 kB / 380.4 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.77e-05/0.006939, allocations: 31.92 kB / 380.5 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001191/0.007058, allocations: 31.89 kB / 380.5 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.939e-05/0.007077, allocations: 0 / 380.5 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001821/0.007259, allocations: 95.75 kB / 380.6 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.071e-05/0.00731, allocations: 8 kB / 380.6 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.801e-05/0.007358, allocations: 19.92 kB / 380.6 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003005/0.007659, allocations: 139.6 kB / 380.7 MB, free: 15.48 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.007663, allocations: 3.938 kB / 380.8 MB, free: 15.48 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.007664, allocations: 4 kB / 380.8 MB, free: 15.48 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.007669, allocations: 0 / 380.8 MB, free: 15.48 MB / 362.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.000591/0.00826, allocations: 329.7 kB / 381.1 MB, free: 15.12 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.008302, allocations: 8.031 kB / 381.1 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.917e-05/0.008361, allocations: 8.891 kB / 381.1 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002355/0.008597, allocations: 133.7 kB / 381.2 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.008608, allocations: 384 / 381.2 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.769e-05/0.008636, allocations: 8.375 kB / 381.2 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00019/0.008826, allocations: 81.67 kB / 381.3 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.008837, allocations: 192 / 381.3 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.614e-05/0.008853, allocations: 12.11 kB / 381.3 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.008857, allocations: 0 / 381.3 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.953e-05/0.008957, allocations: 27.92 kB / 381.4 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003816/0.009339, allocations: 216.6 kB / 381.6 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000242/0.009581, allocations: 38.56 kB / 381.6 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.412e-05/0.009645, allocations: 24.88 kB / 381.6 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.517e-05/0.00967, allocations: 3.938 kB / 381.6 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.574e-05/0.009706, allocations: 38.5 kB / 381.7 MB, free: 14.44 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.009706, allocations: 0 / 381.7 MB, free: 14.44 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006422/0.01035, allocations: 145.4 kB / 381.8 MB, free: 14.29 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.213e-05/0.01043, allocations: 81.11 kB / 381.9 MB, free: 14.2 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001895/0.01062, allocations: 155.8 kB / 382 MB, free: 14.04 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.309e-05/0.01064, allocations: 25.7 kB / 382.1 MB, free: 14 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.077e-05/0.01072, allocations: 92.14 kB / 382.2 MB, free: 13.91 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.985e-05/0.01075, allocations: 19.88 kB / 382.2 MB, free: 13.89 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.213e-05/0.0108, allocations: 17.72 kB / 382.2 MB, free: 13.87 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001815/0.01098, allocations: 322.8 kB / 382.5 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.691e-05/0.01105, allocations: 19.98 kB / 382.5 MB, free: 13.52 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.83e-05/0.01115, allocations: 55.41 kB / 382.6 MB, free: 13.46 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001427/0.0113, allocations: 49.02 kB / 382.6 MB, free: 13.41 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.0113, allocations: 3.938 kB / 382.6 MB, free: 13.4 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000226/0.01153, allocations: 85.56 kB / 382.7 MB, free: 13.31 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.01155, allocations: 8 kB / 382.7 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.01155, allocations: 4.031 kB / 382.7 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.01157, allocations: 0 / 382.7 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.566e-05/0.01164, allocations: 11.98 kB / 382.7 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.01164, allocations: 0 / 382.7 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.582e-05/0.01169, allocations: 7.938 kB / 382.7 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.969e-06/0.0117, allocations: 4 kB / 382.8 MB, free: 13.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 0.0001196/0.01182, allocations: 121.8 kB / 382.9 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.85e-05/0.01185, allocations: 8.234 kB / 382.9 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002698/0.01212, allocations: 106 kB / 383 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.01213, allocations: 3.984 kB / 383 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.01213, allocations: 0 / 383 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.01214, allocations: 0 / 383 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004681/0.0126, allocations: 290.2 kB / 383.3 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.01261, allocations: 0 / 383.3 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.411e-05/0.01266, allocations: 8 kB / 383.3 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.01266, allocations: 7.938 kB / 383.3 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.01267, allocations: 0 / 383.3 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.01267, allocations: 8.125 kB / 383.3 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.01268, allocations: 7.984 kB / 383.3 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002763/0.01295, allocations: 179.4 kB / 383.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.856e-05/0.01297, allocations: 7.953 kB / 383.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.162e-05/0.01299, allocations: 4 kB / 383.5 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.795e-05/0.01307, allocations: 3.984 kB / 383.5 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.512e-05/0.01311, allocations: 4 kB / 383.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.01312, allocations: 0 / 383.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001331/0.01325, allocations: 117.3 kB / 383.6 MB, free: 12.35 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01325, allocations: 4 kB / 383.6 MB, free: 12.35 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002928/0.01354, allocations: 39.86 kB / 383.7 MB, free: 12.31 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.002243/0.01579, allocations: 0.5294 MB / 384.2 MB, free: 11.99 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002101/0.016, allocations: 51.89 kB / 384.2 MB, free: 11.94 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.016, allocations: 0 / 384.2 MB, free: 11.94 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.281e-05/0.01607, allocations: 19.98 kB / 384.3 MB, free: 11.92 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003869/0.01646, allocations: 19.98 kB / 384.3 MB, free: 11.9 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004918/0.01695, allocations: 184.3 kB / 384.5 MB, free: 11.7 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.074e-05/0.01704, allocations: 73.78 kB / 384.5 MB, free: 11.61 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.505e-05/0.01712, allocations: 15.97 kB / 384.5 MB, free: 11.59 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.806e-05/0.01716, allocations: 16.48 kB / 384.6 MB, free: 11.57 MB / 362.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01717, allocations: 0 / 384.6 MB, free: 11.57 MB / 362.7 MB Notification: Performance of Templates: time 0.005475/0.02264, allocations: 1.818 MB / 386.4 MB, free: 9.766 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test23.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test23.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test23.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.965495723998174]