Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.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.001596/0.001596, allocations: 80.98 kB / 20.65 MB, free: 3.84 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.001721/0.001721, allocations: 173 kB / 24.05 MB, free: 456 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.038/1.038, allocations: 158.6 MB / 185.9 MB, free: 2.805 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.1489/0.1489, allocations: 32.37 MB / 270.7 MB, free: 14.54 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.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.415e-06/2.415e-06, allocations: 0 / 348.2 MB, free: 9.113 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.177e-05/3.418e-05, allocations: 2.312 kB / 348.2 MB, free: 9.109 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003641/0.003675, allocations: 1.804 MB / 350 MB, free: 7.293 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002464/0.006139, allocations: 1.583 MB / 351.6 MB, free: 5.699 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001655/0.006304, allocations: 3.938 kB / 351.6 MB, free: 5.695 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004767/0.006781, allocations: 55.62 kB / 351.6 MB, free: 5.641 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005266/0.007308, allocations: 99.48 kB / 351.7 MB, free: 5.543 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000512/0.007819, allocations: 143.6 kB / 351.9 MB, free: 5.402 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003384/0.008158, allocations: 187.3 kB / 352.1 MB, free: 5.219 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.222e-05/0.00823, allocations: 5.812 kB / 352.1 MB, free: 5.215 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002254/0.008455, allocations: 103.7 kB / 352.2 MB, free: 5.113 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001966/0.008652, allocations: 55.81 kB / 352.2 MB, free: 5.059 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.569e-05/0.008688, allocations: 8 kB / 352.2 MB, free: 5.051 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002024/0.00889, allocations: 63.89 kB / 352.3 MB, free: 4.988 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.191e-05/0.008982, allocations: 35.86 kB / 352.3 MB, free: 4.953 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.802e-05/0.00904, allocations: 35.84 kB / 352.4 MB, free: 4.918 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003471/0.009387, allocations: 155.4 kB / 352.5 MB, free: 4.766 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.009393, allocations: 0 / 352.5 MB, free: 4.766 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.009395, allocations: 0 / 352.5 MB, free: 4.766 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.009401, allocations: 0 / 352.5 MB, free: 4.766 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007011/0.0101, allocations: 495.5 kB / 353 MB, free: 4.246 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.345e-05/0.01017, allocations: 12.03 kB / 353 MB, free: 4.234 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.038e-05/0.01026, allocations: 16.84 kB / 353 MB, free: 4.219 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003039/0.01056, allocations: 184.2 kB / 353.2 MB, free: 4.012 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.98e-05/0.01059, allocations: 8.359 kB / 353.2 MB, free: 4.004 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.878e-05/0.01061, allocations: 4.375 kB / 353.2 MB, free: 4 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002563/0.01087, allocations: 157.1 kB / 353.4 MB, free: 3.809 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.01088, allocations: 3.938 kB / 353.4 MB, free: 3.805 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.01089, allocations: 7.984 kB / 353.4 MB, free: 3.797 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.856e-06/0.0109, allocations: 0 / 353.4 MB, free: 3.797 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.396e-05/0.01097, allocations: 19.91 kB / 353.4 MB, free: 3.777 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002053/0.01117, allocations: 132.9 kB / 353.5 MB, free: 3.617 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000161/0.01133, allocations: 102.1 kB / 353.6 MB, free: 3.492 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.197e-05/0.01137, allocations: 27.36 kB / 353.7 MB, free: 3.457 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.327e-05/0.0114, allocations: 4 kB / 353.7 MB, free: 3.453 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001761/0.01157, allocations: 108.4 kB / 353.8 MB, free: 3.324 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 1.593e-06/0.01157, allocations: 0 / 353.8 MB, free: 3.324 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003444/0.01192, allocations: 137.4 kB / 353.9 MB, free: 3.184 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.868e-05/0.01197, allocations: 140.5 kB / 354 MB, free: 3.016 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001858/0.01215, allocations: 250.7 kB / 354.3 MB, free: 2.75 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.01217, allocations: 33.7 kB / 354.3 MB, free: 2.711 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.742e-05/0.01223, allocations: 162.8 kB / 354.5 MB, free: 2.547 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.861e-05/0.01228, allocations: 31.77 kB / 354.5 MB, free: 2.516 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.462e-05/0.01233, allocations: 31.38 kB / 354.5 MB, free: 2.477 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.621e-05/0.01241, allocations: 0.5001 MB / 355 MB, free: 1.965 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.4e-05/0.01244, allocations: 15.98 kB / 355.1 MB, free: 1.949 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.256e-05/0.01252, allocations: 117.5 kB / 355.2 MB, free: 1.797 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.077e-05/0.01261, allocations: 74.66 kB / 355.2 MB, free: 1.707 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.01261, allocations: 4.031 kB / 355.3 MB, free: 1.703 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001676/0.01278, allocations: 110 kB / 355.4 MB, free: 1.59 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.0128, allocations: 4 kB / 355.4 MB, free: 1.586 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.0128, allocations: 4 kB / 355.4 MB, free: 1.582 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.01282, allocations: 3.938 kB / 355.4 MB, free: 1.578 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/0.01294, allocations: 23.92 kB / 355.4 MB, free: 1.555 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.01295, allocations: 8 kB / 355.4 MB, free: 1.547 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.35e-05/0.01302, allocations: 15.98 kB / 355.4 MB, free: 1.531 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.01303, allocations: 4 kB / 355.4 MB, free: 1.527 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (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.833e-05/0.01312, allocations: 168.6 kB / 355.6 MB, free: 1.352 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.955e-05/0.01316, allocations: 19.91 kB / 355.6 MB, free: 1.332 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002266/0.01339, allocations: 130.7 kB / 355.7 MB, free: 1.195 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.01339, allocations: 7.938 kB / 355.7 MB, free: 1.188 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.01339, allocations: 0 / 355.7 MB, free: 1.188 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.0134, allocations: 0 / 355.7 MB, free: 1.188 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001425/0.01354, allocations: 141.1 kB / 355.9 MB, free: 1.023 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.01355, allocations: 7.938 kB / 355.9 MB, free: 1.016 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.857e-05/0.01359, allocations: 8 kB / 355.9 MB, free: 1.008 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.0136, allocations: 4 kB / 355.9 MB, free: 1.004 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.01361, allocations: 4 kB / 355.9 MB, free: 1 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.01362, allocations: 3.984 kB / 355.9 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.01362, allocations: 0 / 355.9 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002101/0.01383, allocations: 163.9 kB / 356.1 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.187e-05/0.01386, allocations: 27.83 kB / 356.1 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.895e-05/0.01389, allocations: 3.938 kB / 356.1 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.909e-05/0.01395, allocations: 4 kB / 356.1 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.206e-05/0.01399, allocations: 15.92 kB / 356.1 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.932e-05/0.01401, allocations: 11.97 kB / 356.1 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.209e-05/0.0141, allocations: 177.4 kB / 356.3 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.0141, allocations: 4 kB / 356.3 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002804/0.01438, allocations: 39.92 kB / 356.3 MB, free: 0.5312 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00129/0.01567, allocations: 437.8 kB / 356.8 MB, free: 200 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001656/0.01584, allocations: 63.58 kB / 356.8 MB, free: 132 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.01584, allocations: 0 / 356.8 MB, free: 132 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.386e-05/0.01589, allocations: 35.61 kB / 356.9 MB, free: 92 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00035/0.01624, allocations: 71.02 kB / 356.9 MB, free: 24 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005887/0.01683, allocations: 269.7 kB / 357.2 MB, free: 15.73 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.904e-05/0.01689, allocations: 71.98 kB / 357.3 MB, free: 15.64 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.447e-05/0.01699, allocations: 29.41 kB / 357.3 MB, free: 15.61 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001665/0.01715, allocations: 118.2 kB / 357.4 MB, free: 15.49 MB / 298.7 MB Notification: Performance of SimCode: time 1.072e-06/0.01715, allocations: 0 / 357.4 MB, free: 15.49 MB / 298.7 MB Notification: Performance of Templates: time 0.005694/0.02285, allocations: 3.224 MB / 360.6 MB, free: 12.29 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.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.433625678997487]