Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.0009338/0.0009338, allocations: 80.8 kB / 21.49 MB, free: 2.996 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.001096/0.001096, allocations: 169.6 kB / 24.91 MB, free: 8.727 MB / 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 0.9518/0.9518, allocations: 177.1 MB / 205.3 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2541/0.2541, allocations: 34.25 MB / 296.1 MB, free: 0.7188 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 325.3 MB, free: 7.676 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.258e-05/2.4e-05, allocations: 3.891 kB / 325.3 MB, free: 7.672 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.002905/0.002929, allocations: 1.692 MB / 327 MB, free: 5.969 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009817/0.003911, allocations: 0.5413 MB / 327.5 MB, free: 5.422 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.431e-05/0.003965, allocations: 3.938 kB / 327.5 MB, free: 5.418 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002387/0.004204, allocations: 99.67 kB / 327.6 MB, free: 5.32 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002249/0.004429, allocations: 115.5 kB / 327.7 MB, free: 5.207 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001862/0.004615, allocations: 95.62 kB / 327.8 MB, free: 5.113 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001318/0.004747, allocations: 100.2 kB / 327.9 MB, free: 5.016 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.818e-05/0.004825, allocations: 19.92 kB / 327.9 MB, free: 4.996 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.753e-05/0.004892, allocations: 55.88 kB / 328 MB, free: 4.941 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.926e-05/0.004972, allocations: 51.88 kB / 328 MB, free: 4.891 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.801e-05/0.00499, allocations: 7.938 kB / 328 MB, free: 4.883 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.876e-05/0.005059, allocations: 47.92 kB / 328.1 MB, free: 4.836 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.319e-05/0.005102, allocations: 31.84 kB / 328.1 MB, free: 4.805 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.58e-05/0.005128, allocations: 23.92 kB / 328.1 MB, free: 4.781 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001314/0.005259, allocations: 103.6 kB / 328.2 MB, free: 4.68 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.00526, allocations: 0 / 328.2 MB, free: 4.68 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.005261, allocations: 0 / 328.2 MB, free: 4.68 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.055e-06/0.005264, allocations: 0 / 328.2 MB, free: 4.68 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0002936/0.005558, allocations: 345.4 kB / 328.6 MB, free: 4.32 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.881e-05/0.005587, allocations: 12.03 kB / 328.6 MB, free: 4.309 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.79e-05/0.005614, allocations: 12.92 kB / 328.6 MB, free: 4.297 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.005731, allocations: 145.6 kB / 328.7 MB, free: 4.129 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.234e-06/0.005738, allocations: 4.375 kB / 328.7 MB, free: 4.125 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.837e-05/0.005757, allocations: 4.375 kB / 328.8 MB, free: 4.121 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.2e-05/0.005849, allocations: 75.95 kB / 328.8 MB, free: 4.039 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.005857, allocations: 4.125 kB / 328.8 MB, free: 4.035 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.005868, allocations: 8.125 kB / 328.8 MB, free: 4.027 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.005872, allocations: 0 / 328.8 MB, free: 4.027 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.734e-05/0.005899, allocations: 15.98 kB / 328.9 MB, free: 4.012 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002025/0.006102, allocations: 191 kB / 329 MB, free: 3.809 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.291e-05/0.006155, allocations: 46.48 kB / 329.1 MB, free: 3.754 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.659e-05/0.006171, allocations: 16.84 kB / 329.1 MB, free: 3.734 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.661e-05/0.006188, allocations: 7.938 kB / 329.1 MB, free: 3.727 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.716e-05/0.006205, allocations: 30.56 kB / 329.1 MB, free: 3.688 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 8.52e-07/0.006206, allocations: 0 / 329.1 MB, free: 3.688 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004174/0.006623, allocations: 194 kB / 329.3 MB, free: 3.492 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.131e-05/0.006654, allocations: 59.41 kB / 329.4 MB, free: 3.422 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.00677, allocations: 189.1 kB / 329.6 MB, free: 3.219 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.168e-05/0.006781, allocations: 29.7 kB / 329.6 MB, free: 3.184 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.152e-05/0.006813, allocations: 92.11 kB / 329.7 MB, free: 3.09 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.086e-05/0.006844, allocations: 55.62 kB / 329.7 MB, free: 3.035 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.029e-05/0.006874, allocations: 29.66 kB / 329.8 MB, free: 3 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.56e-05/0.00695, allocations: 330.7 kB / 330.1 MB, free: 2.668 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.493e-05/0.006964, allocations: 11.98 kB / 330.1 MB, free: 2.656 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.483e-05/0.006979, allocations: 12 kB / 330.1 MB, free: 2.645 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.339e-05/0.007023, allocations: 41.31 kB / 330.2 MB, free: 2.602 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.91e-07/0.007023, allocations: 4 kB / 330.2 MB, free: 2.598 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 6.936e-05/0.007093, allocations: 76.73 kB / 330.2 MB, free: 2.52 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.568e-06/0.007102, allocations: 7.984 kB / 330.2 MB, free: 2.512 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.026e-06/0.007105, allocations: 0 / 330.2 MB, free: 2.512 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.365e-06/0.007114, allocations: 0 / 330.2 MB, free: 2.512 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.827e-05/0.007182, allocations: 31.98 kB / 330.3 MB, free: 2.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.665e-06/0.007185, allocations: 0 / 330.3 MB, free: 2.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.821e-05/0.007203, allocations: 4 kB / 330.3 MB, free: 2.477 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.007208, allocations: 0 / 330.3 MB, free: 2.477 MB / 298.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 (13): * Single equations (assignments): 13 * 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 5.891e-05/0.007267, allocations: 124.5 kB / 330.4 MB, free: 2.344 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.882e-05/0.007286, allocations: 15.98 kB / 330.4 MB, free: 2.328 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001091/0.007395, allocations: 99.25 kB / 330.5 MB, free: 2.223 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.007397, allocations: 4 kB / 330.5 MB, free: 2.219 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-06/0.007399, allocations: 0 / 330.5 MB, free: 2.219 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.007403, allocations: 3.984 kB / 330.5 MB, free: 2.215 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002436/0.007647, allocations: 284.4 kB / 330.8 MB, free: 1.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.007648, allocations: 4 kB / 330.8 MB, free: 1.906 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.602e-05/0.007694, allocations: 23.92 kB / 330.8 MB, free: 1.883 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.007696, allocations: 0 / 330.8 MB, free: 1.883 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.762e-06/0.007703, allocations: 11.97 kB / 330.8 MB, free: 1.871 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.007704, allocations: 4 kB / 330.8 MB, free: 1.867 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.007705, allocations: 0 / 330.8 MB, free: 1.867 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.241e-05/0.007797, allocations: 180.3 kB / 331 MB, free: 1.672 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.638e-06/0.007807, allocations: 11.91 kB / 331 MB, free: 1.66 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.164e-05/0.007819, allocations: 4 kB / 331 MB, free: 1.656 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.344e-05/0.007852, allocations: 3.984 kB / 331 MB, free: 1.652 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.293e-05/0.007875, allocations: 19.86 kB / 331.1 MB, free: 1.633 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-06/0.00788, allocations: 4 kB / 331.1 MB, free: 1.629 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.346e-05/0.007924, allocations: 61.55 kB / 331.1 MB, free: 1.566 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007924, allocations: 0 / 331.1 MB, free: 1.566 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001358/0.00806, allocations: 31.94 kB / 331.2 MB, free: 1.535 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (13): * Single equations (assignments): 13 * 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.001195/0.009255, allocations: 0.5702 MB / 331.7 MB, free: 1.266 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.629e-05/0.009341, allocations: 64.62 kB / 331.8 MB, free: 1.203 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.009344, allocations: 4 kB / 331.8 MB, free: 1.199 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.955e-05/0.009374, allocations: 32.78 kB / 331.8 MB, free: 1.164 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001442/0.009518, allocations: 19.98 kB / 331.8 MB, free: 1.145 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003014/0.00982, allocations: 262.7 kB / 332.1 MB, free: 0.8555 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.856e-05/0.009858, allocations: 75.33 kB / 332.2 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.847e-05/0.009897, allocations: 20.53 kB / 332.2 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.446e-05/0.009951, allocations: 71.36 kB / 332.3 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of SimCode: time 5.31e-07/0.009952, allocations: 0 / 332.3 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of Templates: time 0.003126/0.01308, allocations: 1.699 MB / 334 MB, free: 14.99 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.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.921806739177555]