Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.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.002043/0.002043, 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.002331/0.002331, 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.533/1.533, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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.3644/0.3644, allocations: 32.8 MB / 293.9 MB, free: 1.211 MB / 266.7 MB " [Timeout remaining time 179] 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.CombiTable1Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 375.3 MB, free: 4.988 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.48e-05/2.614e-05, allocations: 2.312 kB / 375.3 MB, free: 4.984 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test20): time 0.002937/0.002963, allocations: 1.61 MB / 376.9 MB, free: 3.363 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00198/0.004944, allocations: 1.259 MB / 378.1 MB, free: 2.098 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.643e-05/0.005, allocations: 0 / 378.1 MB, free: 2.098 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002427/0.005243, allocations: 23.8 kB / 378.2 MB, free: 2.074 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003122/0.005555, allocations: 87.55 kB / 378.2 MB, free: 1.988 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003159/0.005871, allocations: 111.6 kB / 378.4 MB, free: 1.879 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001514/0.006022, allocations: 75.77 kB / 378.4 MB, free: 1.805 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.404e-05/0.006106, allocations: 7.984 kB / 378.4 MB, free: 1.797 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.097e-05/0.006187, allocations: 39.84 kB / 378.5 MB, free: 1.758 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001084/0.006296, allocations: 23.91 kB / 378.5 MB, free: 1.734 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.981e-05/0.006315, allocations: 4 kB / 378.5 MB, free: 1.73 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001725/0.006488, allocations: 91.81 kB / 378.6 MB, free: 1.641 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.078e-05/0.006539, allocations: 15.92 kB / 378.6 MB, free: 1.625 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.675e-05/0.006575, allocations: 11.94 kB / 378.6 MB, free: 1.613 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002763/0.006852, allocations: 151.5 kB / 378.8 MB, free: 1.465 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.006854, allocations: 0 / 378.8 MB, free: 1.465 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.006855, allocations: 0 / 378.8 MB, free: 1.465 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.006859, allocations: 0 / 378.8 MB, free: 1.465 MB / 346.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.0005457/0.007405, allocations: 333.7 kB / 379.1 MB, free: 1.109 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.007439, allocations: 8.031 kB / 379.1 MB, free: 1.102 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.493e-05/0.007494, allocations: 8.891 kB / 379.1 MB, free: 1.094 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002275/0.007722, allocations: 129.7 kB / 379.2 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.007732, allocations: 384 / 379.2 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.515e-05/0.007757, allocations: 4.375 kB / 379.2 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001957/0.007953, allocations: 97.59 kB / 379.3 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.007964, allocations: 192 / 379.3 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.007976, allocations: 4.125 kB / 379.3 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.007982, allocations: 4 kB / 379.3 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.849e-05/0.008081, allocations: 23.97 kB / 379.4 MB, free: 0.793 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003983/0.008479, allocations: 224.6 kB / 379.6 MB, free: 0.543 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002371/0.008716, allocations: 50.48 kB / 379.6 MB, free: 496 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.866e-05/0.008775, allocations: 12.86 kB / 379.7 MB, free: 480 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.292e-05/0.008798, allocations: 7.938 kB / 379.7 MB, free: 472 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.572e-05/0.008834, allocations: 38.56 kB / 379.7 MB, free: 424 kB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 8.72e-07/0.008834, allocations: 0 / 379.7 MB, free: 424 kB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006351/0.00947, allocations: 153.4 kB / 379.8 MB, free: 264 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.661e-05/0.009536, allocations: 77.11 kB / 379.9 MB, free: 168 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001854/0.009722, allocations: 160.1 kB / 380.1 MB, free: 0 / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/0.009742, allocations: 29.75 kB / 380.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.833e-05/0.00981, allocations: 88.14 kB / 380.2 MB, free: 15.87 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.251e-05/0.009833, allocations: 19.84 kB / 380.2 MB, free: 15.86 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.174e-05/0.009875, allocations: 17.72 kB / 380.2 MB, free: 15.83 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001957/0.01007, allocations: 322.8 kB / 380.5 MB, free: 15.51 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.219e-05/0.01015, allocations: 19.98 kB / 380.6 MB, free: 15.49 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001076/0.01026, allocations: 63.34 kB / 380.6 MB, free: 15.41 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001629/0.01042, allocations: 48.83 kB / 380.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.01043, allocations: 3.938 kB / 380.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002315/0.01066, allocations: 97.83 kB / 380.8 MB, free: 15.26 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.01067, allocations: 4 kB / 380.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.01068, allocations: 3.938 kB / 380.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.0107, allocations: 4 kB / 380.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.868e-05/0.01076, allocations: 11.98 kB / 380.8 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.01077, allocations: 0 / 380.8 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.942e-05/0.01082, allocations: 4 kB / 380.8 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-06/0.01083, allocations: 3.984 kB / 380.8 MB, free: 15.23 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.0001036/0.01093, allocations: 125.7 kB / 380.9 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.171e-05/0.01097, allocations: 11.95 kB / 380.9 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002695/0.01124, allocations: 98.06 kB / 381 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.01125, allocations: 4 kB / 381 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.01125, allocations: 0 / 381 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.01125, allocations: 0 / 381 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005/0.01175, allocations: 302.1 kB / 381.3 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.01176, allocations: 0 / 381.3 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.261e-05/0.01182, allocations: 15.98 kB / 381.4 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.389e-06/0.01182, allocations: 4.281 kB / 381.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.01183, allocations: 0 / 381.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.01183, allocations: 0 / 381.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.01183, allocations: 0 / 381.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002974/0.01213, allocations: 195.3 kB / 381.5 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.875e-05/0.01215, allocations: 7.953 kB / 381.6 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.773e-05/0.01216, allocations: 256 / 381.6 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.104e-05/0.01226, allocations: 8 kB / 381.6 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.783e-05/0.01229, allocations: 7.984 kB / 381.6 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.0123, allocations: 8 kB / 381.6 MB, free: 14.39 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001183/0.01242, allocations: 115.2 kB / 381.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01242, allocations: 0 / 381.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002961/0.01271, allocations: 35.88 kB / 381.7 MB, free: 14.24 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.002288/0.015, allocations: 0.523 MB / 382.2 MB, free: 13.93 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002385/0.01524, allocations: 55.89 kB / 382.3 MB, free: 13.87 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.01524, allocations: 0 / 382.3 MB, free: 13.87 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000107/0.01535, allocations: 35.92 kB / 382.3 MB, free: 13.84 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003782/0.01573, allocations: 19.98 kB / 382.4 MB, free: 13.82 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004823/0.01621, allocations: 172.4 kB / 382.5 MB, free: 13.62 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.228e-05/0.0163, allocations: 75.33 kB / 382.6 MB, free: 13.53 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.556e-05/0.01637, allocations: 11.98 kB / 382.6 MB, free: 13.52 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.658e-05/0.01642, allocations: 24.48 kB / 382.6 MB, free: 13.49 MB / 362.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01642, allocations: 0 / 382.6 MB, free: 13.49 MB / 362.7 MB Notification: Performance of Templates: time 0.005442/0.02187, allocations: 1.847 MB / 384.5 MB, free: 11.66 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.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.8783381949178874]