Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.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.001221/0.001221, allocations: 77 kB / 20.65 MB, free: 3.844 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.001522/0.001522, allocations: 173 kB / 24.06 MB, free: 452 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.028/1.028, allocations: 158.6 MB / 185.9 MB, free: 2.77 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1354/0.1354, allocations: 32.37 MB / 270.7 MB, free: 14.53 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 348.2 MB, free: 9.113 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.719e-05/2.908e-05, allocations: 8.219 kB / 348.2 MB, free: 9.105 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.003119/0.003148, allocations: 1.926 MB / 350.1 MB, free: 7.168 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001274/0.004422, allocations: 0.8193 MB / 350.9 MB, free: 6.34 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001186/0.00454, allocations: 7.938 kB / 351 MB, free: 6.332 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000352/0.004892, allocations: 47.7 kB / 351 MB, free: 6.285 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002391/0.005131, allocations: 59.64 kB / 351.1 MB, free: 6.227 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000276/0.005407, allocations: 99.67 kB / 351.2 MB, free: 6.129 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001922/0.0056, allocations: 147.5 kB / 351.3 MB, free: 5.984 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.005712, allocations: 25.61 kB / 351.3 MB, free: 5.957 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001189/0.005831, allocations: 71.8 kB / 351.4 MB, free: 5.887 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.319e-05/0.005924, allocations: 39.83 kB / 351.4 MB, free: 5.848 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.148e-05/0.005945, allocations: 8 kB / 351.4 MB, free: 5.84 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.115e-05/0.006037, allocations: 47.92 kB / 351.5 MB, free: 5.793 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.187e-05/0.006088, allocations: 27.91 kB / 351.5 MB, free: 5.766 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.431e-05/0.006133, allocations: 31.86 kB / 351.5 MB, free: 5.734 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000206/0.006339, allocations: 123.5 kB / 351.7 MB, free: 5.613 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.375e-06/0.006341, allocations: 0 / 351.7 MB, free: 5.613 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.91e-07/0.006342, allocations: 4 kB / 351.7 MB, free: 5.609 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.006346, allocations: 0 / 351.7 MB, free: 5.609 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.0004611/0.006807, allocations: 0.4896 MB / 352.2 MB, free: 5.078 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.006852, allocations: 16.02 kB / 352.2 MB, free: 5.062 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.033e-05/0.006902, allocations: 20.84 kB / 352.2 MB, free: 5.043 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001731/0.007075, allocations: 168.3 kB / 352.4 MB, free: 4.852 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.007093, allocations: 4.375 kB / 352.4 MB, free: 4.848 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.327e-05/0.007116, allocations: 12.36 kB / 352.4 MB, free: 4.836 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.007288, allocations: 145.7 kB / 352.5 MB, free: 4.668 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.158e-06/0.007297, allocations: 3.938 kB / 352.5 MB, free: 4.664 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.007308, allocations: 4 kB / 352.5 MB, free: 4.66 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.007314, allocations: 4 kB / 352.5 MB, free: 4.656 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.611e-05/0.00736, allocations: 23.91 kB / 352.6 MB, free: 4.633 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003741/0.007734, allocations: 0.5489 MB / 353.1 MB, free: 4.047 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001715/0.007906, allocations: 75.06 kB / 353.2 MB, free: 3.961 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.094e-05/0.007937, allocations: 23.67 kB / 353.2 MB, free: 3.934 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.667e-05/0.007954, allocations: 0 / 353.2 MB, free: 3.934 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001061/0.00806, allocations: 98.73 kB / 353.3 MB, free: 3.816 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.182e-06/0.008061, allocations: 0 / 353.3 MB, free: 3.816 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001948/0.008256, allocations: 105.5 kB / 353.4 MB, free: 3.707 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.611e-05/0.008272, allocations: 63.34 kB / 353.5 MB, free: 3.633 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/0.008391, allocations: 230.6 kB / 353.7 MB, free: 3.391 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.125e-05/0.008402, allocations: 25.7 kB / 353.7 MB, free: 3.359 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.547e-05/0.008458, allocations: 162.8 kB / 353.9 MB, free: 3.195 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.837e-05/0.008486, allocations: 35.72 kB / 353.9 MB, free: 3.16 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.327e-05/0.008529, allocations: 35.36 kB / 353.9 MB, free: 3.117 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.42e-05/0.008583, allocations: 0.5039 MB / 354.4 MB, free: 2.602 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.508e-05/0.008609, allocations: 8 kB / 354.5 MB, free: 2.594 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.995e-05/0.008649, allocations: 58.42 kB / 354.5 MB, free: 2.516 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.41e-05/0.008723, allocations: 86.72 kB / 354.6 MB, free: 2.41 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.008725, allocations: 0 / 354.6 MB, free: 2.41 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001496/0.008875, allocations: 113.3 kB / 354.7 MB, free: 2.293 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.008888, allocations: 8 kB / 354.7 MB, free: 2.285 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.008893, allocations: 0 / 354.7 MB, free: 2.285 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.008907, allocations: 0 / 354.7 MB, free: 2.285 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.524e-05/0.008992, allocations: 20 kB / 354.7 MB, free: 2.266 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.008996, allocations: 8.109 kB / 354.7 MB, free: 2.258 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.323e-05/0.00905, allocations: 11.94 kB / 354.8 MB, free: 2.246 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.525e-06/0.009057, allocations: 4 kB / 354.8 MB, free: 2.242 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 6.362e-05/0.009121, allocations: 168.5 kB / 354.9 MB, free: 2.066 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.36e-05/0.009144, allocations: 19.91 kB / 354.9 MB, free: 2.047 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001477/0.009292, allocations: 99.06 kB / 355 MB, free: 1.938 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.009295, allocations: 4 kB / 355 MB, free: 1.934 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-06/0.009296, allocations: 3.938 kB / 355 MB, free: 1.93 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.0093, allocations: 0 / 355 MB, free: 1.93 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000107/0.009407, allocations: 133.1 kB / 355.2 MB, free: 1.773 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.009408, allocations: 4 kB / 355.2 MB, free: 1.77 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.658e-05/0.009475, allocations: 15.98 kB / 355.2 MB, free: 1.754 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.009478, allocations: 0 / 355.2 MB, free: 1.754 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.009489, allocations: 8 kB / 355.2 MB, free: 1.746 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.00949, allocations: 0 / 355.2 MB, free: 1.746 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.009491, allocations: 0 / 355.2 MB, free: 1.746 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001772/0.009668, allocations: 152.2 kB / 355.3 MB, free: 1.574 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.747e-05/0.009686, allocations: 15.95 kB / 355.4 MB, free: 1.559 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.901e-05/0.009705, allocations: 0 / 355.4 MB, free: 1.559 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.279e-05/0.009747, allocations: 7.984 kB / 355.4 MB, free: 1.551 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.257e-05/0.00978, allocations: 16.02 kB / 355.4 MB, free: 1.535 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.35e-05/0.009793, allocations: 0 / 355.4 MB, free: 1.535 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.417e-05/0.009858, allocations: 161 kB / 355.5 MB, free: 1.379 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009858, allocations: 3.938 kB / 355.5 MB, free: 1.375 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002562/0.01011, allocations: 39.88 kB / 355.6 MB, free: 1.336 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.001161/0.01127, allocations: 386.3 kB / 356 MB, free: 1.047 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001437/0.01142, allocations: 59.59 kB / 356 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.01142, allocations: 0 / 356 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.799e-05/0.01147, allocations: 35.73 kB / 356.1 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000277/0.01174, allocations: 43.91 kB / 356.1 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004389/0.01218, allocations: 256.4 kB / 356.4 MB, free: 0.625 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.215e-05/0.01222, allocations: 71.84 kB / 356.4 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.09e-05/0.01227, allocations: 13.14 kB / 356.4 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.061e-05/0.01236, allocations: 102.2 kB / 356.5 MB, free: 432 kB / 282.7 MB Notification: Performance of SimCode: time 7.42e-07/0.01236, allocations: 0 / 356.5 MB, free: 432 kB / 282.7 MB Notification: Performance of Templates: time 0.004362/0.01672, allocations: 2.246 MB / 358.8 MB, free: 14.2 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.213959638029337]