Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.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.002162/0.002162, allocations: 88.31 kB / 20.96 MB, free: 3.477 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.002612/0.002612, allocations: 161.6 kB / 24.27 MB, free: 172 kB / 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.69/1.69, allocations: 177.2 MB / 204.6 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] 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.3551/0.3551, allocations: 32.79 MB / 293.9 MB, free: 1.223 MB / 266.7 MB " [Timeout remaining time 179] 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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.082e-06/1.082e-06, allocations: 0 / 375.3 MB, free: 4.906 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.799e-05/2.907e-05, allocations: 6.25 kB / 375.4 MB, free: 4.898 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.003901/0.00393, allocations: 1.719 MB / 377.1 MB, free: 3.168 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002136/0.006065, allocations: 0.9626 MB / 378 MB, free: 2.199 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001048/0.00617, allocations: 3.938 kB / 378 MB, free: 2.195 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001923/0.006362, allocations: 35.77 kB / 378.1 MB, free: 2.16 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003475/0.00671, allocations: 103.5 kB / 378.2 MB, free: 2.059 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002723/0.006982, allocations: 79.61 kB / 378.3 MB, free: 1.98 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002429/0.007225, allocations: 107.7 kB / 378.4 MB, free: 1.875 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.451e-05/0.00729, allocations: 8 kB / 378.4 MB, free: 1.867 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001448/0.007434, allocations: 51.77 kB / 378.4 MB, free: 1.816 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.033e-05/0.007505, allocations: 27.91 kB / 378.4 MB, free: 1.789 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.667e-05/0.007521, allocations: 4 kB / 378.4 MB, free: 1.785 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001151/0.007637, allocations: 43.92 kB / 378.5 MB, free: 1.742 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.188e-05/0.007688, allocations: 27.91 kB / 378.5 MB, free: 1.715 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.889e-05/0.007727, allocations: 15.94 kB / 378.5 MB, free: 1.699 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002366/0.007964, allocations: 119.5 kB / 378.7 MB, free: 1.582 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.007972, allocations: 4 kB / 378.7 MB, free: 1.578 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.007972, allocations: 0 / 378.7 MB, free: 1.578 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.007977, allocations: 0 / 378.7 MB, free: 1.578 MB / 346.7 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.000517/0.008494, allocations: 329.7 kB / 379 MB, free: 1.227 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.803e-05/0.008522, allocations: 8.031 kB / 379 MB, free: 1.219 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.897e-05/0.008581, allocations: 20.84 kB / 379 MB, free: 1.199 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003828/0.008964, allocations: 148.5 kB / 379.1 MB, free: 1.031 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-06/0.008974, allocations: 384 / 379.1 MB, free: 1.031 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.008992, allocations: 4.375 kB / 379.2 MB, free: 1.027 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/0.009137, allocations: 66.16 kB / 379.2 MB, free: 0.957 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.009147, allocations: 3.938 kB / 379.2 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.943e-06/0.009154, allocations: 0 / 379.2 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.184e-06/0.009156, allocations: 0 / 379.2 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.774e-05/0.009234, allocations: 23.98 kB / 379.2 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003249/0.009559, allocations: 228.5 kB / 379.5 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001761/0.009735, allocations: 58.62 kB / 379.5 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.32e-05/0.009798, allocations: 24.78 kB / 379.6 MB, free: 0.582 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.004e-05/0.009808, allocations: 0 / 379.6 MB, free: 0.582 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001576/0.009966, allocations: 71.39 kB / 379.6 MB, free: 0.5 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.009967, allocations: 0 / 379.6 MB, free: 0.5 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005363/0.0105, allocations: 181.3 kB / 379.8 MB, free: 324 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.221e-05/0.01056, allocations: 59.33 kB / 379.9 MB, free: 252 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000214/0.01077, allocations: 171 kB / 380 MB, free: 68 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.617e-05/0.0108, allocations: 29.7 kB / 380.1 MB, free: 32 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/0.01092, allocations: 104 kB / 380.2 MB, free: 15.93 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.268e-05/0.01096, allocations: 27.78 kB / 380.2 MB, free: 15.9 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.565e-05/0.01102, allocations: 25.7 kB / 380.2 MB, free: 15.87 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001835/0.0112, allocations: 322.8 kB / 380.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.025e-05/0.01127, allocations: 20 kB / 380.5 MB, free: 15.52 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.302e-05/0.01135, allocations: 41.64 kB / 380.6 MB, free: 15.48 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001413/0.01149, allocations: 65.64 kB / 380.6 MB, free: 15.41 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.71e-07/0.01149, allocations: 0 / 380.6 MB, free: 15.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000237/0.01173, allocations: 109.5 kB / 380.8 MB, free: 15.29 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.01175, allocations: 4 kB / 380.8 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.01175, allocations: 4 kB / 380.8 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.194e-05/0.01177, allocations: 3.984 kB / 380.8 MB, free: 15.28 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.317e-05/0.01187, allocations: 20.02 kB / 380.8 MB, free: 15.26 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.87e-06/0.01187, allocations: 0 / 380.8 MB, free: 15.26 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.106e-05/0.01192, allocations: 4.375 kB / 380.8 MB, free: 15.26 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.01193, allocations: 4 kB / 380.8 MB, free: 15.25 MB / 362.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 (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.0001301/0.01206, allocations: 133.7 kB / 380.9 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.048e-05/0.01209, allocations: 7.953 kB / 380.9 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002938/0.01239, allocations: 126.5 kB / 381.1 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.01239, allocations: 4 kB / 381.1 MB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.0124, allocations: 0 / 381.1 MB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.0124, allocations: 4 kB / 381.1 MB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005455/0.01295, allocations: 346.9 kB / 381.4 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.01295, allocations: 0 / 381.4 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.398e-05/0.01299, allocations: 8 kB / 381.4 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.01299, allocations: 0 / 381.4 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.01301, allocations: 8 kB / 381.4 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.01301, allocations: 0 / 381.4 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.01301, allocations: 0 / 381.4 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003126/0.01332, allocations: 224.2 kB / 381.6 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.896e-05/0.01334, allocations: 3.953 kB / 381.6 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.328e-05/0.01336, allocations: 8.031 kB / 381.6 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.825e-05/0.01344, allocations: 4 kB / 381.6 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.578e-05/0.01349, allocations: 11.92 kB / 381.7 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.879e-05/0.01351, allocations: 4 kB / 381.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001603/0.01367, allocations: 144 kB / 381.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01367, allocations: 0 / 381.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002829/0.01395, allocations: 23.94 kB / 381.8 MB, free: 14.14 MB / 362.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: 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.002303/0.01625, allocations: 495.3 kB / 382.3 MB, free: 13.86 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002148/0.01647, allocations: 59.91 kB / 382.4 MB, free: 13.8 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.01647, allocations: 0 / 382.4 MB, free: 13.8 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.548e-05/0.01655, allocations: 27.98 kB / 382.4 MB, free: 13.78 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004504/0.017, allocations: 35.86 kB / 382.4 MB, free: 13.74 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005834/0.01759, allocations: 225.9 kB / 382.7 MB, free: 13.49 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000108/0.0177, allocations: 85.44 kB / 382.7 MB, free: 13.39 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.434e-05/0.01776, allocations: 21.27 kB / 382.8 MB, free: 13.37 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.921e-05/0.01781, allocations: 20.5 kB / 382.8 MB, free: 13.35 MB / 362.7 MB Notification: Performance of SimCode: time 8.11e-07/0.01781, allocations: 0 / 382.8 MB, free: 13.35 MB / 362.7 MB Notification: Performance of Templates: time 0.005654/0.02346, allocations: 1.872 MB / 384.7 MB, free: 11.5 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.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.961544857011177]