Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.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.001474/0.001474, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001528/0.001528, allocations: 215.7 kB / 23.75 MB, free: 4.668 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.575/1.575, allocations: 230.6 MB / 257.5 MB, free: 8.016 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.266/0.266, allocations: 46.94 MB / 360.9 MB, free: 4.27 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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003588/0.003588, allocations: 71.89 kB / 0.4967 GB, free: 7.355 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4234/0.427, allocations: 66.03 MB / 0.5612 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.004046/0.4311, allocations: 1.96 MB / 0.5631 GB, free: 2.449 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002062/0.4331, allocations: 1.088 MB / 0.5642 GB, free: 1.355 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001106/0.4332, allocations: 3.938 kB / 0.5642 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003447/0.4336, allocations: 43.7 kB / 0.5642 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004342/0.434, allocations: 103.5 kB / 0.5643 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002496/0.4343, allocations: 95.72 kB / 0.5644 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002502/0.4345, allocations: 155.5 kB / 0.5645 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.4346, allocations: 25.39 kB / 0.5646 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001341/0.4348, allocations: 55.72 kB / 0.5646 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001288/0.4349, allocations: 55.7 kB / 0.5647 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.229e-05/0.4349, allocations: 11.94 kB / 0.5647 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001099/0.435, allocations: 47.92 kB / 0.5647 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.939e-05/0.4351, allocations: 23.92 kB / 0.5648 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.948e-05/0.4352, allocations: 59.59 kB / 0.5648 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002852/0.4355, allocations: 146.1 kB / 0.5649 GB, free: 0.543 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.4355, allocations: 0 / 0.5649 GB, free: 0.543 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4355, allocations: 8 kB / 0.565 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.4355, allocations: 0 / 0.565 GB, free: 0.5352 MB / 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.0007265/0.4362, allocations: 415 kB / 0.5654 GB, free: 96 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.4363, allocations: 8.031 kB / 0.5654 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.166e-05/0.4363, allocations: 20.84 kB / 0.5654 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003733/0.4367, allocations: 175 kB / 0.5655 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.4367, allocations: 4.375 kB / 0.5655 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.09e-05/0.4367, allocations: 16.12 kB / 0.5656 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002452/0.437, allocations: 107 kB / 0.5657 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.437, allocations: 0 / 0.5657 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.559e-05/0.437, allocations: 4 kB / 0.5657 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.437, allocations: 4 kB / 0.5657 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001594/0.4372, allocations: 51.89 kB / 0.5657 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006609/0.4378, allocations: 488.1 kB / 0.5662 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003469/0.4382, allocations: 82.61 kB / 0.5663 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/0.4383, allocations: 40.83 kB / 0.5663 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.449e-05/0.4383, allocations: 0 / 0.5663 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002112/0.4385, allocations: 83.38 kB / 0.5664 GB, free: 14.92 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.633e-06/0.4385, allocations: 0 / 0.5664 GB, free: 14.92 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004242/0.4389, allocations: 145.5 kB / 0.5665 GB, free: 14.77 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.242e-05/0.439, allocations: 63.28 kB / 0.5666 GB, free: 14.7 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002311/0.4392, allocations: 203.1 kB / 0.5668 GB, free: 14.49 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.688e-05/0.4393, allocations: 30.08 kB / 0.5668 GB, free: 14.45 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.156e-05/0.4394, allocations: 116.1 kB / 0.5669 GB, free: 14.34 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.478e-05/0.4394, allocations: 31.73 kB / 0.5669 GB, free: 14.3 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.84e-05/0.4394, allocations: 25.72 kB / 0.567 GB, free: 14.27 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.4396, allocations: 326.8 kB / 0.5673 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.571e-05/0.4397, allocations: 35.97 kB / 0.5673 GB, free: 13.91 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001141/0.4398, allocations: 60.28 kB / 0.5674 GB, free: 13.84 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002119/0.44, allocations: 100.2 kB / 0.5675 GB, free: 13.72 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.44, allocations: 0 / 0.5675 GB, free: 13.72 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002938/0.4403, allocations: 137.4 kB / 0.5676 GB, free: 13.58 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.4403, allocations: 4 kB / 0.5676 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.4403, allocations: 4 kB / 0.5676 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.4404, allocations: 7.922 kB / 0.5676 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.4405, allocations: 32.05 kB / 0.5676 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.4405, allocations: 0 / 0.5676 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.898e-05/0.4405, allocations: 7.953 kB / 0.5677 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.237e-05/0.4406, allocations: 8 kB / 0.5677 GB, free: 13.52 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.0001327/0.4407, allocations: 140.1 kB / 0.5678 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.921e-05/0.4407, allocations: 15.91 kB / 0.5678 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003213/0.441, allocations: 127 kB / 0.5679 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.441, allocations: 3.938 kB / 0.5679 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.4411, allocations: 4 kB / 0.5679 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.4411, allocations: 4 kB / 0.5679 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001971/0.4413, allocations: 180.7 kB / 0.5681 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.4413, allocations: 192 / 0.5681 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.571e-05/0.4413, allocations: 11.98 kB / 0.5681 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.4413, allocations: 7.938 kB / 0.5681 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.583e-05/0.4414, allocations: 7.938 kB / 0.5681 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.4414, allocations: 3.938 kB / 0.5681 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.4414, allocations: 0 / 0.5681 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003962/0.4418, allocations: 184.9 kB / 0.5683 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.762e-05/0.4418, allocations: 11.94 kB / 0.5683 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.738e-05/0.4418, allocations: 8 kB / 0.5683 GB, free: 12.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.299e-05/0.4419, allocations: 7.938 kB / 0.5684 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.889e-05/0.4419, allocations: 3.984 kB / 0.5684 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.182e-05/0.4419, allocations: 11.98 kB / 0.5684 GB, free: 12.72 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001463/0.4421, allocations: 139.3 kB / 0.5685 GB, free: 12.59 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4421, allocations: 4 kB / 0.5685 GB, free: 12.58 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002378/0.4423, allocations: 27.94 kB / 0.5685 GB, free: 12.55 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 (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.001534/0.4439, allocations: 411.9 kB / 0.5689 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000252/0.4441, allocations: 71.89 kB / 0.569 GB, free: 12.23 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.4441, allocations: 4 kB / 0.569 GB, free: 12.23 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001099/0.4442, allocations: 36.17 kB / 0.569 GB, free: 12.19 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003058/0.4445, allocations: 42.22 kB / 0.5691 GB, free: 12.15 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005668/0.4451, allocations: 271.4 kB / 0.5693 GB, free: 11.86 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003738/0.4455, allocations: 0.7161 MB / 0.57 GB, free: 11.12 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.803e-05/0.4455, allocations: 25.41 kB / 0.5701 GB, free: 11.09 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.137e-05/0.4456, allocations: 15.44 kB / 0.5701 GB, free: 11.08 MB / 414.1 MB Notification: Performance of SimCode: time 3.8e-07/0.4456, allocations: 0 / 0.5701 GB, free: 11.08 MB / 414.1 MB Notification: Performance of Templates: time 0.005654/0.4512, allocations: 1.954 MB / 0.572 GB, free: 9.141 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.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: 5.499360464978963]