Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.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.0009233/0.0009233, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.0009802/0.0009802, allocations: 165 kB / 23.8 MB, free: 0.7734 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 1.075/1.075, allocations: 158.6 MB / 185.7 MB, free: 2.922 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.1452/0.1452, allocations: 32.37 MB / 270.4 MB, free: 14.7 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.CombiTable1Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 347.7 MB, free: 9.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.418e-05/2.538e-05, allocations: 6.25 kB / 347.7 MB, free: 9.422 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.002134/0.002159, allocations: 1.613 MB / 349.3 MB, free: 7.805 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000434/0.002593, allocations: 331.4 kB / 349.6 MB, free: 7.477 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.852e-05/0.002632, allocations: 0 / 349.6 MB, free: 7.477 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001907/0.002822, allocations: 91.67 kB / 349.7 MB, free: 7.387 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001292/0.002952, allocations: 75.67 kB / 349.8 MB, free: 7.312 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001587/0.00311, allocations: 67.84 kB / 349.8 MB, free: 7.246 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 9.767e-05/0.003208, allocations: 87.73 kB / 349.9 MB, free: 7.16 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.143e-05/0.003269, allocations: 8.172 kB / 349.9 MB, free: 7.152 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.479e-05/0.003314, allocations: 47.89 kB / 350 MB, free: 7.105 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.795e-05/0.003372, allocations: 55.86 kB / 350 MB, free: 7.051 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.017e-05/0.003382, allocations: 0 / 350 MB, free: 7.051 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.778e-05/0.00343, allocations: 35.92 kB / 350.1 MB, free: 7.016 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.574e-05/0.003456, allocations: 19.94 kB / 350.1 MB, free: 6.996 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.812e-05/0.003474, allocations: 19.91 kB / 350.1 MB, free: 6.977 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001014/0.003575, allocations: 83.62 kB / 350.2 MB, free: 6.895 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.003577, allocations: 4 kB / 350.2 MB, free: 6.891 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.31e-07/0.003578, allocations: 0 / 350.2 MB, free: 6.891 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.908e-06/0.003582, allocations: 3.938 kB / 350.2 MB, free: 6.887 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003276/0.003909, allocations: 444 kB / 350.6 MB, free: 6.418 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.003948, allocations: 8.031 kB / 350.6 MB, free: 6.41 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.195e-05/0.003999, allocations: 16.84 kB / 350.7 MB, free: 6.395 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/0.004123, allocations: 144.4 kB / 350.8 MB, free: 6.227 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.448e-06/0.004133, allocations: 384 / 350.8 MB, free: 6.227 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.172e-05/0.004154, allocations: 4.375 kB / 350.8 MB, free: 6.223 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001022/0.004257, allocations: 66.94 kB / 350.9 MB, free: 6.148 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.004266, allocations: 192 / 350.9 MB, free: 6.148 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.846e-06/0.004275, allocations: 11.88 kB / 350.9 MB, free: 6.137 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.004282, allocations: 0 / 350.9 MB, free: 6.137 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.035e-05/0.004313, allocations: 15.98 kB / 350.9 MB, free: 6.121 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002607/0.004573, allocations: 299.7 kB / 351.2 MB, free: 5.793 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.856e-05/0.004652, allocations: 54.86 kB / 351.3 MB, free: 5.727 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.537e-05/0.004677, allocations: 15.81 kB / 351.3 MB, free: 5.707 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.776e-05/0.004705, allocations: 4 kB / 351.3 MB, free: 5.703 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/0.004727, allocations: 33.39 kB / 351.3 MB, free: 5.66 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 9.11e-07/0.004728, allocations: 0 / 351.3 MB, free: 5.66 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003542/0.005082, allocations: 133.4 kB / 351.4 MB, free: 5.523 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.946e-05/0.005111, allocations: 59.41 kB / 351.5 MB, free: 5.453 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.005232, allocations: 246.6 kB / 351.7 MB, free: 5.195 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.344e-06/0.005239, allocations: 25.7 kB / 351.8 MB, free: 5.164 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.538e-05/0.005285, allocations: 158.8 kB / 351.9 MB, free: 5.004 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.248e-05/0.005307, allocations: 27.75 kB / 351.9 MB, free: 4.977 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.643e-05/0.005334, allocations: 27.36 kB / 352 MB, free: 4.941 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.768e-05/0.005421, allocations: 0.5 MB / 352.5 MB, free: 4.43 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.741e-05/0.005439, allocations: 8 kB / 352.5 MB, free: 4.422 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.876e-05/0.005457, allocations: 15.98 kB / 352.5 MB, free: 4.406 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.563e-05/0.005493, allocations: 39.92 kB / 352.5 MB, free: 4.363 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-07/0.005494, allocations: 4 kB / 352.5 MB, free: 4.359 MB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.932e-05/0.005563, allocations: 69.62 kB / 352.6 MB, free: 4.285 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.556e-06/0.005571, allocations: 8 kB / 352.6 MB, free: 4.277 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.746e-06/0.005574, allocations: 384 / 352.6 MB, free: 4.277 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.803e-06/0.005581, allocations: 0 / 352.6 MB, free: 4.277 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.908e-05/0.00563, allocations: 19.98 kB / 352.6 MB, free: 4.258 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.315e-06/0.005632, allocations: 0 / 352.6 MB, free: 4.258 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.649e-05/0.005649, allocations: 8 kB / 352.6 MB, free: 4.25 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.517e-06/0.005652, allocations: 0 / 352.6 MB, free: 4.25 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 (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 3.812e-05/0.005691, allocations: 168.5 kB / 352.8 MB, free: 4.074 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.018e-05/0.005711, allocations: 23.89 kB / 352.8 MB, free: 4.051 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.431e-05/0.005805, allocations: 87.06 kB / 352.9 MB, free: 3.961 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.005807, allocations: 4 kB / 352.9 MB, free: 3.957 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.00581, allocations: 0 / 352.9 MB, free: 3.957 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.823e-06/0.005812, allocations: 0 / 352.9 MB, free: 3.957 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001805/0.005992, allocations: 369.3 kB / 353.3 MB, free: 3.555 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-07/0.005993, allocations: 0 / 353.3 MB, free: 3.555 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.725e-05/0.00602, allocations: 19.92 kB / 353.3 MB, free: 3.535 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.32e-07/0.006021, allocations: 0 / 353.3 MB, free: 3.535 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.641e-06/0.006026, allocations: 4 kB / 353.3 MB, free: 3.531 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.42e-07/0.006027, allocations: 4 kB / 353.3 MB, free: 3.527 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.006028, allocations: 0 / 353.3 MB, free: 3.527 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.8e-05/0.006106, allocations: 231.8 kB / 353.5 MB, free: 3.281 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.017e-06/0.006115, allocations: 11.89 kB / 353.5 MB, free: 3.27 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.985e-06/0.006123, allocations: 4 kB / 353.5 MB, free: 3.266 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.857e-05/0.006152, allocations: 4 kB / 353.5 MB, free: 3.262 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.033e-05/0.006172, allocations: 7.984 kB / 353.6 MB, free: 3.254 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.006175, allocations: 0 / 353.6 MB, free: 3.254 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.932e-05/0.006234, allocations: 183.1 kB / 353.7 MB, free: 3.074 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006234, allocations: 0 / 353.7 MB, free: 3.074 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001531/0.006387, allocations: 12 kB / 353.7 MB, free: 3.062 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 (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.000873/0.00726, allocations: 381.2 kB / 354.1 MB, free: 2.781 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001007/0.007361, allocations: 47.59 kB / 354.2 MB, free: 2.73 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.92e-07/0.007362, allocations: 4 kB / 354.2 MB, free: 2.727 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.302e-05/0.007385, allocations: 23.67 kB / 354.2 MB, free: 2.699 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002017/0.007587, allocations: 21.23 kB / 354.2 MB, free: 2.68 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002944/0.007881, allocations: 222.2 kB / 354.4 MB, free: 2.434 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.263e-05/0.007914, allocations: 75.25 kB / 354.5 MB, free: 2.34 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.766e-05/0.007941, allocations: 16.72 kB / 354.5 MB, free: 2.324 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.996e-05/0.007961, allocations: 12.5 kB / 354.5 MB, free: 2.312 MB / 282.7 MB Notification: Performance of SimCode: time 6.11e-07/0.007962, allocations: 8 kB / 354.5 MB, free: 2.305 MB / 282.7 MB Notification: Performance of Templates: time 0.002857/0.01082, allocations: 1.331 MB / 355.9 MB, free: 0.9844 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.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.2444440526887774]