Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.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.001245/0.001245, allocations: 84.69 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001328/0.001328, allocations: 164.9 kB / 23.95 MB, free: 4.168 MB / 14.72 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.402/1.402, allocations: 177.2 MB / 204.3 MB, free: 9.172 MB / 190.1 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.1967/0.1967, allocations: 32.81 MB / 293.5 MB, free: 28 kB / 270.1 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.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 440.2 MB, free: 8.074 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.706e-05/2.87e-05, allocations: 5.234 kB / 440.2 MB, free: 8.07 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.003045/0.003074, allocations: 1.716 MB / 441.9 MB, free: 6.34 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001772/0.004846, allocations: 0.9664 MB / 442.9 MB, free: 5.367 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.427e-05/0.00492, allocations: 4 kB / 442.9 MB, free: 5.363 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003278/0.005248, allocations: 87.62 kB / 442.9 MB, free: 5.277 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003714/0.005619, allocations: 119.4 kB / 443.1 MB, free: 5.16 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002017/0.005821, allocations: 75.61 kB / 443.1 MB, free: 5.086 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002067/0.006028, allocations: 123.7 kB / 443.3 MB, free: 4.965 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.646e-05/0.006114, allocations: 4 kB / 443.3 MB, free: 4.961 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001202/0.006234, allocations: 67.75 kB / 443.3 MB, free: 4.895 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001129/0.006347, allocations: 55.86 kB / 443.4 MB, free: 4.84 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.051e-05/0.006368, allocations: 8 kB / 443.4 MB, free: 4.832 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.907e-05/0.006467, allocations: 47.92 kB / 443.4 MB, free: 4.785 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.808e-05/0.006535, allocations: 27.86 kB / 443.5 MB, free: 4.758 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.476e-05/0.00658, allocations: 19.92 kB / 443.5 MB, free: 4.738 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002356/0.006815, allocations: 123.5 kB / 443.6 MB, free: 4.617 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.006819, allocations: 0 / 443.6 MB, free: 4.617 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.11e-07/0.00682, allocations: 0 / 443.6 MB, free: 4.617 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.258e-06/0.00683, allocations: 0 / 443.6 MB, free: 4.617 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005925/0.007422, allocations: 353.5 kB / 444 MB, free: 4.242 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.00746, allocations: 12.03 kB / 444 MB, free: 4.23 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.877e-05/0.007509, allocations: 16.84 kB / 444 MB, free: 4.215 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002377/0.007746, allocations: 153.5 kB / 444.1 MB, free: 4.039 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.947e-06/0.007755, allocations: 384 / 444.1 MB, free: 4.039 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.844e-05/0.007784, allocations: 12.36 kB / 444.1 MB, free: 4.027 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/0.007932, allocations: 54.23 kB / 444.2 MB, free: 3.969 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.007946, allocations: 3.938 kB / 444.2 MB, free: 3.965 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.007957, allocations: 4 kB / 444.2 MB, free: 3.961 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.007962, allocations: 0 / 444.2 MB, free: 3.961 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.983e-05/0.008041, allocations: 19.98 kB / 444.2 MB, free: 3.941 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000352/0.008394, allocations: 236.5 kB / 444.5 MB, free: 3.68 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001818/0.008575, allocations: 62.67 kB / 444.5 MB, free: 3.609 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.302e-05/0.008638, allocations: 28.72 kB / 444.5 MB, free: 3.578 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.357e-05/0.008652, allocations: 0 / 444.5 MB, free: 3.578 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001443/0.008796, allocations: 67.39 kB / 444.6 MB, free: 3.5 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.008798, allocations: 0 / 444.6 MB, free: 3.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006105/0.009408, allocations: 189.3 kB / 444.8 MB, free: 3.309 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.999e-05/0.009448, allocations: 51.41 kB / 444.8 MB, free: 3.246 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002366/0.009685, allocations: 231.5 kB / 445.1 MB, free: 3.004 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.009704, allocations: 29.7 kB / 445.1 MB, free: 2.969 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.555e-05/0.00978, allocations: 119.9 kB / 445.2 MB, free: 2.848 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.239e-05/0.009812, allocations: 23.81 kB / 445.2 MB, free: 2.824 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.417e-05/0.009856, allocations: 25.7 kB / 445.3 MB, free: 2.793 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.009996, allocations: 322.8 kB / 445.6 MB, free: 2.469 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.245e-05/0.01006, allocations: 23.98 kB / 445.6 MB, free: 2.445 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.622e-05/0.01013, allocations: 37.7 kB / 445.6 MB, free: 2.402 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001275/0.01026, allocations: 61.64 kB / 445.7 MB, free: 2.336 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.01026, allocations: 4 kB / 445.7 MB, free: 2.332 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001951/0.01046, allocations: 101.6 kB / 445.8 MB, free: 2.227 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.01047, allocations: 4 kB / 445.8 MB, free: 2.223 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.01048, allocations: 0 / 445.8 MB, free: 2.223 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.01049, allocations: 0 / 445.8 MB, free: 2.223 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.57e-05/0.01059, allocations: 27.92 kB / 445.8 MB, free: 2.195 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.987e-06/0.01059, allocations: 0 / 445.8 MB, free: 2.195 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.559e-05/0.01064, allocations: 3.953 kB / 445.8 MB, free: 2.191 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.01065, allocations: 4 kB / 445.8 MB, free: 2.188 MB / 366.1 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 (10): * Single equations (assignments): 10 * 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 0.0001118/0.01076, allocations: 138.9 kB / 446 MB, free: 2.043 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.421e-05/0.01078, allocations: 15.98 kB / 446 MB, free: 2.027 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002646/0.01105, allocations: 123 kB / 446.1 MB, free: 1.902 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.01105, allocations: 0 / 446.1 MB, free: 1.902 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.01105, allocations: 0 / 446.1 MB, free: 1.902 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.01106, allocations: 4 kB / 446.1 MB, free: 1.898 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004487/0.01151, allocations: 355.2 kB / 446.5 MB, free: 1.512 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.01151, allocations: 4 kB / 446.5 MB, free: 1.508 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.952e-05/0.01155, allocations: 8.375 kB / 446.5 MB, free: 1.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.01155, allocations: 3.938 kB / 446.5 MB, free: 1.496 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.327e-06/0.01156, allocations: 0 / 446.5 MB, free: 1.496 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.187e-06/0.01157, allocations: 12.03 kB / 446.5 MB, free: 1.484 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.01157, allocations: 0 / 446.5 MB, free: 1.484 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002709/0.01184, allocations: 220.2 kB / 446.7 MB, free: 1.25 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.128e-05/0.01187, allocations: 11.89 kB / 446.7 MB, free: 1.238 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.644e-05/0.01189, allocations: 4 kB / 446.7 MB, free: 1.234 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.374e-05/0.01197, allocations: 4 kB / 446.7 MB, free: 1.23 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.779e-05/0.012, allocations: 7.984 kB / 446.7 MB, free: 1.223 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.679e-05/0.01202, allocations: 4 kB / 446.7 MB, free: 1.219 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001537/0.01217, allocations: 177.1 kB / 446.9 MB, free: 1.047 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.01217, allocations: 7.875 kB / 446.9 MB, free: 1.039 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002632/0.01244, allocations: 28 kB / 446.9 MB, free: 1.012 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 7 * 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.001807/0.01424, allocations: 488.4 kB / 447.4 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001911/0.01444, allocations: 67.89 kB / 447.5 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.01444, allocations: 0 / 447.5 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.919e-05/0.01452, allocations: 31.98 kB / 447.5 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003419/0.01486, allocations: 38.7 kB / 447.6 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004907/0.01535, allocations: 250.5 kB / 447.8 MB, free: 340 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.566e-05/0.01544, allocations: 100.8 kB / 447.9 MB, free: 220 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.68e-05/0.01549, allocations: 17.09 kB / 447.9 MB, free: 204 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.144e-05/0.01553, allocations: 20.48 kB / 447.9 MB, free: 184 kB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.01553, allocations: 0 / 447.9 MB, free: 184 kB / 366.1 MB Notification: Performance of Templates: time 0.1614/0.177, allocations: 1.851 MB / 449.8 MB, free: 21.18 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.583957992494106]