Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.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.001154/0.001154, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.00103/0.00103, allocations: 165 kB / 23.79 MB, free: 0.7773 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.9418/0.9418, allocations: 158.6 MB / 185.7 MB, free: 2.914 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.138/0.138, allocations: 32.37 MB / 270.4 MB, free: 14.71 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.Test73,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.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,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.Test73") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 347.7 MB, free: 9.379 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.285e-05/2.438e-05, allocations: 10.19 kB / 347.8 MB, free: 9.367 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.005557/0.005582, allocations: 1.876 MB / 349.6 MB, free: 7.48 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001263/0.006845, allocations: 0.8855 MB / 350.5 MB, free: 6.586 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.345e-05/0.006939, allocations: 0 / 350.5 MB, free: 6.586 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001453/0.008392, allocations: 163.4 kB / 350.7 MB, free: 6.426 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002956/0.008687, allocations: 143.4 kB / 350.8 MB, free: 6.285 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002917/0.008979, allocations: 151.5 kB / 351 MB, free: 6.137 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002103/0.009189, allocations: 227.3 kB / 351.2 MB, free: 5.914 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.522e-05/0.009274, allocations: 9.812 kB / 351.2 MB, free: 5.906 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001209/0.009395, allocations: 131.6 kB / 351.3 MB, free: 5.777 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001175/0.009513, allocations: 119.7 kB / 351.4 MB, free: 5.66 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.911e-05/0.009532, allocations: 4 kB / 351.4 MB, free: 5.656 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.94e-05/0.009611, allocations: 47.97 kB / 351.5 MB, free: 5.609 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.319e-05/0.009664, allocations: 47.84 kB / 351.5 MB, free: 5.562 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.7e-05/0.009711, allocations: 43.78 kB / 351.6 MB, free: 5.52 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000187/0.009898, allocations: 159.3 kB / 351.7 MB, free: 5.363 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.235e-06/0.009901, allocations: 3.938 kB / 351.7 MB, free: 5.359 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.009901, allocations: 0 / 351.7 MB, free: 5.359 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.009905, allocations: 0 / 351.7 MB, free: 5.359 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.0004446/0.01035, allocations: 0.5459 MB / 352.3 MB, free: 4.777 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.01038, allocations: 12.03 kB / 352.3 MB, free: 4.766 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.396e-05/0.01044, allocations: 24.8 kB / 352.3 MB, free: 4.742 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001804/0.01062, allocations: 207.6 kB / 352.5 MB, free: 4.508 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.01063, allocations: 8.375 kB / 352.5 MB, free: 4.5 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.958e-05/0.01065, allocations: 4.375 kB / 352.5 MB, free: 4.496 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/0.01081, allocations: 102.3 kB / 352.6 MB, free: 4.379 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.01082, allocations: 11.94 kB / 352.6 MB, free: 4.367 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.01083, allocations: 0 / 352.6 MB, free: 4.367 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.01084, allocations: 7.922 kB / 352.7 MB, free: 4.359 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.441e-05/0.01089, allocations: 27.92 kB / 352.7 MB, free: 4.332 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003295/0.01122, allocations: 474.6 kB / 353.1 MB, free: 3.828 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001489/0.01137, allocations: 114.2 kB / 353.3 MB, free: 3.691 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.679e-05/0.01142, allocations: 39.36 kB / 353.3 MB, free: 3.645 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.157e-05/0.01143, allocations: 4 kB / 353.3 MB, free: 3.641 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001204/0.01155, allocations: 112.3 kB / 353.4 MB, free: 3.508 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 1.292e-06/0.01155, allocations: 0 / 353.4 MB, free: 3.508 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005304/0.01208, allocations: 325.3 kB / 353.7 MB, free: 3.184 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.29e-05/0.01211, allocations: 77.11 kB / 353.8 MB, free: 3.09 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002052/0.01231, allocations: 342.3 kB / 354.1 MB, free: 2.738 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.272e-05/0.01232, allocations: 25.7 kB / 354.2 MB, free: 2.707 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.416e-05/0.01239, allocations: 195.1 kB / 354.3 MB, free: 2.512 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.637e-05/0.01242, allocations: 51.64 kB / 354.4 MB, free: 2.461 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.652e-05/0.01247, allocations: 43.36 kB / 354.4 MB, free: 2.41 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.889e-05/0.01255, allocations: 0.5157 MB / 355 MB, free: 1.883 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.834e-05/0.0126, allocations: 23.98 kB / 355 MB, free: 1.859 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.486e-05/0.01266, allocations: 69.94 kB / 355.1 MB, free: 1.777 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001182/0.01278, allocations: 106.8 kB / 355.2 MB, free: 1.656 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.01278, allocations: 0 / 355.2 MB, free: 1.656 MB / 282.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002024/0.01299, allocations: 165.4 kB / 355.3 MB, free: 1.488 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.013, allocations: 4 kB / 355.3 MB, free: 1.484 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.013, allocations: 0 / 355.3 MB, free: 1.484 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.01302, allocations: 4 kB / 355.3 MB, free: 1.48 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001169/0.01313, allocations: 27.98 kB / 355.4 MB, free: 1.453 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.01314, allocations: 4 kB / 355.4 MB, free: 1.449 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.018e-05/0.0132, allocations: 8 kB / 355.4 MB, free: 1.441 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.328e-05/0.01321, allocations: 7.984 kB / 355.4 MB, free: 1.434 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 7.529e-05/0.01329, allocations: 172.4 kB / 355.5 MB, free: 1.254 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.136e-05/0.01333, allocations: 39.75 kB / 355.6 MB, free: 1.215 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002816/0.01361, allocations: 187.3 kB / 355.8 MB, free: 1.027 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.01361, allocations: 0 / 355.8 MB, free: 1.027 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.01362, allocations: 4 kB / 355.8 MB, free: 1.023 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.01362, allocations: 0 / 355.8 MB, free: 1.023 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004734/0.0141, allocations: 0.6403 MB / 356.4 MB, free: 340 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.0141, allocations: 0 / 356.4 MB, free: 340 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.912e-05/0.01416, allocations: 23.98 kB / 356.4 MB, free: 316 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.01416, allocations: 4 kB / 356.4 MB, free: 312 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.01417, allocations: 4 kB / 356.4 MB, free: 308 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.01418, allocations: 4.375 kB / 356.4 MB, free: 304 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.01418, allocations: 11.88 kB / 356.5 MB, free: 292 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002972/0.01448, allocations: 458.2 kB / 356.9 MB, free: 15.81 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.039e-05/0.01451, allocations: 23.86 kB / 356.9 MB, free: 15.79 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.392e-05/0.01454, allocations: 7.984 kB / 356.9 MB, free: 15.78 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001231/0.01466, allocations: 8 kB / 356.9 MB, free: 15.77 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.679e-05/0.01471, allocations: 15.91 kB / 357 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-05/0.01473, allocations: 12 kB / 357 MB, free: 15.74 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001691/0.0149, allocations: 238.9 kB / 357.2 MB, free: 15.51 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0149, allocations: 0 / 357.2 MB, free: 15.51 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003186/0.01522, allocations: 47.89 kB / 357.2 MB, free: 15.46 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.001069/0.01629, allocations: 440.6 kB / 357.7 MB, free: 15.12 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001979/0.01649, allocations: 102.9 kB / 357.8 MB, free: 15.02 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.01649, allocations: 0 / 357.8 MB, free: 15.02 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.871e-05/0.01657, allocations: 51.61 kB / 357.8 MB, free: 14.96 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000447/0.01701, allocations: 69.09 kB / 357.9 MB, free: 14.89 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005438/0.01756, allocations: 400.6 kB / 358.3 MB, free: 14.46 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.968e-05/0.01763, allocations: 87.97 kB / 358.4 MB, free: 14.36 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.328e-05/0.0177, allocations: 42.16 kB / 358.4 MB, free: 14.31 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.096e-05/0.01775, allocations: 20.5 kB / 358.4 MB, free: 14.29 MB / 298.7 MB Notification: Performance of SimCode: time 6.81e-07/0.01775, allocations: 3.938 kB / 358.4 MB, free: 14.29 MB / 298.7 MB Notification: Performance of Templates: time 0.00643/0.02418, allocations: 3.137 MB / 361.6 MB, free: 11.17 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.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.507119451649487]