Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.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.0007804/0.0007804, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001254/0.002035, allocations: 452 kB / 10.43 MB, free: 264 kB / 10.45 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.0008159/0.0008159, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001065/0.001881, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 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.8915/0.8915, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1545/1.046, allocations: 49.51 MB / 220.7 MB, free: 1.359 MB / 218.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.1294/0.1294, allocations: 32.35 MB / 253.8 MB, free: 228 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02917/0.1585, allocations: 12.3 MB / 266.1 MB, free: 3.891 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.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 267.5 MB, free: 2.48 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.523e-05/2.671e-05, allocations: 2.312 kB / 267.5 MB, free: 2.477 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.003654/0.003681, allocations: 1.735 MB / 269.2 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001059/0.00474, allocations: 0.7881 MB / 270 MB, free: 15.92 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.66e-05/0.004817, allocations: 7.938 kB / 270 MB, free: 15.91 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002685/0.005085, allocations: 71.67 kB / 270.1 MB, free: 15.84 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001463/0.005232, allocations: 63.67 kB / 270.1 MB, free: 15.78 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001629/0.005394, allocations: 91.62 kB / 270.2 MB, free: 15.69 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001589/0.005553, allocations: 99.64 kB / 270.3 MB, free: 15.59 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.269e-05/0.005596, allocations: 0 / 270.3 MB, free: 15.59 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001276/0.005724, allocations: 79.81 kB / 270.4 MB, free: 15.52 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.331e-05/0.005817, allocations: 35.89 kB / 270.4 MB, free: 15.48 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.81e-05/0.005835, allocations: 8 kB / 270.5 MB, free: 15.47 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.82e-05/0.005903, allocations: 35.88 kB / 270.5 MB, free: 15.44 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.493e-05/0.005948, allocations: 19.92 kB / 270.5 MB, free: 15.42 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.064e-05/0.005979, allocations: 11.94 kB / 270.5 MB, free: 15.41 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001511/0.00613, allocations: 75.69 kB / 270.6 MB, free: 15.33 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.431e-05/0.006144, allocations: 0 / 270.6 MB, free: 15.33 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.006146, allocations: 7.938 kB / 270.6 MB, free: 15.32 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.042e-05/0.006157, allocations: 0 / 270.6 MB, free: 15.32 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004307/0.006587, allocations: 324 kB / 270.9 MB, free: 14.98 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.006621, allocations: 8.031 kB / 270.9 MB, free: 14.98 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.169e-05/0.006652, allocations: 12.88 kB / 270.9 MB, free: 14.96 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001547/0.006807, allocations: 137.6 kB / 271.1 MB, free: 14.8 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.006825, allocations: 384 / 271.1 MB, free: 14.8 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.078e-05/0.006835, allocations: 4.375 kB / 271.1 MB, free: 14.8 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001127/0.006948, allocations: 61.77 kB / 271.1 MB, free: 14.73 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.006957, allocations: 3.938 kB / 271.1 MB, free: 14.73 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.194e-06/0.006964, allocations: 0 / 271.1 MB, free: 14.73 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.00697, allocations: 0 / 271.1 MB, free: 14.73 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.173e-05/0.006992, allocations: 4 kB / 271.1 MB, free: 14.72 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001068/0.007098, allocations: 82.61 kB / 271.2 MB, free: 14.62 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.118e-05/0.00719, allocations: 45.36 kB / 271.3 MB, free: 14.57 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.127e-05/0.007211, allocations: 8.859 kB / 271.3 MB, free: 14.56 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.35e-05/0.007224, allocations: 4 kB / 271.3 MB, free: 14.55 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001081/0.007332, allocations: 58.22 kB / 271.3 MB, free: 14.48 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 8.52e-07/0.007333, allocations: 0 / 271.3 MB, free: 14.48 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001346/0.007468, allocations: 61.8 kB / 271.4 MB, free: 14.42 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.556e-05/0.007503, allocations: 59.34 kB / 271.5 MB, free: 14.35 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.007606, allocations: 164.3 kB / 271.6 MB, free: 14.17 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.007621, allocations: 25.7 kB / 271.6 MB, free: 14.14 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.912e-05/0.00765, allocations: 100.1 kB / 271.7 MB, free: 14.04 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.391e-05/0.007684, allocations: 15.91 kB / 271.8 MB, free: 14.02 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.763e-05/0.007712, allocations: 13.72 kB / 271.8 MB, free: 14 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.015e-05/0.007802, allocations: 334.7 kB / 272.1 MB, free: 13.67 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.533e-05/0.007817, allocations: 6.828 kB / 272.1 MB, free: 13.66 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.399e-05/0.007841, allocations: 29.75 kB / 272.1 MB, free: 13.62 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.197e-05/0.007883, allocations: 35.3 kB / 272.2 MB, free: 13.58 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.007886, allocations: 0 / 272.2 MB, free: 13.58 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.451e-05/0.00795, allocations: 56.52 kB / 272.2 MB, free: 13.52 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.007963, allocations: 4 kB / 272.2 MB, free: 13.52 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.007968, allocations: 0 / 272.2 MB, free: 13.52 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.007984, allocations: 7.984 kB / 272.2 MB, free: 13.51 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.811e-05/0.008052, allocations: 19.88 kB / 272.3 MB, free: 13.49 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.046e-06/0.008055, allocations: 0 / 272.3 MB, free: 13.49 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.677e-05/0.008082, allocations: 4 kB / 272.3 MB, free: 13.48 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.747e-06/0.008085, allocations: 0 / 272.3 MB, free: 13.48 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 6.853e-05/0.008154, allocations: 120.6 kB / 272.4 MB, free: 13.36 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.052e-05/0.008164, allocations: 8 kB / 272.4 MB, free: 13.35 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.526e-05/0.00826, allocations: 70.11 kB / 272.4 MB, free: 13.28 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.008261, allocations: 0 / 272.4 MB, free: 13.28 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.008264, allocations: 3.938 kB / 272.5 MB, free: 13.27 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.008267, allocations: 0 / 272.5 MB, free: 13.27 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.585e-05/0.008343, allocations: 85.77 kB / 272.5 MB, free: 13.17 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-07/0.008344, allocations: 0 / 272.5 MB, free: 13.17 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.056e-05/0.008364, allocations: 11.98 kB / 272.5 MB, free: 13.16 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.166e-05/0.008376, allocations: 3.953 kB / 272.6 MB, free: 13.16 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.008379, allocations: 4 kB / 272.6 MB, free: 13.15 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.608e-06/0.008383, allocations: 0 / 272.6 MB, free: 13.15 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-07/0.008384, allocations: 128 / 272.6 MB, free: 13.15 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.008388, allocations: 11.94 kB / 272.6 MB, free: 13.14 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.081e-05/0.008458, allocations: 86.75 kB / 272.7 MB, free: 13.04 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.37e-05/0.008472, allocations: 4 kB / 272.7 MB, free: 13.03 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.644e-05/0.008489, allocations: 0 / 272.7 MB, free: 13.03 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.933e-05/0.008518, allocations: 15.92 kB / 272.7 MB, free: 13.02 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.406e-06/0.008526, allocations: 0 / 272.7 MB, free: 13.02 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.104e-05/0.008567, allocations: 52.39 kB / 272.7 MB, free: 12.96 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008567, allocations: 0 / 272.7 MB, free: 12.96 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001101/0.008678, allocations: 16 kB / 272.7 MB, free: 12.95 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001118/0.009795, allocations: 0.5622 MB / 273.3 MB, free: 12.37 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.955e-05/0.009875, allocations: 24.84 kB / 273.3 MB, free: 12.34 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.238e-06/0.009884, allocations: 7.984 kB / 273.3 MB, free: 12.34 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.067e-05/0.009915, allocations: 20.84 kB / 273.4 MB, free: 12.31 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001763/0.01009, allocations: 164.5 kB / 273.5 MB, free: 12.12 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000404/0.01049, allocations: 193.3 kB / 273.7 MB, free: 11.91 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.42e-05/0.01053, allocations: 67.33 kB / 273.8 MB, free: 11.82 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.67e-05/0.01056, allocations: 12.58 kB / 273.8 MB, free: 11.81 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.658e-05/0.01061, allocations: 67.36 kB / 273.8 MB, free: 11.74 MB / 282.7 MB Notification: Performance of SimCode: time 4.3e-07/0.01061, allocations: 3.938 kB / 273.9 MB, free: 11.74 MB / 282.7 MB Notification: Performance of Templates: time 0.003096/0.01371, allocations: 1.789 MB / 275.6 MB, free: 9.945 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.674557383172214]