Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.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.001682/0.001682, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001853/0.001853, allocations: 213.2 kB / 24.48 MB, free: 3.84 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.5/1.5, allocations: 230.6 MB / 258.2 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2863/0.2863, allocations: 46.96 MB / 361.6 MB, free: 4.078 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003299/0.003299, allocations: 67.83 kB / 0.4974 GB, free: 7.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3441/0.3474, allocations: 66.02 MB / 0.5619 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003594/0.351, allocations: 1.906 MB / 0.5637 GB, free: 2.285 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001875/0.3529, allocations: 1.007 MB / 0.5647 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001017/0.353, allocations: 11.94 kB / 0.5647 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003222/0.3533, allocations: 39.72 kB / 0.5648 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003546/0.3536, allocations: 103.5 kB / 0.5649 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002227/0.3539, allocations: 95.7 kB / 0.565 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002385/0.3541, allocations: 147.5 kB / 0.5651 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.3542, allocations: 24.39 kB / 0.5651 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001023/0.3543, allocations: 59.72 kB / 0.5652 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001058/0.3544, allocations: 43.72 kB / 0.5652 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.437e-05/0.3545, allocations: 4 kB / 0.5652 GB, free: 0.75 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001199/0.3546, allocations: 59.91 kB / 0.5653 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.1e-05/0.3546, allocations: 31.86 kB / 0.5653 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.041e-05/0.3547, allocations: 39.73 kB / 0.5653 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002764/0.355, allocations: 155 kB / 0.5655 GB, free: 484 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.355, allocations: 0 / 0.5655 GB, free: 484 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.355, allocations: 0 / 0.5655 GB, free: 484 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.355, allocations: 0 / 0.5655 GB, free: 484 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006782/0.3557, allocations: 415 kB / 0.5659 GB, free: 32 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.3557, allocations: 12.03 kB / 0.5659 GB, free: 20 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.373e-05/0.3558, allocations: 16.84 kB / 0.5659 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003288/0.3561, allocations: 171.1 kB / 0.5661 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.3561, allocations: 4.375 kB / 0.5661 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.083e-05/0.3562, allocations: 16.11 kB / 0.5661 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002613/0.3564, allocations: 133.9 kB / 0.5662 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.3564, allocations: 0 / 0.5662 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/0.3564, allocations: 7.938 kB / 0.5662 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.3564, allocations: 4 kB / 0.5662 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001559/0.3566, allocations: 43.91 kB / 0.5663 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006086/0.3572, allocations: 456.7 kB / 0.5667 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003367/0.3575, allocations: 82.61 kB / 0.5668 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001/0.3576, allocations: 36.83 kB / 0.5668 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.686e-05/0.3577, allocations: 7.984 kB / 0.5668 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000216/0.3579, allocations: 113 kB / 0.5669 GB, free: 14.83 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.342e-06/0.3579, allocations: 0 / 0.5669 GB, free: 14.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004063/0.3583, allocations: 153.5 kB / 0.5671 GB, free: 14.68 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.333e-05/0.3583, allocations: 55.34 kB / 0.5671 GB, free: 14.61 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002183/0.3586, allocations: 211 kB / 0.5673 GB, free: 14.39 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.982e-05/0.3586, allocations: 29.7 kB / 0.5674 GB, free: 14.36 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.125e-05/0.3587, allocations: 116.1 kB / 0.5675 GB, free: 14.24 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.247e-05/0.3587, allocations: 31.73 kB / 0.5675 GB, free: 14.21 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.22e-05/0.3588, allocations: 29.7 kB / 0.5675 GB, free: 14.18 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.3589, allocations: 322.8 kB / 0.5679 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.418e-05/0.359, allocations: 31.98 kB / 0.5679 GB, free: 13.82 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001129/0.3591, allocations: 68.27 kB / 0.5679 GB, free: 13.74 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002109/0.3594, allocations: 96.2 kB / 0.568 GB, free: 13.63 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3594, allocations: 0 / 0.568 GB, free: 13.63 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002974/0.3597, allocations: 141.5 kB / 0.5682 GB, free: 13.48 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.3597, allocations: 8 kB / 0.5682 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.3597, allocations: 480 / 0.5682 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.3597, allocations: 4 kB / 0.5682 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/0.3598, allocations: 23.92 kB / 0.5682 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/0.3598, allocations: 11.94 kB / 0.5682 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.06e-05/0.3599, allocations: 15.94 kB / 0.5682 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.3599, allocations: 7.938 kB / 0.5682 GB, free: 13.41 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001217/0.36, allocations: 129.7 kB / 0.5684 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.03e-05/0.36, allocations: 19.97 kB / 0.5684 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003193/0.3604, allocations: 135 kB / 0.5685 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.3604, allocations: 0 / 0.5685 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.405e-06/0.3604, allocations: 7.922 kB / 0.5685 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.3604, allocations: 0 / 0.5685 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001745/0.3605, allocations: 153.2 kB / 0.5687 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.3605, allocations: 0 / 0.5687 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.753e-05/0.3606, allocations: 12 kB / 0.5687 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.3606, allocations: 0 / 0.5687 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.3606, allocations: 4 kB / 0.5687 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.029e-06/0.3606, allocations: 7.984 kB / 0.5687 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3606, allocations: 0 / 0.5687 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004221/0.3611, allocations: 192.9 kB / 0.5689 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.859e-05/0.3611, allocations: 15.92 kB / 0.5689 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.573e-05/0.3611, allocations: 4 kB / 0.5689 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.298e-05/0.3612, allocations: 4 kB / 0.5689 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.853e-05/0.3612, allocations: 7.984 kB / 0.5689 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.938e-05/0.3612, allocations: 7.938 kB / 0.5689 GB, free: 12.66 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00015/0.3614, allocations: 151.3 kB / 0.5691 GB, free: 12.51 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3614, allocations: 0 / 0.5691 GB, free: 12.51 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002404/0.3616, allocations: 35.92 kB / 0.5691 GB, free: 12.48 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.001632/0.3633, allocations: 442.1 kB / 0.5695 GB, free: 12.23 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002552/0.3635, allocations: 79.89 kB / 0.5696 GB, free: 12.15 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3635, allocations: 0 / 0.5696 GB, free: 12.15 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001061/0.3636, allocations: 36.17 kB / 0.5696 GB, free: 12.11 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003148/0.3639, allocations: 44.09 kB / 0.5697 GB, free: 12.07 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005992/0.3645, allocations: 309 kB / 0.57 GB, free: 11.73 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001198/0.3647, allocations: 109.8 kB / 0.5701 GB, free: 11.6 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.678e-05/0.3647, allocations: 15.44 kB / 0.5701 GB, free: 11.59 MB / 414.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3647, allocations: 0 / 0.5701 GB, free: 11.59 MB / 414.1 MB Notification: Performance of Templates: time 0.00462/0.3693, allocations: 2.267 MB / 0.5723 GB, free: 9.328 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.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: 8.468717934098095]