Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.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.001699/0.001699, allocations: 76.81 kB / 19.93 MB, free: 1.781 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.001807/0.001807, allocations: 166.4 kB / 23.21 MB, free: 4.906 MB / 14.72 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.583/1.583, allocations: 158.6 MB / 185 MB, free: 6.398 MB / 174.1 MB " [Timeout remaining time 178] 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.2195/0.2195, allocations: 32.38 MB / 269.6 MB, free: 2.734 MB / 254.1 MB " [Timeout remaining time 179] 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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 407.4 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.743e-05/2.918e-05, allocations: 2.281 kB / 407.4 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.003027/0.003056, allocations: 1.563 MB / 408.9 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007163/0.003772, allocations: 319.5 kB / 409.2 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.659e-05/0.003829, allocations: 3.938 kB / 409.2 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003342/0.004163, allocations: 95.69 kB / 409.3 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002081/0.004371, allocations: 71.72 kB / 409.4 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002401/0.004611, allocations: 71.72 kB / 409.5 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001963/0.004808, allocations: 83.8 kB / 409.6 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.38e-05/0.004902, allocations: 8.188 kB / 409.6 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.005003, allocations: 55.81 kB / 409.6 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001234/0.005127, allocations: 55.88 kB / 409.7 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.956e-05/0.005146, allocations: 0 / 409.7 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.059e-05/0.005227, allocations: 31.92 kB / 409.7 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.132e-05/0.005288, allocations: 27.92 kB / 409.7 MB, free: 14.44 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.498e-05/0.005323, allocations: 11.88 kB / 409.8 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001913/0.005515, allocations: 103.6 kB / 409.9 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.00552, allocations: 4 kB / 409.9 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.005521, allocations: 0 / 409.9 MB, free: 14.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.005526, allocations: 0 / 409.9 MB, free: 14.32 MB / 350.1 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.0005349/0.006061, allocations: 349.6 kB / 410.2 MB, free: 13.95 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.006099, allocations: 8.031 kB / 410.2 MB, free: 13.94 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.73e-05/0.006146, allocations: 8.891 kB / 410.2 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002092/0.006355, allocations: 145.5 kB / 410.4 MB, free: 13.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.006371, allocations: 12.3 kB / 410.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.309e-05/0.006394, allocations: 384 / 410.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002035/0.006598, allocations: 58.23 kB / 410.4 MB, free: 13.69 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.006611, allocations: 192 / 410.4 MB, free: 13.69 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.006622, allocations: 3.938 kB / 410.4 MB, free: 13.69 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.006625, allocations: 4 kB / 410.4 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001232/0.006749, allocations: 35.97 kB / 410.5 MB, free: 13.65 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003677/0.007116, allocations: 244.4 kB / 410.7 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001307/0.007247, allocations: 50.5 kB / 410.8 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.473e-05/0.007302, allocations: 20.97 kB / 410.8 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.726e-05/0.007329, allocations: 4 kB / 410.8 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.365e-05/0.007403, allocations: 34.56 kB / 410.8 MB, free: 13.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.343e-06/0.007404, allocations: 0 / 410.8 MB, free: 13.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006927/0.008097, allocations: 189.2 kB / 411 MB, free: 13.06 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.405e-05/0.008151, allocations: 55.41 kB / 411.1 MB, free: 12.99 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003238/0.008475, allocations: 227 kB / 411.3 MB, free: 12.76 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/0.008494, allocations: 33.64 kB / 411.3 MB, free: 12.72 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.814e-05/0.008572, allocations: 108.1 kB / 411.4 MB, free: 12.61 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.591e-05/0.008608, allocations: 27.75 kB / 411.4 MB, free: 12.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.194e-05/0.00865, allocations: 21.7 kB / 411.5 MB, free: 12.56 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001779/0.008828, allocations: 326.8 kB / 411.8 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.484e-05/0.008912, allocations: 23.98 kB / 411.8 MB, free: 12.21 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.669e-05/0.008989, allocations: 28.05 kB / 411.8 MB, free: 12.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001606/0.00915, allocations: 64.89 kB / 411.9 MB, free: 12.11 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.009151, allocations: 0 / 411.9 MB, free: 12.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002359/0.009386, allocations: 101.6 kB / 412 MB, free: 12.01 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.0094, allocations: 4 kB / 412 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.555e-06/0.009408, allocations: 3.984 kB / 412 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.009423, allocations: 4 kB / 412 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.009528, allocations: 15.94 kB / 412 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.009532, allocations: 4 kB / 412 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.625e-05/0.009578, allocations: 7.984 kB / 412 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.677e-06/0.009587, allocations: 4 kB / 412 MB, free: 11.96 MB / 350.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.0001192/0.009706, allocations: 133.8 kB / 412.2 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.66e-05/0.009743, allocations: 11.89 kB / 412.2 MB, free: 11.81 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000296/0.01004, allocations: 123 kB / 412.3 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.01004, allocations: 0 / 412.3 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.01004, allocations: 3.938 kB / 412.3 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.01005, allocations: 4 kB / 412.3 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005286/0.01058, allocations: 330.1 kB / 412.6 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/0.01058, allocations: 4 kB / 412.6 MB, free: 11.31 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.261e-05/0.01066, allocations: 19.98 kB / 412.7 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.01066, allocations: 3.938 kB / 412.7 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.01067, allocations: 0 / 412.7 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.01067, allocations: 4.375 kB / 412.7 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.01067, allocations: 0 / 412.7 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003192/0.01099, allocations: 207.8 kB / 412.9 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.702e-05/0.01101, allocations: 7.953 kB / 412.9 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.839e-05/0.01103, allocations: 4 kB / 412.9 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.999e-05/0.0111, allocations: 4 kB / 412.9 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.097e-05/0.01114, allocations: 7.984 kB / 412.9 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-06/0.01114, allocations: 4 kB / 412.9 MB, free: 11.04 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001859/0.01133, allocations: 179.2 kB / 413.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01133, allocations: 0 / 413.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002719/0.0116, allocations: 19.94 kB / 413.1 MB, free: 10.84 MB / 350.1 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.001727/0.01333, allocations: 438.5 kB / 413.5 MB, free: 10.46 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002594/0.01359, allocations: 59.95 kB / 413.6 MB, free: 10.41 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.01359, allocations: 0 / 413.6 MB, free: 10.41 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001102/0.0137, allocations: 35.91 kB / 413.6 MB, free: 10.37 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004137/0.01411, allocations: 19.91 kB / 413.6 MB, free: 10.35 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006381/0.01475, allocations: 261.1 kB / 413.9 MB, free: 10.07 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001511/0.0149, allocations: 96.67 kB / 414 MB, free: 9.957 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.151e-05/0.01496, allocations: 16.72 kB / 414 MB, free: 9.941 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.01e-05/0.015, allocations: 12.5 kB / 414 MB, free: 9.93 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.015, allocations: 0 / 414 MB, free: 9.93 MB / 350.1 MB Notification: Performance of Templates: time 0.004944/0.01995, allocations: 1.222 MB / 415.2 MB, free: 8.715 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.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: 5.2712584510445595]