Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.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.001175/0.001175, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.001679/0.001679, allocations: 169 kB / 24.24 MB, free: 312 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.124/1.124, allocations: 158.6 MB / 186 MB, free: 2.918 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.1522/0.1522, allocations: 32.38 MB / 270.7 MB, free: 14.77 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.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.235e-06/2.235e-06, allocations: 3.938 kB / 347.7 MB, free: 9.707 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.734e-05/3.957e-05, allocations: 6.25 kB / 347.7 MB, free: 9.699 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.003013/0.003053, allocations: 1.736 MB / 349.5 MB, free: 7.953 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001189/0.004242, allocations: 0.7881 MB / 350.3 MB, free: 7.156 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001099/0.004352, allocations: 4 kB / 350.3 MB, free: 7.152 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004424/0.004794, allocations: 47.75 kB / 350.3 MB, free: 7.105 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002918/0.005086, allocations: 51.7 kB / 350.4 MB, free: 7.055 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002884/0.005374, allocations: 91.69 kB / 350.5 MB, free: 6.965 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002105/0.005585, allocations: 91.7 kB / 350.6 MB, free: 6.875 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001442/0.005729, allocations: 8.219 kB / 350.6 MB, free: 6.867 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001068/0.005836, allocations: 59.77 kB / 350.6 MB, free: 6.809 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.489e-05/0.005931, allocations: 23.92 kB / 350.6 MB, free: 6.785 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.354e-05/0.005954, allocations: 4 kB / 350.6 MB, free: 6.781 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.969e-05/0.006054, allocations: 35.92 kB / 350.7 MB, free: 6.746 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.696e-05/0.006131, allocations: 31.91 kB / 350.7 MB, free: 6.715 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.34e-05/0.006184, allocations: 19.92 kB / 350.7 MB, free: 6.695 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002291/0.006413, allocations: 111.5 kB / 350.8 MB, free: 6.586 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.006417, allocations: 0 / 350.8 MB, free: 6.586 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.006418, allocations: 0 / 350.8 MB, free: 6.586 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.426e-06/0.006427, allocations: 0 / 350.8 MB, free: 6.586 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005714/0.006998, allocations: 443.9 kB / 351.3 MB, free: 6.117 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.445e-05/0.007052, allocations: 12.03 kB / 351.3 MB, free: 6.105 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.897e-05/0.007121, allocations: 12.84 kB / 351.3 MB, free: 6.094 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002268/0.007348, allocations: 149.8 kB / 351.4 MB, free: 5.922 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.784e-05/0.007376, allocations: 4.375 kB / 351.4 MB, free: 5.918 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.136e-05/0.007407, allocations: 4.375 kB / 351.5 MB, free: 5.914 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001632/0.007571, allocations: 70.88 kB / 351.5 MB, free: 5.836 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.007586, allocations: 3.938 kB / 351.5 MB, free: 5.832 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.007598, allocations: 0 / 351.5 MB, free: 5.832 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/0.00761, allocations: 0 / 351.5 MB, free: 5.832 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.027e-05/0.00765, allocations: 11.98 kB / 351.5 MB, free: 5.82 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003585/0.008008, allocations: 283.8 kB / 351.8 MB, free: 5.508 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001271/0.008135, allocations: 55.09 kB / 351.9 MB, free: 5.441 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.741e-05/0.008173, allocations: 23.62 kB / 351.9 MB, free: 5.414 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.627e-05/0.008189, allocations: 3.938 kB / 351.9 MB, free: 5.41 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001226/0.008312, allocations: 69.05 kB / 352 MB, free: 5.328 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 2.415e-06/0.008314, allocations: 3.984 kB / 352 MB, free: 5.324 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005134/0.008828, allocations: 153.4 kB / 352.1 MB, free: 5.168 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.633e-05/0.008864, allocations: 51.41 kB / 352.2 MB, free: 5.105 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001308/0.008995, allocations: 236 kB / 352.4 MB, free: 4.859 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.207e-05/0.009007, allocations: 25.7 kB / 352.4 MB, free: 4.828 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.899e-05/0.009066, allocations: 150.9 kB / 352.6 MB, free: 4.676 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.426e-05/0.0091, allocations: 35.72 kB / 352.6 MB, free: 4.641 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.544e-05/0.009135, allocations: 27.38 kB / 352.6 MB, free: 4.605 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.009236, allocations: 0.4962 MB / 353.1 MB, free: 4.098 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.819e-05/0.009264, allocations: 16.36 kB / 353.1 MB, free: 4.082 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.901e-05/0.009303, allocations: 39.3 kB / 353.2 MB, free: 4.035 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.72e-05/0.00936, allocations: 47.31 kB / 353.2 MB, free: 3.98 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.009362, allocations: 4 kB / 353.2 MB, free: 3.977 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001118/0.009474, allocations: 89.58 kB / 353.3 MB, free: 3.883 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.009492, allocations: 8 kB / 353.3 MB, free: 3.875 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.009501, allocations: 0 / 353.3 MB, free: 3.875 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/0.009521, allocations: 0 / 353.3 MB, free: 3.875 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.933e-05/0.00962, allocations: 15.98 kB / 353.3 MB, free: 3.859 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.009628, allocations: 8.031 kB / 353.3 MB, free: 3.852 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.418e-05/0.009662, allocations: 0 / 353.3 MB, free: 3.852 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.525e-06/0.00967, allocations: 4 kB / 353.4 MB, free: 3.848 MB / 282.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 7.647e-05/0.009746, allocations: 172.4 kB / 353.5 MB, free: 3.668 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.055e-05/0.009767, allocations: 19.91 kB / 353.5 MB, free: 3.648 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001622/0.009929, allocations: 99.22 kB / 353.6 MB, free: 3.543 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.009934, allocations: 7.984 kB / 353.6 MB, free: 3.535 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.00994, allocations: 0 / 353.6 MB, free: 3.535 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.009944, allocations: 0 / 353.6 MB, free: 3.535 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003006/0.01024, allocations: 397 kB / 354 MB, free: 3.102 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.01025, allocations: 0 / 354 MB, free: 3.102 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.776e-05/0.01028, allocations: 8 kB / 354 MB, free: 3.094 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.01028, allocations: 0 / 354 MB, free: 3.094 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.357e-06/0.01029, allocations: 4 kB / 354 MB, free: 3.09 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.01029, allocations: 3.984 kB / 354 MB, free: 3.086 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.01029, allocations: 0 / 354 MB, free: 3.086 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001261/0.01042, allocations: 263.3 kB / 354.3 MB, free: 2.805 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.368e-05/0.01043, allocations: 11.95 kB / 354.3 MB, free: 2.793 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.441e-05/0.01046, allocations: 4 kB / 354.3 MB, free: 2.789 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.069e-05/0.01052, allocations: 4.031 kB / 354.3 MB, free: 2.785 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.554e-05/0.01056, allocations: 11.98 kB / 354.3 MB, free: 2.773 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.644e-05/0.01058, allocations: 4 kB / 354.3 MB, free: 2.77 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.304e-05/0.01064, allocations: 167.8 kB / 354.5 MB, free: 2.605 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01064, allocations: 0 / 354.5 MB, free: 2.605 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001886/0.01083, allocations: 31.92 kB / 354.5 MB, free: 2.574 MB / 282.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.00104/0.01187, allocations: 445.1 kB / 355 MB, free: 2.234 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001898/0.01206, allocations: 55.53 kB / 355 MB, free: 2.176 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.01206, allocations: 64 / 355 MB, free: 2.176 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.718e-05/0.01211, allocations: 35.67 kB / 355.1 MB, free: 2.137 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003016/0.01241, allocations: 31.84 kB / 355.1 MB, free: 2.105 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004644/0.01288, allocations: 225.4 kB / 355.3 MB, free: 1.855 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.683e-05/0.01292, allocations: 67.33 kB / 355.4 MB, free: 1.77 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.242e-05/0.01297, allocations: 20.47 kB / 355.4 MB, free: 1.75 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.392e-05/0.013, allocations: 12.5 kB / 355.4 MB, free: 1.738 MB / 282.7 MB Notification: Performance of SimCode: time 2.023e-06/0.013, allocations: 8.062 kB / 355.4 MB, free: 1.73 MB / 282.7 MB Notification: Performance of Templates: time 0.004367/0.01737, allocations: 1.841 MB / 357.3 MB, free: 15.91 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.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.7067413749173284]