Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008725/0.0008725, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001629/0.002502, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009436/0.0009436, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001149/0.002092, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9386/0.9386, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.17/1.109, allocations: 52.5 MB / 238.5 MB, free: 7.629 MB / 234.7 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.1387/0.1387, allocations: 32.79 MB / 272 MB, free: 6.301 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02129/0.16, allocations: 12.54 MB / 284.5 MB, free: 9.715 MB / 282.7 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.0_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 285.9 MB, free: 8.344 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.712e-05/1.895e-05, allocations: 5.406 kB / 285.9 MB, free: 8.34 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.003268/0.003287, allocations: 1.992 MB / 287.9 MB, free: 6.34 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001584/0.004871, allocations: 0.9193 MB / 288.8 MB, free: 5.414 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001199/0.004991, allocations: 4 kB / 288.8 MB, free: 5.41 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002591/0.00525, allocations: 39.66 kB / 288.9 MB, free: 5.371 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002048/0.005455, allocations: 63.56 kB / 288.9 MB, free: 5.309 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003689/0.005824, allocations: 135.5 kB / 289.1 MB, free: 5.176 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002507/0.006074, allocations: 139.5 kB / 289.2 MB, free: 5.039 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.00618, allocations: 22.27 kB / 289.2 MB, free: 5.016 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001766/0.006356, allocations: 100.5 kB / 289.3 MB, free: 4.918 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001084/0.006465, allocations: 39.83 kB / 289.4 MB, free: 4.879 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.432e-05/0.006489, allocations: 8 kB / 289.4 MB, free: 4.871 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001089/0.006598, allocations: 51.86 kB / 289.4 MB, free: 4.82 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.644e-05/0.006654, allocations: 23.86 kB / 289.5 MB, free: 4.797 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.913e-05/0.006704, allocations: 23.94 kB / 289.5 MB, free: 4.773 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000233/0.006937, allocations: 111.6 kB / 289.6 MB, free: 4.664 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.136e-05/0.006948, allocations: 4 kB / 289.6 MB, free: 4.66 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.006949, allocations: 3.938 kB / 289.6 MB, free: 4.656 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.358e-06/0.006958, allocations: 0 / 289.6 MB, free: 4.656 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006/0.007558, allocations: 405.3 kB / 290 MB, free: 4.23 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.007595, allocations: 12.03 kB / 290 MB, free: 4.219 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.109e-05/0.007646, allocations: 12.92 kB / 290 MB, free: 4.207 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002386/0.007885, allocations: 157.5 kB / 290.2 MB, free: 4.027 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.119e-05/0.007906, allocations: 8.375 kB / 290.2 MB, free: 4.02 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.218e-05/0.007938, allocations: 20.05 kB / 290.2 MB, free: 4 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002122/0.00815, allocations: 133.4 kB / 290.3 MB, free: 3.844 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.00816, allocations: 0 / 290.3 MB, free: 3.844 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.008171, allocations: 0 / 290.3 MB, free: 3.844 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.008178, allocations: 4 kB / 290.3 MB, free: 3.84 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.537e-05/0.008234, allocations: 22.75 kB / 290.4 MB, free: 3.816 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004292/0.008663, allocations: 378.1 kB / 290.7 MB, free: 3.422 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002168/0.00888, allocations: 109.2 kB / 290.8 MB, free: 3.305 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.68e-05/0.008917, allocations: 24.84 kB / 290.9 MB, free: 3.277 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.217e-05/0.008929, allocations: 0 / 290.9 MB, free: 3.277 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001446/0.009073, allocations: 95.91 kB / 290.9 MB, free: 3.164 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.463e-06/0.009075, allocations: 0 / 290.9 MB, free: 3.164 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.000177/0.009252, allocations: 69.61 kB / 291 MB, free: 3.09 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.152e-05/0.009283, allocations: 55.41 kB / 291.1 MB, free: 3.023 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000149/0.009432, allocations: 182.5 kB / 291.2 MB, free: 2.828 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.983e-05/0.009452, allocations: 25.7 kB / 291.3 MB, free: 2.797 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.209e-05/0.009514, allocations: 108 kB / 291.4 MB, free: 2.688 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.796e-05/0.009542, allocations: 35.77 kB / 291.4 MB, free: 2.652 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.131e-05/0.009594, allocations: 33.66 kB / 291.4 MB, free: 2.613 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.009701, allocations: 330.7 kB / 291.8 MB, free: 2.281 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.912e-05/0.00974, allocations: 10.83 kB / 291.8 MB, free: 2.27 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.289e-05/0.009793, allocations: 48.27 kB / 291.8 MB, free: 2.207 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.545e-05/0.009888, allocations: 69.84 kB / 291.9 MB, free: 2.121 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.009892, allocations: 0 / 291.9 MB, free: 2.121 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001474/0.01004, allocations: 96.36 kB / 292 MB, free: 2.02 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.01005, allocations: 4 kB / 292 MB, free: 2.016 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.01006, allocations: 0 / 292 MB, free: 2.016 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.01007, allocations: 4 kB / 292 MB, free: 2.012 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.01018, allocations: 31.86 kB / 292 MB, free: 1.98 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.01018, allocations: 0 / 292 MB, free: 1.98 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.319e-05/0.01025, allocations: 11.94 kB / 292 MB, free: 1.969 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.01026, allocations: 7.938 kB / 292 MB, free: 1.961 MB / 282.7 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 8.669e-05/0.01034, allocations: 120.8 kB / 292.2 MB, free: 1.832 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.432e-05/0.01037, allocations: 11.98 kB / 292.2 MB, free: 1.82 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001379/0.01051, allocations: 79.53 kB / 292.3 MB, free: 1.738 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.01051, allocations: 4 kB / 292.3 MB, free: 1.734 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-06/0.01051, allocations: 0 / 292.3 MB, free: 1.734 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.01052, allocations: 0 / 292.3 MB, free: 1.734 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001158/0.01063, allocations: 109.7 kB / 292.4 MB, free: 1.609 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.01063, allocations: 0 / 292.4 MB, free: 1.609 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.712e-05/0.01071, allocations: 19.94 kB / 292.4 MB, free: 1.59 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.883e-05/0.01073, allocations: 7.953 kB / 292.4 MB, free: 1.582 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.01073, allocations: 3.984 kB / 292.4 MB, free: 1.578 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.01074, allocations: 4 kB / 292.4 MB, free: 1.574 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.01075, allocations: 4 kB / 292.4 MB, free: 1.57 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.01075, allocations: 0 / 292.4 MB, free: 1.57 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001713/0.01092, allocations: 118.6 kB / 292.5 MB, free: 1.434 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.077e-05/0.01094, allocations: 4 kB / 292.5 MB, free: 1.43 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.294e-05/0.01099, allocations: 11.98 kB / 292.5 MB, free: 1.418 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.242e-05/0.01102, allocations: 3.984 kB / 292.5 MB, free: 1.414 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.554e-05/0.01104, allocations: 8 kB / 292.5 MB, free: 1.406 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.728e-05/0.01111, allocations: 57.55 kB / 292.6 MB, free: 1.348 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01111, allocations: 0 / 292.6 MB, free: 1.348 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002128/0.01132, allocations: 31.98 kB / 292.6 MB, free: 1.316 MB / 282.7 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.001746/0.01307, allocations: 0.5548 MB / 293.2 MB, free: 1.031 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001313/0.0132, allocations: 48.72 kB / 293.2 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.097e-05/0.01321, allocations: 4 kB / 293.2 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.41e-05/0.01327, allocations: 36.78 kB / 293.3 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002891/0.01356, allocations: 244.6 kB / 293.5 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006994/0.01426, allocations: 257 kB / 293.8 MB, free: 392 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.273e-05/0.01431, allocations: 71.83 kB / 293.8 MB, free: 300 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.507e-05/0.01438, allocations: 17.12 kB / 293.9 MB, free: 280 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001111/0.01449, allocations: 71.36 kB / 293.9 MB, free: 208 kB / 282.7 MB Notification: Performance of SimCode: time 9.01e-07/0.01449, allocations: 4 kB / 293.9 MB, free: 204 kB / 282.7 MB Notification: Performance of Templates: time 0.005556/0.02005, allocations: 2.234 MB / 296.2 MB, free: 14 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.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.794573824852705]