Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.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.001616/0.001616, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.00126/0.00126, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.011/1.011, allocations: 177.1 MB / 205 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2489/0.2489, allocations: 32.81 MB / 294.3 MB, free: 1.281 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 376.1 MB, free: 4.598 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.713e-05/1.876e-05, allocations: 2.312 kB / 376.1 MB, free: 4.594 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.00224/0.002259, allocations: 1.766 MB / 377.9 MB, free: 2.812 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00169/0.003949, allocations: 1.734 MB / 379.6 MB, free: 1.07 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.83e-05/0.004027, allocations: 0 / 379.6 MB, free: 1.07 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002872/0.004314, allocations: 35.77 kB / 379.6 MB, free: 1.035 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003203/0.004635, allocations: 103.5 kB / 379.7 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001523/0.004787, allocations: 87.53 kB / 379.8 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001562/0.004943, allocations: 103.7 kB / 379.9 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.995e-05/0.005033, allocations: 8 kB / 379.9 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.203e-05/0.005115, allocations: 63.75 kB / 380 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.926e-05/0.005214, allocations: 35.89 kB / 380 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.956e-05/0.005234, allocations: 8 kB / 380 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001426/0.005377, allocations: 103.8 kB / 380.1 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.209e-05/0.005429, allocations: 15.92 kB / 380.2 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.061e-05/0.005469, allocations: 19.94 kB / 380.2 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002392/0.005708, allocations: 167.4 kB / 380.3 MB, free: 340 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.005711, allocations: 0 / 380.3 MB, free: 340 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.005712, allocations: 0 / 380.3 MB, free: 340 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.005717, allocations: 0 / 380.3 MB, free: 340 kB / 346.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.000518/0.006235, allocations: 455.8 kB / 380.8 MB, free: 15.85 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.006273, allocations: 12.03 kB / 380.8 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.33e-05/0.006326, allocations: 12.89 kB / 380.8 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001957/0.006522, allocations: 148.9 kB / 381 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.029e-05/0.006542, allocations: 4.375 kB / 381 MB, free: 15.65 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.103e-05/0.006573, allocations: 4.375 kB / 381 MB, free: 15.65 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001773/0.006751, allocations: 111.4 kB / 381.1 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.006762, allocations: 3.953 kB / 381.1 MB, free: 15.51 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.006775, allocations: 4 kB / 381.1 MB, free: 15.51 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.006784, allocations: 0 / 381.1 MB, free: 15.51 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.904e-05/0.006823, allocations: 11.98 kB / 381.1 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005321/0.007355, allocations: 287.7 kB / 381.4 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001115/0.007467, allocations: 55.17 kB / 381.4 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.928e-05/0.007496, allocations: 11.69 kB / 381.4 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.016e-05/0.007516, allocations: 7.984 kB / 381.4 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001005/0.007617, allocations: 65.05 kB / 381.5 MB, free: 15.01 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.007618, allocations: 3.938 kB / 381.5 MB, free: 15.01 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004529/0.008071, allocations: 157.4 kB / 381.7 MB, free: 14.85 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.657e-05/0.008127, allocations: 85.05 kB / 381.7 MB, free: 14.75 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001424/0.00827, allocations: 216 kB / 382 MB, free: 14.52 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.008285, allocations: 33.7 kB / 382 MB, free: 14.48 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.88e-05/0.008344, allocations: 142.9 kB / 382.1 MB, free: 14.34 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.711e-05/0.008371, allocations: 23.8 kB / 382.2 MB, free: 14.31 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.655e-05/0.008408, allocations: 31.36 kB / 382.2 MB, free: 14.27 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.008539, allocations: 0.5 MB / 382.7 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.331e-05/0.008562, allocations: 8 kB / 382.7 MB, free: 13.75 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.674e-05/0.008619, allocations: 69.12 kB / 382.8 MB, free: 13.67 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.399e-05/0.008683, allocations: 51.3 kB / 382.8 MB, free: 13.61 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.008684, allocations: 0 / 382.8 MB, free: 13.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001253/0.00881, allocations: 97.62 kB / 382.9 MB, free: 13.51 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.008824, allocations: 4 kB / 382.9 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.008829, allocations: 7.938 kB / 382.9 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/0.00885, allocations: 0 / 382.9 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.37e-05/0.008933, allocations: 19.92 kB / 382.9 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.008939, allocations: 0 / 382.9 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.219e-05/0.008971, allocations: 4 kB / 382.9 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-06/0.008978, allocations: 4 kB / 382.9 MB, free: 13.47 MB / 362.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.985e-05/0.009058, allocations: 167.8 kB / 383.1 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.639e-05/0.009075, allocations: 11.98 kB / 383.1 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001592/0.009234, allocations: 110.5 kB / 383.2 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.009236, allocations: 0 / 383.2 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.009241, allocations: 0 / 383.2 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.009244, allocations: 0 / 383.2 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003034/0.009547, allocations: 396.9 kB / 383.6 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.009549, allocations: 0 / 383.6 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.825e-05/0.009577, allocations: 8 kB / 383.6 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.00958, allocations: 0 / 383.6 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.009591, allocations: 8 kB / 383.6 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.009592, allocations: 4.031 kB / 383.6 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.009595, allocations: 3.938 kB / 383.6 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000158/0.009753, allocations: 251.5 kB / 383.9 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.611e-05/0.009769, allocations: 15.88 kB / 383.9 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.901e-05/0.009788, allocations: 8 kB / 383.9 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.004e-05/0.009828, allocations: 0 / 383.9 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.385e-05/0.009872, allocations: 11.92 kB / 383.9 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-05/0.009888, allocations: 4 kB / 383.9 MB, free: 12.4 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.833e-05/0.009967, allocations: 162 kB / 384.1 MB, free: 12.25 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009967, allocations: 0 / 384.1 MB, free: 12.25 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002019/0.01017, allocations: 51.86 kB / 384.1 MB, free: 12.2 MB / 362.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.001101/0.01127, allocations: 0.5419 MB / 384.7 MB, free: 11.85 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001481/0.01142, allocations: 59.59 kB / 384.7 MB, free: 11.79 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.01142, allocations: 0 / 384.7 MB, free: 11.79 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.677e-05/0.01147, allocations: 31.61 kB / 384.8 MB, free: 11.75 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002506/0.01172, allocations: 34.73 kB / 384.8 MB, free: 11.72 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000397/0.01211, allocations: 201.9 kB / 385 MB, free: 11.49 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.405e-05/0.01216, allocations: 63.47 kB / 385.1 MB, free: 11.41 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.6e-05/0.0122, allocations: 29.27 kB / 385.1 MB, free: 11.38 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.44e-05/0.01225, allocations: 24.48 kB / 385.1 MB, free: 11.36 MB / 362.7 MB Notification: Performance of SimCode: time 1.092e-06/0.01225, allocations: 0 / 385.1 MB, free: 11.36 MB / 362.7 MB Notification: Performance of Templates: time 0.004429/0.01668, allocations: 2.537 MB / 387.6 MB, free: 8.848 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.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.3801867212168872]