Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.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.001622/0.001622, allocations: 85.83 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001774/0.001774, allocations: 165.5 kB / 23.96 MB, free: 4.164 MB / 14.72 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.387/1.387, allocations: 177.1 MB / 204.3 MB, free: 9.195 MB / 190.1 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.203/0.203, allocations: 32.81 MB / 293.5 MB, free: 48 kB / 270.1 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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.714e-06/1.714e-06, allocations: 0 / 440.1 MB, free: 8.156 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.522e-05/2.693e-05, allocations: 9.312 kB / 440.1 MB, free: 8.148 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.003168/0.003195, allocations: 1.599 MB / 441.7 MB, free: 6.539 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001205/0.0044, allocations: 0.5181 MB / 442.2 MB, free: 6.016 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.217e-05/0.004472, allocations: 4 kB / 442.2 MB, free: 6.012 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003149/0.004787, allocations: 87.56 kB / 442.3 MB, free: 5.926 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004136/0.005201, allocations: 107.5 kB / 442.4 MB, free: 5.82 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003311/0.005532, allocations: 83.7 kB / 442.5 MB, free: 5.738 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000205/0.005737, allocations: 91.73 kB / 442.6 MB, free: 5.648 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.005837, allocations: 4 kB / 442.6 MB, free: 5.645 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.558e-05/0.005933, allocations: 51.88 kB / 442.7 MB, free: 5.594 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001193/0.006052, allocations: 55.86 kB / 442.7 MB, free: 5.539 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.741e-05/0.00607, allocations: 4 kB / 442.7 MB, free: 5.535 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001084/0.006178, allocations: 47.92 kB / 442.8 MB, free: 5.488 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.407e-05/0.006232, allocations: 19.94 kB / 442.8 MB, free: 5.469 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.097e-05/0.006273, allocations: 19.84 kB / 442.8 MB, free: 5.449 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002355/0.006509, allocations: 103.6 kB / 442.9 MB, free: 5.348 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.006511, allocations: 0 / 442.9 MB, free: 5.348 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.51e-07/0.006512, allocations: 3.938 kB / 442.9 MB, free: 5.344 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.06e-05/0.006522, allocations: 4 kB / 442.9 MB, free: 5.34 MB / 366.1 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.0005101/0.007032, allocations: 337.6 kB / 443.2 MB, free: 4.98 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.007066, allocations: 8.031 kB / 443.2 MB, free: 4.973 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.335e-05/0.007109, allocations: 12.84 kB / 443.3 MB, free: 4.961 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002065/0.007316, allocations: 150.3 kB / 443.4 MB, free: 4.785 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.087e-06/0.007325, allocations: 8.312 kB / 443.4 MB, free: 4.777 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.34e-05/0.007348, allocations: 4.312 kB / 443.4 MB, free: 4.773 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001527/0.007501, allocations: 58.23 kB / 443.5 MB, free: 4.711 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.007513, allocations: 192 / 443.5 MB, free: 4.711 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.007525, allocations: 4.125 kB / 443.5 MB, free: 4.707 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.007529, allocations: 0 / 443.5 MB, free: 4.707 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001046/0.007634, allocations: 35.91 kB / 443.5 MB, free: 4.672 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004135/0.008047, allocations: 236.5 kB / 443.7 MB, free: 4.41 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000121/0.008168, allocations: 42.5 kB / 443.8 MB, free: 4.359 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.565e-05/0.008224, allocations: 20.8 kB / 443.8 MB, free: 4.336 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.265e-05/0.008246, allocations: 4.078 kB / 443.8 MB, free: 4.332 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/0.008271, allocations: 30.56 kB / 443.8 MB, free: 4.293 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.193e-06/0.008272, allocations: 0 / 443.8 MB, free: 4.293 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009313/0.009203, allocations: 233.7 kB / 444.1 MB, free: 4.059 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.936e-05/0.009243, allocations: 51.41 kB / 444.1 MB, free: 3.996 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002371/0.00948, allocations: 210.3 kB / 444.3 MB, free: 3.781 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.382e-05/0.009504, allocations: 29.7 kB / 444.4 MB, free: 3.746 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.871e-05/0.009592, allocations: 108.1 kB / 444.5 MB, free: 3.637 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.647e-05/0.009629, allocations: 27.78 kB / 444.5 MB, free: 3.609 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.648e-05/0.009675, allocations: 17.72 kB / 444.5 MB, free: 3.586 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.00984, allocations: 330.8 kB / 444.8 MB, free: 3.254 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.432e-05/0.009934, allocations: 27.98 kB / 444.9 MB, free: 3.227 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.108e-05/0.01001, allocations: 19.98 kB / 444.9 MB, free: 3.207 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000164/0.01017, allocations: 64.77 kB / 444.9 MB, free: 3.141 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.01017, allocations: 0 / 444.9 MB, free: 3.141 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002338/0.0104, allocations: 105.6 kB / 445 MB, free: 3.031 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.01042, allocations: 4 kB / 445 MB, free: 3.027 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.01042, allocations: 4 kB / 445.1 MB, free: 3.023 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.01044, allocations: 0 / 445.1 MB, free: 3.023 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.01055, allocations: 19.98 kB / 445.1 MB, free: 3.004 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.01055, allocations: 0 / 445.1 MB, free: 3.004 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.604e-05/0.0106, allocations: 4 kB / 445.1 MB, free: 3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.238e-06/0.01061, allocations: 7.922 kB / 445.1 MB, free: 2.992 MB / 366.1 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 0.0001084/0.01071, allocations: 134.4 kB / 445.2 MB, free: 2.852 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.877e-05/0.01075, allocations: 15.89 kB / 445.2 MB, free: 2.836 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003041/0.01106, allocations: 131.4 kB / 445.4 MB, free: 2.695 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.01106, allocations: 0 / 445.4 MB, free: 2.695 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.01106, allocations: 0 / 445.4 MB, free: 2.695 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.01107, allocations: 0 / 445.4 MB, free: 2.695 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005395/0.01161, allocations: 342.9 kB / 445.7 MB, free: 2.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.01161, allocations: 0 / 445.7 MB, free: 2.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.783e-05/0.01169, allocations: 15.98 kB / 445.7 MB, free: 2.305 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.01169, allocations: 0 / 445.7 MB, free: 2.305 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.0117, allocations: 11.97 kB / 445.7 MB, free: 2.293 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.949e-06/0.0117, allocations: 7.922 kB / 445.7 MB, free: 2.285 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.0117, allocations: 0 / 445.7 MB, free: 2.285 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003228/0.01203, allocations: 208.2 kB / 445.9 MB, free: 2.062 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.573e-05/0.01204, allocations: 7.938 kB / 445.9 MB, free: 2.055 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.151e-05/0.01206, allocations: 8 kB / 445.9 MB, free: 2.047 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.699e-05/0.01214, allocations: 4 kB / 445.9 MB, free: 2.043 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.093e-05/0.01218, allocations: 7.922 kB / 446 MB, free: 2.035 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.01219, allocations: 4 kB / 446 MB, free: 2.031 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000151/0.01234, allocations: 168.2 kB / 446.1 MB, free: 1.867 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.01234, allocations: 0 / 446.1 MB, free: 1.867 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002684/0.01261, allocations: 27.92 kB / 446.2 MB, free: 1.84 MB / 366.1 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.001831/0.01444, allocations: 488.2 kB / 446.6 MB, free: 1.57 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000251/0.01469, allocations: 55.97 kB / 446.7 MB, free: 1.516 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.01469, allocations: 0 / 446.7 MB, free: 1.516 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.666e-05/0.01479, allocations: 35.91 kB / 446.7 MB, free: 1.48 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003102/0.0151, allocations: 21.66 kB / 446.7 MB, free: 1.465 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005615/0.01566, allocations: 262 kB / 447 MB, free: 1.18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001026/0.01576, allocations: 92.88 kB / 447.1 MB, free: 1.07 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.35e-05/0.01582, allocations: 17.02 kB / 447.1 MB, free: 1.055 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.045e-05/0.01586, allocations: 16.5 kB / 447.1 MB, free: 1.039 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.01586, allocations: 0 / 447.1 MB, free: 1.039 MB / 366.1 MB Notification: Performance of Templates: time 0.1744/0.1903, allocations: 1.367 MB / 448.5 MB, free: 21.43 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.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.59730402007699]