Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.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.002047/0.002047, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002415/0.002415, allocations: 161.7 kB / 24.27 MB, free: 172 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.554/1.554, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.4269/0.4269, allocations: 34.26 MB / 295.3 MB, free: 0.6836 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 377.4 MB, free: 2.863 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.723e-05/2.892e-05, allocations: 10.25 kB / 377.4 MB, free: 2.852 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.003392/0.003421, allocations: 1.727 MB / 379.1 MB, free: 1.109 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002041/0.005462, allocations: 0.9819 MB / 380.1 MB, free: 124 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.335e-05/0.005545, allocations: 4 kB / 380.1 MB, free: 120 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003801/0.005925, allocations: 91.56 kB / 380.2 MB, free: 28 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004298/0.006355, allocations: 115.5 kB / 380.3 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002685/0.006623, allocations: 83.59 kB / 380.4 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002202/0.006844, allocations: 123.6 kB / 380.5 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.006948, allocations: 15.92 kB / 380.5 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001305/0.007079, allocations: 67.75 kB / 380.6 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001146/0.007193, allocations: 55.88 kB / 380.6 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.036e-05/0.007214, allocations: 4 kB / 380.6 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001326/0.007346, allocations: 59.91 kB / 380.7 MB, free: 15.51 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.605e-05/0.007412, allocations: 31.86 kB / 380.7 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.61e-05/0.007479, allocations: 19.92 kB / 380.7 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002809/0.007759, allocations: 139.5 kB / 380.9 MB, free: 15.32 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.007762, allocations: 0 / 380.9 MB, free: 15.32 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.007763, allocations: 0 / 380.9 MB, free: 15.32 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.007768, allocations: 3.938 kB / 380.9 MB, free: 15.32 MB / 362.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.0006427/0.008411, allocations: 365.4 kB / 381.2 MB, free: 14.93 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.418e-05/0.008465, allocations: 8.031 kB / 381.3 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.785e-05/0.008533, allocations: 16.84 kB / 381.3 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003203/0.008853, allocations: 158.1 kB / 381.4 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.008868, allocations: 4.375 kB / 381.4 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.254e-05/0.008901, allocations: 4.375 kB / 381.4 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001853/0.009086, allocations: 70.16 kB / 381.5 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/0.009103, allocations: 3.938 kB / 381.5 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.009117, allocations: 0 / 381.5 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.009124, allocations: 0 / 381.5 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001135/0.009238, allocations: 23.98 kB / 381.5 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005871/0.009825, allocations: 240.5 kB / 381.8 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003354/0.01016, allocations: 62.42 kB / 381.8 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.368e-05/0.01024, allocations: 24.98 kB / 381.9 MB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.331e-05/0.01027, allocations: 4 kB / 381.9 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002032/0.01047, allocations: 75.44 kB / 381.9 MB, free: 14.17 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.783e-06/0.01047, allocations: 0 / 381.9 MB, free: 14.17 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.001077/0.01155, allocations: 257.1 kB / 382.2 MB, free: 13.91 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.449e-05/0.01162, allocations: 55.34 kB / 382.2 MB, free: 13.84 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003073/0.01193, allocations: 219.6 kB / 382.4 MB, free: 13.61 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.386e-05/0.01196, allocations: 33.7 kB / 382.5 MB, free: 13.57 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002471/0.01221, allocations: 104.1 kB / 382.6 MB, free: 13.47 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.94e-05/0.01226, allocations: 35.7 kB / 382.6 MB, free: 13.43 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.377e-05/0.01233, allocations: 33.7 kB / 382.6 MB, free: 13.39 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002003/0.01254, allocations: 330.8 kB / 383 MB, free: 13.06 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.769e-05/0.01261, allocations: 27.98 kB / 383 MB, free: 13.04 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.704e-05/0.01271, allocations: 52.95 kB / 383.1 MB, free: 12.98 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001682/0.01288, allocations: 77.7 kB / 383.1 MB, free: 12.9 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.01288, allocations: 0 / 383.1 MB, free: 12.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002693/0.01315, allocations: 141.5 kB / 383.3 MB, free: 12.75 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.01317, allocations: 8.031 kB / 383.3 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.01318, allocations: 3.984 kB / 383.3 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.205e-05/0.0132, allocations: 4 kB / 383.3 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.0133, allocations: 23.94 kB / 383.3 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.01331, allocations: 0 / 383.3 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.388e-05/0.01336, allocations: 7.984 kB / 383.3 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.01337, allocations: 4 kB / 383.3 MB, free: 12.7 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 (13): * Single equations (assignments): 13 * 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.0001339/0.01351, allocations: 129.8 kB / 383.4 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.114e-05/0.01355, allocations: 23.89 kB / 383.5 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003372/0.01389, allocations: 155 kB / 383.6 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.798e-06/0.0139, allocations: 7.984 kB / 383.6 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.0139, allocations: 0 / 383.6 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.0139, allocations: 0 / 383.6 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006303/0.01454, allocations: 407.6 kB / 384 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.01454, allocations: 0 / 384 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.69e-05/0.01459, allocations: 15.98 kB / 384 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.0146, allocations: 4 kB / 384 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.01461, allocations: 0 / 384 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.01461, allocations: 4 kB / 384 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.01461, allocations: 8 kB / 384.1 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003446/0.01496, allocations: 245.1 kB / 384.3 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.818e-05/0.01499, allocations: 15.91 kB / 384.3 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.925e-05/0.01502, allocations: 8 kB / 384.3 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.816e-05/0.01509, allocations: 3.938 kB / 384.3 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.279e-05/0.01515, allocations: 19.91 kB / 384.3 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.628e-05/0.01516, allocations: 4 kB / 384.3 MB, free: 11.59 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001708/0.01533, allocations: 173.1 kB / 384.5 MB, free: 11.43 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01533, allocations: 0 / 384.5 MB, free: 11.43 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002873/0.01562, allocations: 31.92 kB / 384.5 MB, free: 11.39 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.002539/0.01816, allocations: 0.552 MB / 385.1 MB, free: 11.08 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002465/0.01841, allocations: 79.78 kB / 385.2 MB, free: 11 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01841, allocations: 0 / 385.2 MB, free: 11 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001035/0.01851, allocations: 43.92 kB / 385.2 MB, free: 10.96 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00038/0.01889, allocations: 31.97 kB / 385.2 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005948/0.01949, allocations: 293.3 kB / 385.5 MB, free: 10.61 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001185/0.01961, allocations: 101.8 kB / 385.6 MB, free: 10.5 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.544e-05/0.01967, allocations: 20.62 kB / 385.7 MB, free: 10.47 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.213e-05/0.01972, allocations: 20.5 kB / 385.7 MB, free: 10.45 MB / 362.7 MB Notification: Performance of SimCode: time 3.91e-07/0.01972, allocations: 0 / 385.7 MB, free: 10.45 MB / 362.7 MB Notification: Performance of Templates: time 0.005859/0.02558, allocations: 2.103 MB / 387.8 MB, free: 8.379 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.961621054098941]