Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.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.001443/0.001443, allocations: 80.05 kB / 20.72 MB, free: 3.77 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.001618/0.001618, allocations: 169 kB / 24.14 MB, free: 364 kB / 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 0.9011/0.9011, allocations: 158.6 MB / 186 MB, free: 2.758 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.1408/0.1408, allocations: 32.38 MB / 270.7 MB, free: 14.6 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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.263e-06/1.263e-06, allocations: 0 / 299.1 MB, free: 2.148 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.19e-05/2.316e-05, allocations: 6.312 kB / 299.1 MB, free: 2.141 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.002235/0.002258, allocations: 1.632 MB / 300.8 MB, free: 0.5 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004874/0.002745, allocations: 319.4 kB / 301.1 MB, free: 188 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.73e-05/0.002793, allocations: 4 kB / 301.1 MB, free: 184 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001973/0.00299, allocations: 23.86 kB / 301.1 MB, free: 160 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001253/0.003115, allocations: 35.72 kB / 301.1 MB, free: 124 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001696/0.003285, allocations: 71.78 kB / 301.2 MB, free: 52 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.1139/0.1172, allocations: 54.91 kB / 301.2 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.1173, allocations: 9.953 kB / 301.3 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.593e-05/0.1174, allocations: 25.66 kB / 301.3 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.177e-05/0.1174, allocations: 14.48 kB / 301.3 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.698e-05/0.1174, allocations: 2.531 kB / 301.3 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001013/0.1175, allocations: 36.11 kB / 301.3 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.214e-05/0.1176, allocations: 9.141 kB / 301.3 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.297e-05/0.1176, allocations: 13.12 kB / 301.4 MB, free: 19.23 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001545/0.1178, allocations: 70.5 kB / 301.4 MB, free: 19.23 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.816e-06/0.1178, allocations: 0 / 301.4 MB, free: 19.23 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.1178, allocations: 0 / 301.4 MB, free: 19.23 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.068e-06/0.1178, allocations: 0 / 301.4 MB, free: 19.23 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002866/0.1181, allocations: 274 kB / 301.7 MB, free: 18.99 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.1181, allocations: 9.312 kB / 301.7 MB, free: 18.99 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.14e-05/0.1181, allocations: 5.891 kB / 301.7 MB, free: 18.99 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/0.1183, allocations: 136.6 kB / 301.8 MB, free: 18.86 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.799e-06/0.1183, allocations: 4.531 kB / 301.8 MB, free: 18.86 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.638e-05/0.1183, allocations: 1.469 kB / 301.8 MB, free: 18.86 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.863e-05/0.1184, allocations: 54.48 kB / 301.9 MB, free: 18.81 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.1184, allocations: 192 / 301.9 MB, free: 18.81 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.094e-06/0.1184, allocations: 1.594 kB / 301.9 MB, free: 18.81 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.1184, allocations: 4.5 kB / 301.9 MB, free: 18.8 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.352e-05/0.1184, allocations: 5.656 kB / 301.9 MB, free: 18.8 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001915/0.1186, allocations: 164.5 kB / 302.1 MB, free: 18.66 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001172/0.1187, allocations: 31.94 kB / 302.1 MB, free: 18.63 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.43e-05/0.1187, allocations: 11.97 kB / 302.1 MB, free: 18.62 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.527e-05/0.1188, allocations: 1.672 kB / 302.1 MB, free: 18.62 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.391e-05/0.1188, allocations: 32.06 kB / 302.2 MB, free: 18.59 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.413e-06/0.1188, allocations: 2.156 kB / 302.2 MB, free: 18.59 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002445/0.119, allocations: 77.27 kB / 302.2 MB, free: 18.55 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.86e-05/0.119, allocations: 53.66 kB / 302.3 MB, free: 18.49 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.195e-05/0.1191, allocations: 143.7 kB / 302.4 MB, free: 18.37 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.939e-06/0.1191, allocations: 30.2 kB / 302.4 MB, free: 18.34 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.668e-05/0.1191, allocations: 94.72 kB / 302.5 MB, free: 18.25 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.728e-05/0.1191, allocations: 18.44 kB / 302.6 MB, free: 18.24 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.795e-05/0.1192, allocations: 16.28 kB / 302.6 MB, free: 18.23 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 2.717e-05/0.1192, allocations: 324.9 kB / 302.9 MB, free: 17.91 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.058e-05/0.1192, allocations: 4.781 kB / 302.9 MB, free: 17.91 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.099e-05/0.1192, allocations: 4.234 kB / 302.9 MB, free: 17.91 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.785e-05/0.1192, allocations: 19.38 kB / 302.9 MB, free: 17.91 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.1192, allocations: 0 / 302.9 MB, free: 17.91 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.273e-05/0.1193, allocations: 47.86 kB / 303 MB, free: 17.88 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.1193, allocations: 9.453 kB / 303 MB, free: 17.87 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.1193, allocations: 4.5 kB / 303 MB, free: 17.87 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.1193, allocations: 1.766 kB / 303 MB, free: 17.87 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.41e-05/0.1194, allocations: 13.36 kB / 303 MB, free: 17.87 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.415e-06/0.1194, allocations: 0.5469 kB / 303 MB, free: 17.87 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.086e-05/0.1194, allocations: 6.922 kB / 303 MB, free: 17.87 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.609e-06/0.1194, allocations: 2.469 kB / 303 MB, free: 17.87 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 (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 3.227e-05/0.1194, allocations: 111.1 kB / 303.1 MB, free: 17.75 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.262e-05/0.1195, allocations: 9.094 kB / 303.1 MB, free: 17.75 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.958e-05/0.1195, allocations: 61.33 kB / 303.2 MB, free: 17.71 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.552e-06/0.1195, allocations: 0.6562 kB / 303.2 MB, free: 17.71 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-06/0.1195, allocations: 1.219 kB / 303.2 MB, free: 17.71 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.1195, allocations: 1.484 kB / 303.2 MB, free: 17.71 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001671/0.1197, allocations: 207.8 kB / 303.4 MB, free: 17.54 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.1197, allocations: 2.906 kB / 303.4 MB, free: 17.54 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.2e-05/0.1197, allocations: 18.16 kB / 303.4 MB, free: 17.53 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.1197, allocations: 1.125 kB / 303.4 MB, free: 17.53 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.789e-06/0.1197, allocations: 0.7031 kB / 303.4 MB, free: 17.53 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1197, allocations: 2.953 kB / 303.4 MB, free: 17.53 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1197, allocations: 3.594 kB / 303.4 MB, free: 17.53 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.899e-05/0.1198, allocations: 143.9 kB / 303.6 MB, free: 17.4 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.556e-06/0.1198, allocations: 10.8 kB / 303.6 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.07e-05/0.1198, allocations: 1.922 kB / 303.6 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.179e-05/0.1199, allocations: 6.172 kB / 303.6 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.701e-05/0.1199, allocations: 4.172 kB / 303.6 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.145e-06/0.1199, allocations: 5.125 kB / 303.6 MB, free: 17.39 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.974e-05/0.1199, allocations: 30.39 kB / 303.6 MB, free: 17.38 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1199, allocations: 0 / 303.6 MB, free: 17.38 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001997/0.1201, allocations: 19.44 kB / 303.6 MB, free: 17.38 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 (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.001163/0.1213, allocations: 0.4952 MB / 304.1 MB, free: 17.11 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.585e-05/0.1214, allocations: 20.27 kB / 304.2 MB, free: 17.11 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.1214, allocations: 1.281 kB / 304.2 MB, free: 17.11 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.952e-05/0.1214, allocations: 19.58 kB / 304.2 MB, free: 17.1 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00019/0.1216, allocations: 18.88 kB / 304.2 MB, free: 17.1 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002397/0.1218, allocations: 166.4 kB / 304.4 MB, free: 16.95 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.303e-05/0.1219, allocations: 59.88 kB / 304.4 MB, free: 16.88 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.228e-05/0.1219, allocations: 6.75 kB / 304.4 MB, free: 16.88 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.427e-05/0.1219, allocations: 62.25 kB / 304.5 MB, free: 16.84 MB / 282.7 MB Notification: Performance of SimCode: time 3.81e-07/0.1219, allocations: 0 / 304.5 MB, free: 16.84 MB / 282.7 MB Notification: Performance of Templates: time 0.003257/0.1252, allocations: 1.21 MB / 305.7 MB, free: 16.7 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.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: 2.8975355471484363]