Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.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.0007505/0.0007505, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.000928/0.000928, allocations: 169.1 kB / 24.91 MB, free: 9.191 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 1.04/1.04, allocations: 177.1 MB / 205.3 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] 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.2824/0.2824, allocations: 32.81 MB / 294.6 MB, free: 1.242 MB / 266.7 MB " [Timeout remaining time 180] 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.CombiTable1Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 323.3 MB, free: 9.633 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.572e-05/2.703e-05, allocations: 6.312 kB / 323.3 MB, free: 9.625 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.002363/0.00239, allocations: 1.699 MB / 325 MB, free: 7.914 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007339/0.003124, allocations: 0.5374 MB / 325.5 MB, free: 7.371 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.087e-05/0.003175, allocations: 4 kB / 325.5 MB, free: 7.367 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000221/0.003396, allocations: 71.7 kB / 325.6 MB, free: 7.297 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002402/0.003636, allocations: 107.5 kB / 325.7 MB, free: 7.191 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002226/0.003859, allocations: 91.64 kB / 325.8 MB, free: 7.102 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001437/0.004002, allocations: 87.75 kB / 325.9 MB, free: 7.016 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.444e-05/0.004087, allocations: 15.98 kB / 325.9 MB, free: 7 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.842e-05/0.004155, allocations: 43.83 kB / 325.9 MB, free: 6.957 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.624e-05/0.004241, allocations: 47.94 kB / 326 MB, free: 6.91 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.168e-05/0.004253, allocations: 4 kB / 326 MB, free: 6.906 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.035e-05/0.004333, allocations: 47.91 kB / 326 MB, free: 6.859 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.978e-05/0.004373, allocations: 23.86 kB / 326.1 MB, free: 6.836 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.466e-05/0.004398, allocations: 12.56 kB / 326.1 MB, free: 6.824 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001355/0.004533, allocations: 91.66 kB / 326.2 MB, free: 6.734 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.383e-06/0.004535, allocations: 0 / 326.2 MB, free: 6.734 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.004535, allocations: 4 kB / 326.2 MB, free: 6.73 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.136e-06/0.004539, allocations: 0 / 326.2 MB, free: 6.73 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002774/0.004816, allocations: 317.4 kB / 326.5 MB, free: 6.398 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.811e-05/0.004844, allocations: 8.031 kB / 326.5 MB, free: 6.391 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.637e-05/0.00487, allocations: 12.92 kB / 326.5 MB, free: 6.379 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/0.004996, allocations: 147.4 kB / 326.6 MB, free: 6.207 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.374e-06/0.005003, allocations: 4.375 kB / 326.7 MB, free: 6.203 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.575e-05/0.005019, allocations: 4.375 kB / 326.7 MB, free: 6.199 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.804e-05/0.005097, allocations: 50.95 kB / 326.7 MB, free: 6.141 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.005106, allocations: 4.188 kB / 326.7 MB, free: 6.137 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.252e-06/0.005112, allocations: 8.125 kB / 326.7 MB, free: 6.129 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.526e-06/0.005116, allocations: 0 / 326.7 MB, free: 6.129 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.968e-05/0.005135, allocations: 11.98 kB / 326.7 MB, free: 6.117 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000178/0.005313, allocations: 175 kB / 326.9 MB, free: 5.93 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.862e-05/0.005352, allocations: 26.58 kB / 326.9 MB, free: 5.895 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.4e-05/0.005366, allocations: 12.94 kB / 326.9 MB, free: 5.879 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.231e-05/0.005378, allocations: 4 kB / 326.9 MB, free: 5.875 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.825e-05/0.005396, allocations: 34.5 kB / 327 MB, free: 5.832 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 7.52e-07/0.005397, allocations: 0 / 327 MB, free: 5.832 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.000356/0.005753, allocations: 145.6 kB / 327.1 MB, free: 5.684 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.43e-05/0.005777, allocations: 55.34 kB / 327.2 MB, free: 5.617 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.005881, allocations: 176.8 kB / 327.3 MB, free: 5.43 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.526e-06/0.005889, allocations: 25.7 kB / 327.4 MB, free: 5.398 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.773e-05/0.005927, allocations: 108.7 kB / 327.5 MB, free: 5.289 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.084e-05/0.005948, allocations: 23.8 kB / 327.5 MB, free: 5.266 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.772e-05/0.005975, allocations: 25.7 kB / 327.5 MB, free: 5.234 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.861e-05/0.006064, allocations: 318.8 kB / 327.8 MB, free: 4.914 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.073e-05/0.006075, allocations: 8 kB / 327.8 MB, free: 4.906 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.1e-05/0.006086, allocations: 11.98 kB / 327.9 MB, free: 4.895 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.308e-05/0.006119, allocations: 28.83 kB / 327.9 MB, free: 4.863 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.00612, allocations: 3.938 kB / 327.9 MB, free: 4.859 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 5.912e-05/0.006179, allocations: 61.56 kB / 327.9 MB, free: 4.793 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.006189, allocations: 7.984 kB / 328 MB, free: 4.785 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.006193, allocations: 0 / 328 MB, free: 4.785 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.835e-06/0.006201, allocations: 0 / 328 MB, free: 4.785 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.974e-05/0.00625, allocations: 16.42 kB / 328 MB, free: 4.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.693e-06/0.006252, allocations: 0 / 328 MB, free: 4.77 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.845e-05/0.00627, allocations: 11.92 kB / 328 MB, free: 4.758 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.847e-06/0.006274, allocations: 0 / 328 MB, free: 4.758 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 (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 4.907e-05/0.006323, allocations: 116.7 kB / 328.1 MB, free: 4.633 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.018e-05/0.006343, allocations: 15.92 kB / 328.1 MB, free: 4.617 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.209e-05/0.006436, allocations: 83.38 kB / 328.2 MB, free: 4.527 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.006438, allocations: 3.984 kB / 328.2 MB, free: 4.523 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.083e-06/0.006439, allocations: 0 / 328.2 MB, free: 4.523 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.006441, allocations: 0 / 328.2 MB, free: 4.523 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002023/0.006644, allocations: 247.5 kB / 328.4 MB, free: 4.254 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.006645, allocations: 0 / 328.4 MB, free: 4.254 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.323e-05/0.006678, allocations: 19.98 kB / 328.5 MB, free: 4.234 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.00668, allocations: 4.031 kB / 328.5 MB, free: 4.23 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.348e-06/0.006684, allocations: 0 / 328.5 MB, free: 4.23 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.006685, allocations: 0 / 328.5 MB, free: 4.23 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.006688, allocations: 4 kB / 328.5 MB, free: 4.227 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.782e-05/0.006775, allocations: 164.2 kB / 328.6 MB, free: 4.047 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.199e-05/0.006787, allocations: 19.89 kB / 328.6 MB, free: 4.027 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.498e-06/0.006797, allocations: 0 / 328.6 MB, free: 4.027 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.579e-05/0.006833, allocations: 4 kB / 328.7 MB, free: 4.023 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.918e-05/0.006852, allocations: 3.984 kB / 328.7 MB, free: 4.02 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.808e-06/0.006856, allocations: 4 kB / 328.7 MB, free: 4.016 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.947e-05/0.006895, allocations: 55.64 kB / 328.7 MB, free: 3.957 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006895, allocations: 4 kB / 328.7 MB, free: 3.953 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001345/0.00703, allocations: 16 kB / 328.7 MB, free: 3.938 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 (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.001141/0.008171, allocations: 0.5766 MB / 329.3 MB, free: 3.668 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.238e-05/0.008243, allocations: 40.7 kB / 329.3 MB, free: 3.625 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.008247, allocations: 4 kB / 329.4 MB, free: 3.621 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.393e-05/0.008271, allocations: 28.92 kB / 329.4 MB, free: 3.59 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001457/0.008417, allocations: 20 kB / 329.4 MB, free: 3.57 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002709/0.008688, allocations: 219.7 kB / 329.6 MB, free: 3.324 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.589e-05/0.008724, allocations: 63.34 kB / 329.7 MB, free: 3.242 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.068e-05/0.008754, allocations: 16.78 kB / 329.7 MB, free: 3.227 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.182e-05/0.008806, allocations: 63.36 kB / 329.8 MB, free: 3.164 MB / 298.7 MB Notification: Performance of SimCode: time 3.51e-07/0.008807, allocations: 0 / 329.8 MB, free: 3.164 MB / 298.7 MB Notification: Performance of Templates: time 0.002827/0.01163, allocations: 1.494 MB / 331.2 MB, free: 1.68 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.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.9841256118379533]