Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.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.001547/0.001547, allocations: 81.08 kB / 20.65 MB, free: 3.832 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.001616/0.001616, allocations: 169 kB / 24.06 MB, free: 444 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.9416/0.9416, allocations: 158.6 MB / 185.9 MB, free: 2.801 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.1376/0.1376, allocations: 32.37 MB / 270.7 MB, free: 14.54 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.Test12,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.Test12") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,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.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 348.1 MB, free: 9.156 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.962e-05/2.169e-05, allocations: 2.312 kB / 348.1 MB, free: 9.152 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.001851/0.001872, allocations: 1.584 MB / 349.7 MB, free: 7.562 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004304/0.002303, allocations: 311.4 kB / 350 MB, free: 7.254 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.263e-05/0.002355, allocations: 7.938 kB / 350 MB, free: 7.246 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002295/0.002585, allocations: 19.92 kB / 350 MB, free: 7.227 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000179/0.002764, allocations: 47.7 kB / 350.1 MB, free: 7.18 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001687/0.002932, allocations: 75.72 kB / 350.2 MB, free: 7.105 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001224/0.003055, allocations: 55.83 kB / 350.2 MB, free: 7.051 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.957e-05/0.003154, allocations: 8 kB / 350.2 MB, free: 7.043 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.836e-05/0.003213, allocations: 27.91 kB / 350.3 MB, free: 7.016 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.478e-05/0.003268, allocations: 11.94 kB / 350.3 MB, free: 7.004 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.561e-05/0.003283, allocations: 4 kB / 350.3 MB, free: 7 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.294e-05/0.003346, allocations: 35.91 kB / 350.3 MB, free: 6.965 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.004e-05/0.003386, allocations: 15.92 kB / 350.3 MB, free: 6.949 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.664e-05/0.003413, allocations: 15.94 kB / 350.3 MB, free: 6.934 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001287/0.003541, allocations: 67.73 kB / 350.4 MB, free: 6.867 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.003543, allocations: 0 / 350.4 MB, free: 6.867 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.003544, allocations: 0 / 350.4 MB, free: 6.867 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.907e-06/0.003548, allocations: 0 / 350.4 MB, free: 6.867 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.0002847/0.003832, allocations: 412.1 kB / 350.8 MB, free: 6.43 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.003865, allocations: 16.02 kB / 350.8 MB, free: 6.414 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.897e-05/0.003894, allocations: 8.891 kB / 350.8 MB, free: 6.406 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.291e-05/0.003977, allocations: 128.5 kB / 351 MB, free: 6.254 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.735e-06/0.003984, allocations: 4.375 kB / 351 MB, free: 6.25 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.708e-05/0.004001, allocations: 4.328 kB / 351 MB, free: 6.246 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.039e-05/0.004072, allocations: 58.95 kB / 351 MB, free: 6.18 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.00408, allocations: 192 / 351 MB, free: 6.18 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.741e-06/0.004085, allocations: 4.125 kB / 351 MB, free: 6.176 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.00409, allocations: 0 / 351 MB, free: 6.176 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.746e-05/0.004107, allocations: 11.98 kB / 351 MB, free: 6.164 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001691/0.004276, allocations: 256.3 kB / 351.3 MB, free: 5.887 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001179/0.004394, allocations: 47.09 kB / 351.3 MB, free: 5.828 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.312e-05/0.004407, allocations: 11.69 kB / 351.3 MB, free: 5.812 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.004427, allocations: 0 / 351.3 MB, free: 5.812 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.625e-05/0.004443, allocations: 41.33 kB / 351.4 MB, free: 5.762 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.004444, allocations: 0 / 351.4 MB, free: 5.762 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002497/0.004694, allocations: 85.61 kB / 351.5 MB, free: 5.672 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.063e-05/0.004714, allocations: 55.41 kB / 351.5 MB, free: 5.605 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.513e-05/0.004779, allocations: 212.9 kB / 351.7 MB, free: 5.383 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.35e-06/0.004785, allocations: 25.7 kB / 351.8 MB, free: 5.352 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.777e-05/0.004813, allocations: 142.9 kB / 351.9 MB, free: 5.207 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.671e-05/0.004829, allocations: 19.83 kB / 351.9 MB, free: 5.188 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.244e-05/0.004852, allocations: 19.38 kB / 351.9 MB, free: 5.16 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.3e-05/0.004895, allocations: 0.4923 MB / 352.4 MB, free: 4.656 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.001e-05/0.004905, allocations: 7.938 kB / 352.4 MB, free: 4.648 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.059e-05/0.004915, allocations: 12 kB / 352.4 MB, free: 4.637 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.265e-05/0.004938, allocations: 15.69 kB / 352.5 MB, free: 4.617 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.004939, allocations: 0 / 352.5 MB, free: 4.617 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.011e-05/0.004989, allocations: 61.58 kB / 352.5 MB, free: 4.551 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.648e-06/0.004998, allocations: 4 kB / 352.5 MB, free: 4.547 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.005003, allocations: 0 / 352.5 MB, free: 4.547 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/0.005013, allocations: 0 / 352.5 MB, free: 4.547 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.419e-05/0.005047, allocations: 11.98 kB / 352.5 MB, free: 4.535 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.795e-06/0.00505, allocations: 3.938 kB / 352.5 MB, free: 4.531 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.488e-05/0.005065, allocations: 11.95 kB / 352.6 MB, free: 4.52 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.496e-06/0.005068, allocations: 4 kB / 352.6 MB, free: 4.516 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.907e-05/0.005107, allocations: 160.6 kB / 352.7 MB, free: 4.348 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.51e-05/0.005123, allocations: 11.89 kB / 352.7 MB, free: 4.336 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.863e-05/0.005201, allocations: 66.39 kB / 352.8 MB, free: 4.266 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.005202, allocations: 0 / 352.8 MB, free: 4.266 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.005206, allocations: 4 kB / 352.8 MB, free: 4.262 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.00521, allocations: 0 / 352.8 MB, free: 4.262 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000148/0.005358, allocations: 294 kB / 353.1 MB, free: 3.941 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.005359, allocations: 0 / 353.1 MB, free: 3.941 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.106e-05/0.00538, allocations: 12 kB / 353.1 MB, free: 3.93 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.005382, allocations: 4 kB / 353.1 MB, free: 3.926 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.548e-06/0.005386, allocations: 4 kB / 353.1 MB, free: 3.922 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.005388, allocations: 3.984 kB / 353.1 MB, free: 3.918 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.005388, allocations: 0 / 353.1 MB, free: 3.918 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.867e-05/0.005447, allocations: 203.8 kB / 353.3 MB, free: 3.699 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.404e-06/0.005454, allocations: 11.94 kB / 353.3 MB, free: 3.688 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.186e-06/0.005462, allocations: 0 / 353.3 MB, free: 3.688 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.857e-05/0.005491, allocations: 4 kB / 353.3 MB, free: 3.684 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.51e-05/0.005526, allocations: 7.922 kB / 353.3 MB, free: 3.676 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-06/0.005529, allocations: 4 kB / 353.3 MB, free: 3.672 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.202e-05/0.005561, allocations: 150.4 kB / 353.5 MB, free: 3.527 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005561, allocations: 4 kB / 353.5 MB, free: 3.523 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001432/0.005704, allocations: 12 kB / 353.5 MB, free: 3.512 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.0006985/0.006403, allocations: 391.5 kB / 353.9 MB, free: 3.223 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 5.857e-05/0.006461, allocations: 27.67 kB / 353.9 MB, free: 3.191 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.006463, allocations: 0 / 353.9 MB, free: 3.191 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.5e-05/0.006478, allocations: 19.75 kB / 353.9 MB, free: 3.168 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002434/0.006721, allocations: 29.3 kB / 354 MB, free: 3.141 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003126/0.007034, allocations: 166.6 kB / 354.1 MB, free: 2.949 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.582e-05/0.00707, allocations: 63.34 kB / 354.2 MB, free: 2.867 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.174e-05/0.007101, allocations: 8 kB / 354.2 MB, free: 2.859 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.811e-05/0.007159, allocations: 86.19 kB / 354.3 MB, free: 2.773 MB / 282.7 MB Notification: Performance of SimCode: time 5.41e-07/0.00716, allocations: 0 / 354.3 MB, free: 2.773 MB / 282.7 MB Notification: Performance of Templates: time 0.00262/0.00978, allocations: 1.24 MB / 355.5 MB, free: 1.543 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.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: 3.048855999018997]