Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.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.001161/0.001161, allocations: 81.08 kB / 20.65 MB, free: 3.836 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.001203/0.001203, allocations: 169 kB / 24.06 MB, free: 448 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.099/1.099, allocations: 158.6 MB / 185.9 MB, free: 2.758 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.1525/0.1525, allocations: 32.38 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.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.855e-06/2.855e-06, allocations: 3.984 kB / 348.2 MB, free: 9.105 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.891e-05/3.177e-05, allocations: 9.344 kB / 348.2 MB, free: 9.098 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.005792/0.005824, allocations: 1.857 MB / 350.1 MB, free: 7.23 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001274/0.007098, allocations: 0.8815 MB / 350.9 MB, free: 6.34 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000105/0.007203, allocations: 7.938 kB / 351 MB, free: 6.332 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00348/0.01068, allocations: 255.2 kB / 351.2 MB, free: 6.082 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003657/0.01105, allocations: 187.3 kB / 351.4 MB, free: 5.898 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000393/0.01144, allocations: 147.5 kB / 351.5 MB, free: 5.754 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002839/0.01172, allocations: 255.2 kB / 351.8 MB, free: 5.504 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.01184, allocations: 13.8 kB / 351.8 MB, free: 5.492 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001714/0.01201, allocations: 151.6 kB / 351.9 MB, free: 5.344 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000194/0.0122, allocations: 175.7 kB / 352.1 MB, free: 5.172 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.699e-05/0.01223, allocations: 8 kB / 352.1 MB, free: 5.164 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001071/0.01234, allocations: 43.92 kB / 352.2 MB, free: 5.121 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.563e-05/0.01241, allocations: 71.7 kB / 352.2 MB, free: 5.051 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.477e-05/0.01247, allocations: 47.78 kB / 352.3 MB, free: 5.004 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002322/0.0127, allocations: 175.3 kB / 352.5 MB, free: 4.832 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.0127, allocations: 0 / 352.5 MB, free: 4.832 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.01271, allocations: 0 / 352.5 MB, free: 4.832 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.01271, allocations: 0 / 352.5 MB, free: 4.832 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005296/0.01324, allocations: 0.6002 MB / 353.1 MB, free: 4.195 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.01329, allocations: 8.031 kB / 353.1 MB, free: 4.188 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.91e-05/0.01334, allocations: 36.73 kB / 353.1 MB, free: 4.152 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002282/0.01357, allocations: 216.6 kB / 353.3 MB, free: 3.914 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.049e-05/0.01359, allocations: 12.3 kB / 353.3 MB, free: 3.902 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.27e-05/0.01362, allocations: 12.38 kB / 353.3 MB, free: 3.891 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001664/0.01378, allocations: 98.27 kB / 353.4 MB, free: 3.777 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.01379, allocations: 7.875 kB / 353.4 MB, free: 3.77 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.317e-06/0.0138, allocations: 0 / 353.4 MB, free: 3.77 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.01381, allocations: 4 kB / 353.4 MB, free: 3.766 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.352e-05/0.01385, allocations: 27.95 kB / 353.5 MB, free: 3.738 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003452/0.0142, allocations: 447.2 kB / 353.9 MB, free: 3.27 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001505/0.01435, allocations: 110.2 kB / 354 MB, free: 3.137 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.628e-05/0.01439, allocations: 31.36 kB / 354 MB, free: 3.098 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.087e-05/0.01441, allocations: 11.88 kB / 354.1 MB, free: 3.086 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001286/0.01454, allocations: 108.4 kB / 354.2 MB, free: 2.957 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 1.493e-06/0.01454, allocations: 0 / 354.2 MB, free: 2.957 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005005/0.01504, allocations: 245.2 kB / 354.4 MB, free: 2.711 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.009e-05/0.01507, allocations: 89.09 kB / 354.5 MB, free: 2.605 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002414/0.01531, allocations: 398.6 kB / 354.9 MB, free: 2.199 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.01532, allocations: 29.7 kB / 354.9 MB, free: 2.164 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.658e-05/0.01541, allocations: 231 kB / 355.1 MB, free: 1.934 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.308e-05/0.01545, allocations: 47.62 kB / 355.2 MB, free: 1.887 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.034e-05/0.0155, allocations: 43.34 kB / 355.2 MB, free: 1.836 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.545e-05/0.01558, allocations: 0.5351 MB / 355.8 MB, free: 1.289 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.279e-05/0.01561, allocations: 19.92 kB / 355.8 MB, free: 1.27 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.759e-05/0.01566, allocations: 62.66 kB / 355.8 MB, free: 1.191 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.642e-05/0.01575, allocations: 90.86 kB / 355.9 MB, free: 1.086 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.01575, allocations: 0 / 355.9 MB, free: 1.086 MB / 282.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001755/0.01592, allocations: 161.3 kB / 356.1 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.01594, allocations: 4 kB / 356.1 MB, free: 0.918 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.01595, allocations: 4 kB / 356.1 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.01596, allocations: 0 / 356.1 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/0.01607, allocations: 35.92 kB / 356.1 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.407e-06/0.01608, allocations: 0 / 356.1 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.852e-05/0.01613, allocations: 11.94 kB / 356.1 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/0.01614, allocations: 4 kB / 356.1 MB, free: 0.8633 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.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 0.003176/0.01932, allocations: 172.5 kB / 356.3 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.48e-05/0.01936, allocations: 40.62 kB / 356.3 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002629/0.01963, allocations: 176.4 kB / 356.5 MB, free: 476 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.01963, allocations: 0 / 356.5 MB, free: 476 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.01963, allocations: 0 / 356.5 MB, free: 476 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.01964, allocations: 4 kB / 356.5 MB, free: 472 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005473/0.02019, allocations: 0.6097 MB / 357.1 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.02019, allocations: 4 kB / 357.1 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.531e-05/0.02026, allocations: 27.92 kB / 357.2 MB, free: 15.78 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.02026, allocations: 0 / 357.2 MB, free: 15.78 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.02027, allocations: 12.06 kB / 357.2 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.564e-06/0.02027, allocations: 0 / 357.2 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.02028, allocations: 4 kB / 357.2 MB, free: 15.76 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003221/0.0206, allocations: 464.5 kB / 357.6 MB, free: 15.28 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.383e-05/0.02063, allocations: 23.81 kB / 357.7 MB, free: 15.26 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.083e-05/0.02066, allocations: 8 kB / 357.7 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/0.02078, allocations: 7.922 kB / 357.7 MB, free: 15.24 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.529e-05/0.02082, allocations: 19.92 kB / 357.7 MB, free: 15.22 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.052e-05/0.02084, allocations: 7.984 kB / 357.7 MB, free: 15.21 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001835/0.02103, allocations: 271 kB / 358 MB, free: 14.95 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02103, allocations: 4 kB / 358 MB, free: 14.95 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003234/0.02135, allocations: 43.94 kB / 358 MB, free: 14.9 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,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 (18): * Single equations (assignments): 14 * 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.00414/0.02549, allocations: 438.4 kB / 358.4 MB, free: 14.56 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002142/0.0257, allocations: 90.94 kB / 358.5 MB, free: 14.47 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.02571, allocations: 0 / 358.5 MB, free: 14.47 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.43e-05/0.02578, allocations: 51.59 kB / 358.6 MB, free: 14.42 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005161/0.0263, allocations: 69.36 kB / 358.6 MB, free: 14.36 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007241/0.02702, allocations: 464.8 kB / 359.1 MB, free: 13.86 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.681e-05/0.02712, allocations: 99.95 kB / 359.2 MB, free: 13.74 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.583e-05/0.02721, allocations: 33.61 kB / 359.2 MB, free: 13.71 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001261/0.02734, allocations: 114.2 kB / 359.3 MB, free: 13.59 MB / 298.7 MB Notification: Performance of SimCode: time 1.172e-06/0.02734, allocations: 0 / 359.3 MB, free: 13.59 MB / 298.7 MB Notification: Performance of Templates: time 0.01391/0.04125, allocations: 3.223 MB / 362.6 MB, free: 10.39 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.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.320444144308567]