Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.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.001293/0.001293, allocations: 82.64 kB / 21.44 MB, free: 3.059 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.00174/0.00174, allocations: 162.2 kB / 24.84 MB, free: 8.711 MB / 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 0.9778/0.9778, allocations: 158.6 MB / 186.7 MB, free: 2.789 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.1663/0.1663, allocations: 32.38 MB / 271.5 MB, free: 14.42 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.Test81,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.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,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.Test81") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 349 MB, free: 9.094 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.611e-05/2.785e-05, allocations: 2.312 kB / 349 MB, free: 9.09 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.00263/0.002657, allocations: 1.796 MB / 350.8 MB, free: 7.281 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001563/0.00422, allocations: 1.591 MB / 352.4 MB, free: 5.68 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001025/0.004322, allocations: 0 / 352.4 MB, free: 5.68 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003211/0.004643, allocations: 63.55 kB / 352.4 MB, free: 5.617 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002832/0.004927, allocations: 91.53 kB / 352.5 MB, free: 5.527 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003002/0.005227, allocations: 139.6 kB / 352.7 MB, free: 5.391 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002361/0.005463, allocations: 191.3 kB / 352.9 MB, free: 5.203 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.57e-05/0.005519, allocations: 5.812 kB / 352.9 MB, free: 5.199 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001171/0.005636, allocations: 99.67 kB / 353 MB, free: 5.102 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000136/0.005772, allocations: 59.8 kB / 353 MB, free: 5.043 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.286e-05/0.005795, allocations: 8 kB / 353 MB, free: 5.035 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001325/0.005927, allocations: 63.91 kB / 353.1 MB, free: 4.973 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.942e-05/0.005987, allocations: 31.84 kB / 353.1 MB, free: 4.941 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.668e-05/0.006033, allocations: 35.84 kB / 353.1 MB, free: 4.906 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002186/0.006252, allocations: 151.4 kB / 353.3 MB, free: 4.758 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.006255, allocations: 0 / 353.3 MB, free: 4.758 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.006257, allocations: 4 kB / 353.3 MB, free: 4.754 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.006262, allocations: 0 / 353.3 MB, free: 4.754 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.0004397/0.006702, allocations: 495.5 kB / 353.8 MB, free: 4.234 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.00674, allocations: 11.97 kB / 353.8 MB, free: 4.223 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.368e-05/0.006794, allocations: 24.84 kB / 353.8 MB, free: 4.199 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001918/0.006986, allocations: 176.3 kB / 354 MB, free: 4 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/0.007003, allocations: 384 / 354 MB, free: 4 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.085e-05/0.007014, allocations: 4.375 kB / 354 MB, free: 3.996 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001538/0.007168, allocations: 165 kB / 354.2 MB, free: 3.797 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.007178, allocations: 11.88 kB / 354.2 MB, free: 3.785 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.007191, allocations: 8 kB / 354.2 MB, free: 3.777 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.007198, allocations: 0 / 354.2 MB, free: 3.777 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.557e-05/0.007234, allocations: 15.97 kB / 354.2 MB, free: 3.762 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001302/0.007364, allocations: 140.9 kB / 354.3 MB, free: 3.594 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001318/0.007496, allocations: 90.16 kB / 354.4 MB, free: 3.48 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.277e-05/0.007528, allocations: 27.36 kB / 354.4 MB, free: 3.445 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.553e-05/0.007544, allocations: 8 kB / 354.5 MB, free: 3.438 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000129/0.007673, allocations: 108.3 kB / 354.6 MB, free: 3.309 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 1.413e-06/0.007674, allocations: 4 kB / 354.6 MB, free: 3.305 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002286/0.007903, allocations: 137.4 kB / 354.7 MB, free: 3.164 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.562e-05/0.007938, allocations: 128.5 kB / 354.8 MB, free: 3.008 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001259/0.008064, allocations: 258.7 kB / 355.1 MB, free: 2.734 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.008081, allocations: 25.7 kB / 355.1 MB, free: 2.703 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.775e-05/0.008118, allocations: 166.8 kB / 355.3 MB, free: 2.535 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.639e-05/0.008155, allocations: 27.78 kB / 355.3 MB, free: 2.508 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.653e-05/0.008191, allocations: 35.36 kB / 355.3 MB, free: 2.465 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.846e-05/0.00825, allocations: 0.5001 MB / 355.8 MB, free: 1.953 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.3e-05/0.008273, allocations: 11.98 kB / 355.8 MB, free: 1.941 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.283e-05/0.008326, allocations: 125.5 kB / 356 MB, free: 1.781 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.04e-05/0.008386, allocations: 70.66 kB / 356 MB, free: 1.695 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.008389, allocations: 0 / 356 MB, free: 1.695 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001234/0.008512, allocations: 118 kB / 356.1 MB, free: 1.574 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.008527, allocations: 4 kB / 356.1 MB, free: 1.57 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.008533, allocations: 4.094 kB / 356.2 MB, free: 1.566 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.008548, allocations: 7.938 kB / 356.2 MB, free: 1.559 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.256e-05/0.00864, allocations: 23.98 kB / 356.2 MB, free: 1.535 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.146e-06/0.008643, allocations: 4 kB / 356.2 MB, free: 1.531 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.689e-05/0.00869, allocations: 12 kB / 356.2 MB, free: 1.52 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.531e-06/0.008696, allocations: 0 / 356.2 MB, free: 1.52 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.853e-05/0.008784, allocations: 172.5 kB / 356.4 MB, free: 1.34 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.338e-05/0.008828, allocations: 23.91 kB / 356.4 MB, free: 1.316 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000288/0.009116, allocations: 134.7 kB / 356.5 MB, free: 1.176 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.009122, allocations: 11.94 kB / 356.5 MB, free: 1.164 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.009125, allocations: 0 / 356.5 MB, free: 1.164 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.009131, allocations: 0 / 356.5 MB, free: 1.164 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001414/0.009272, allocations: 133.1 kB / 356.7 MB, free: 1.008 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.009275, allocations: 0 / 356.7 MB, free: 1.008 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.826e-05/0.009333, allocations: 15.98 kB / 356.7 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.009338, allocations: 0 / 356.7 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.009348, allocations: 4 kB / 356.7 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-06/0.009353, allocations: 4 kB / 356.7 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.009355, allocations: 0 / 356.7 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002136/0.009568, allocations: 171.9 kB / 356.9 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.526e-05/0.009594, allocations: 19.84 kB / 356.9 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.068e-05/0.009624, allocations: 4 kB / 356.9 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.759e-05/0.009692, allocations: 11.98 kB / 356.9 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.36e-05/0.009745, allocations: 11.92 kB / 356.9 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.174e-05/0.009787, allocations: 4 kB / 356.9 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.584e-05/0.009863, allocations: 185.4 kB / 357.1 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009863, allocations: 0 / 357.1 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002178/0.01008, allocations: 35.94 kB / 357.1 MB, free: 0.5234 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.001016/0.0111, allocations: 438.7 kB / 357.5 MB, free: 192 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001373/0.01123, allocations: 75.52 kB / 357.6 MB, free: 112 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.01124, allocations: 0 / 357.6 MB, free: 112 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.23e-05/0.01128, allocations: 35.67 kB / 357.7 MB, free: 72 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002453/0.01152, allocations: 59.75 kB / 357.7 MB, free: 12 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005086/0.01203, allocations: 273.5 kB / 358 MB, free: 15.71 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.714e-05/0.01208, allocations: 68 kB / 358.1 MB, free: 15.63 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.457e-05/0.01215, allocations: 29.58 kB / 358.1 MB, free: 15.6 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001179/0.01227, allocations: 122.2 kB / 358.2 MB, free: 15.48 MB / 298.7 MB Notification: Performance of SimCode: time 6.81e-07/0.01227, allocations: 0 / 358.2 MB, free: 15.48 MB / 298.7 MB Notification: Performance of Templates: time 0.00572/0.01799, allocations: 3.267 MB / 361.5 MB, free: 12.23 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.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.500335772987455]