Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.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.001445/0.001445, allocations: 84.34 kB / 20.95 MB, free: 3.453 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.001682/0.001682, allocations: 169.3 kB / 24.27 MB, free: 144 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.503/1.503, allocations: 177.2 MB / 204.6 MB, free: 5.594 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.3438/0.3438, allocations: 32.8 MB / 293.9 MB, free: 1.207 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.CombiTable2Dv.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 375.3 MB, free: 4.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.779e-05/2.916e-05, allocations: 6.25 kB / 375.3 MB, free: 4.973 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test11): time 0.003787/0.003817, allocations: 1.671 MB / 376.9 MB, free: 3.293 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002437/0.006254, allocations: 1.282 MB / 378.2 MB, free: 2.004 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.143e-05/0.006335, allocations: 0 / 378.2 MB, free: 2.004 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002612/0.006597, allocations: 23.8 kB / 378.3 MB, free: 1.98 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004028/0.006999, allocations: 95.53 kB / 378.3 MB, free: 1.887 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000503/0.007502, allocations: 175.5 kB / 378.5 MB, free: 1.715 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001832/0.007685, allocations: 79.75 kB / 378.6 MB, free: 1.637 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.358e-05/0.007779, allocations: 11.98 kB / 378.6 MB, free: 1.625 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.629e-05/0.007875, allocations: 47.83 kB / 378.7 MB, free: 1.578 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001239/0.007999, allocations: 19.92 kB / 378.7 MB, free: 1.559 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.198e-05/0.008021, allocations: 8 kB / 378.7 MB, free: 1.551 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002249/0.008246, allocations: 91.88 kB / 378.8 MB, free: 1.461 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.364e-05/0.00832, allocations: 23.91 kB / 378.8 MB, free: 1.438 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.73e-05/0.008367, allocations: 23.92 kB / 378.8 MB, free: 1.414 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003447/0.008712, allocations: 155.4 kB / 379 MB, free: 1.262 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.008718, allocations: 4 kB / 379 MB, free: 1.258 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.008719, allocations: 0 / 379 MB, free: 1.258 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.008725, allocations: 0 / 379 MB, free: 1.258 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006379/0.009362, allocations: 333.7 kB / 379.3 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.009399, allocations: 12.03 kB / 379.3 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.676e-05/0.009466, allocations: 8.891 kB / 379.3 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002421/0.009708, allocations: 149.5 kB / 379.5 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.00972, allocations: 384 / 379.5 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.936e-05/0.009749, allocations: 8.375 kB / 379.5 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002505/0.01, allocations: 101.7 kB / 379.6 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.01001, allocations: 192 / 379.6 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.01003, allocations: 4.125 kB / 379.6 MB, free: 0.582 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.01003, allocations: 0 / 379.6 MB, free: 0.582 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001611/0.01019, allocations: 39.95 kB / 379.6 MB, free: 0.543 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004776/0.01067, allocations: 244.5 kB / 379.9 MB, free: 280 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001553/0.01082, allocations: 54.55 kB / 379.9 MB, free: 216 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.349e-05/0.01091, allocations: 24.88 kB / 379.9 MB, free: 188 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.267e-05/0.01093, allocations: 4 kB / 379.9 MB, free: 184 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.852e-05/0.01097, allocations: 30.56 kB / 380 MB, free: 144 kB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.01097, allocations: 0 / 380 MB, free: 144 kB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0009356/0.0119, allocations: 241.2 kB / 380.2 MB, free: 15.9 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.023e-05/0.01197, allocations: 77.11 kB / 380.3 MB, free: 15.8 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002581/0.01223, allocations: 147.8 kB / 380.4 MB, free: 15.65 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.316e-05/0.01226, allocations: 29.64 kB / 380.4 MB, free: 15.62 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.467e-05/0.01233, allocations: 96.12 kB / 380.5 MB, free: 15.52 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.165e-05/0.01237, allocations: 31.73 kB / 380.6 MB, free: 15.49 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.194e-05/0.01242, allocations: 21.72 kB / 380.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001838/0.01261, allocations: 322.8 kB / 380.9 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/0.01274, allocations: 43.97 kB / 381 MB, free: 15.09 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001531/0.0129, allocations: 75.47 kB / 381 MB, free: 15.01 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002759/0.01317, allocations: 96.77 kB / 381.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.01317, allocations: 0 / 381.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003319/0.01351, allocations: 125.8 kB / 381.2 MB, free: 14.78 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.01352, allocations: 7.938 kB / 381.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.01353, allocations: 3.984 kB / 381.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.01355, allocations: 0 / 381.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.01367, allocations: 19.98 kB / 381.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.01368, allocations: 0 / 381.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.19e-05/0.01375, allocations: 11.98 kB / 381.3 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.01376, allocations: 4 kB / 381.3 MB, free: 14.73 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 (7): * Single equations (assignments): 7 * 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.0001228/0.01388, allocations: 125.8 kB / 381.4 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.512e-05/0.01393, allocations: 7.953 kB / 381.4 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003915/0.01432, allocations: 138.3 kB / 381.6 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.01432, allocations: 0 / 381.6 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/0.01433, allocations: 4 kB / 381.6 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.01434, allocations: 3.984 kB / 381.6 MB, free: 14.44 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006254/0.01496, allocations: 346.1 kB / 381.9 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.01497, allocations: 4 kB / 381.9 MB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000101/0.01507, allocations: 27.97 kB / 381.9 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.01507, allocations: 0 / 381.9 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.01508, allocations: 288 / 381.9 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/0.01508, allocations: 7.938 kB / 381.9 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.01508, allocations: 0 / 381.9 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000395/0.01548, allocations: 227.4 kB / 382.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.088e-05/0.0155, allocations: 11.94 kB / 382.2 MB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.955e-05/0.01552, allocations: 3.938 kB / 382.2 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.01562, allocations: 11.98 kB / 382.2 MB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.555e-05/0.01567, allocations: 11.98 kB / 382.2 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.01567, allocations: 0 / 382.2 MB, free: 13.75 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001279/0.0158, allocations: 117.6 kB / 382.3 MB, free: 13.64 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0158, allocations: 0 / 382.3 MB, free: 13.64 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003098/0.01611, allocations: 43.81 kB / 382.4 MB, free: 13.59 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 (7): * Single equations (assignments): 7 * 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.002257/0.01837, allocations: 0.529 MB / 382.9 MB, free: 13.28 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003424/0.01871, allocations: 91.91 kB / 383 MB, free: 13.19 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.01871, allocations: 0 / 383 MB, free: 13.19 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001516/0.01886, allocations: 43.97 kB / 383 MB, free: 13.15 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003858/0.01925, allocations: 27.88 kB / 383 MB, free: 13.12 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006331/0.01988, allocations: 228.6 kB / 383.3 MB, free: 12.87 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001097/0.01999, allocations: 87.31 kB / 383.4 MB, free: 12.77 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.826e-05/0.02009, allocations: 25 kB / 383.4 MB, free: 12.74 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.395e-05/0.02016, allocations: 20.5 kB / 383.4 MB, free: 12.72 MB / 362.7 MB Notification: Performance of SimCode: time 6.61e-07/0.02016, allocations: 0 / 383.4 MB, free: 12.72 MB / 362.7 MB Notification: Performance of Templates: time 0.006142/0.0263, allocations: 2.013 MB / 385.4 MB, free: 10.72 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test11/Test11.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.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.863349497900344]