Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.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.001946/0.001946, allocations: 84.34 kB / 20.95 MB, free: 3.453 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.002395/0.002395, allocations: 169.3 kB / 24.27 MB, free: 144 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.647/1.647, 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.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.3458/0.3458, allocations: 32.8 MB / 293.9 MB, free: 1.203 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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 375.3 MB, free: 4.891 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.836e-05/2.981e-05, allocations: 6.25 kB / 375.4 MB, free: 4.883 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.003151/0.00318, allocations: 1.716 MB / 377.1 MB, free: 3.152 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001873/0.005054, allocations: 0.9742 MB / 378 MB, free: 2.172 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.011e-05/0.005124, allocations: 0 / 378 MB, free: 2.172 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003293/0.005453, allocations: 87.62 kB / 378.1 MB, free: 2.086 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003374/0.005791, allocations: 119.4 kB / 378.2 MB, free: 1.969 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002104/0.006001, allocations: 75.66 kB / 378.3 MB, free: 1.895 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002094/0.00621, allocations: 119.6 kB / 378.4 MB, free: 1.777 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.708e-05/0.006287, allocations: 7.938 kB / 378.4 MB, free: 1.77 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001243/0.006412, allocations: 71.8 kB / 378.5 MB, free: 1.699 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001133/0.006525, allocations: 51.88 kB / 378.6 MB, free: 1.648 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.863e-05/0.006544, allocations: 4 kB / 378.6 MB, free: 1.645 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001003/0.006644, allocations: 39.98 kB / 378.6 MB, free: 1.605 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.681e-05/0.006711, allocations: 31.84 kB / 378.6 MB, free: 1.574 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.878e-05/0.006759, allocations: 19.92 kB / 378.7 MB, free: 1.555 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004528/0.007212, allocations: 131.5 kB / 378.8 MB, free: 1.426 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.007215, allocations: 0 / 378.8 MB, free: 1.426 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.007216, allocations: 4 kB / 378.8 MB, free: 1.422 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.00722, allocations: 0 / 378.8 MB, free: 1.422 MB / 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.0005676/0.007787, allocations: 353.5 kB / 379.1 MB, free: 1.047 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.193e-05/0.007819, allocations: 8.031 kB / 379.1 MB, free: 1.039 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.148e-05/0.007881, allocations: 16.84 kB / 379.2 MB, free: 1.023 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002751/0.008156, allocations: 157.5 kB / 379.3 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.008168, allocations: 384 / 379.3 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.435e-05/0.008192, allocations: 4.375 kB / 379.3 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001555/0.008348, allocations: 54.23 kB / 379.4 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.008361, allocations: 3.938 kB / 379.4 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.00837, allocations: 4 kB / 379.4 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.008374, allocations: 0 / 379.4 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.324e-05/0.008458, allocations: 23.97 kB / 379.4 MB, free: 0.75 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000385/0.008842, allocations: 236.6 kB / 379.6 MB, free: 500 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001969/0.009039, allocations: 54.62 kB / 379.7 MB, free: 436 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.738e-05/0.009107, allocations: 24.78 kB / 379.7 MB, free: 408 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.597e-05/0.009123, allocations: 4 kB / 379.7 MB, free: 404 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001572/0.00928, allocations: 63.39 kB / 379.8 MB, free: 328 kB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.009281, allocations: 8 kB / 379.8 MB, free: 320 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006154/0.009897, allocations: 193.2 kB / 380 MB, free: 120 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.926e-05/0.009946, allocations: 51.41 kB / 380 MB, free: 56 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002819/0.01023, allocations: 227.5 kB / 380.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.671e-05/0.01025, allocations: 29.7 kB / 380.3 MB, free: 15.78 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.753e-05/0.01034, allocations: 108 kB / 380.4 MB, free: 15.67 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.78e-05/0.01038, allocations: 27.73 kB / 380.4 MB, free: 15.64 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.28e-05/0.01043, allocations: 25.7 kB / 380.4 MB, free: 15.61 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000186/0.01062, allocations: 326.8 kB / 380.8 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.269e-05/0.01068, allocations: 16 kB / 380.8 MB, free: 15.27 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.253e-05/0.01076, allocations: 45.7 kB / 380.8 MB, free: 15.22 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000146/0.01091, allocations: 57.64 kB / 380.9 MB, free: 15.16 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.01091, allocations: 4 kB / 380.9 MB, free: 15.15 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002247/0.01114, allocations: 113.5 kB / 381 MB, free: 15.04 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.01115, allocations: 4 kB / 381 MB, free: 15.03 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.01116, allocations: 4 kB / 381 MB, free: 15.03 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.01118, allocations: 0 / 381 MB, free: 15.03 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.715e-05/0.01127, allocations: 20.3 kB / 381 MB, free: 15.01 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.01128, allocations: 4.031 kB / 381 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.25e-05/0.01133, allocations: 8 kB / 381 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.491e-05/0.01134, allocations: 8 kB / 381 MB, free: 14.99 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 0.0001275/0.01147, allocations: 129.8 kB / 381.2 MB, free: 14.85 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.068e-05/0.0115, allocations: 15.91 kB / 381.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002958/0.0118, allocations: 127.2 kB / 381.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.0118, allocations: 0 / 381.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.01181, allocations: 0 / 381.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.01181, allocations: 0 / 381.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000536/0.01234, allocations: 362.9 kB / 381.6 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.01235, allocations: 4 kB / 381.7 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.799e-05/0.0124, allocations: 15.97 kB / 381.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.0124, allocations: 0 / 381.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.01241, allocations: 4 kB / 381.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.01241, allocations: 0 / 381.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.01241, allocations: 0 / 381.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003106/0.01272, allocations: 216.2 kB / 381.9 MB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.514e-05/0.01275, allocations: 11.94 kB / 381.9 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.638e-05/0.01278, allocations: 8 kB / 381.9 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.594e-05/0.01285, allocations: 4.031 kB / 381.9 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.086e-05/0.01289, allocations: 7.984 kB / 381.9 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.576e-05/0.01291, allocations: 7.938 kB / 381.9 MB, free: 14.02 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001892/0.0131, allocations: 185.1 kB / 382.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0131, allocations: 0 / 382.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000272/0.01337, allocations: 23.94 kB / 382.1 MB, free: 13.82 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.002228/0.0156, allocations: 490.8 kB / 382.6 MB, free: 13.54 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002178/0.01582, allocations: 63.89 kB / 382.7 MB, free: 13.48 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.01582, allocations: 4 kB / 382.7 MB, free: 13.48 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.958e-05/0.0159, allocations: 23.98 kB / 382.7 MB, free: 13.45 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003782/0.01627, allocations: 39.66 kB / 382.7 MB, free: 13.42 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005591/0.01683, allocations: 264.2 kB / 383 MB, free: 13.13 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000119/0.01695, allocations: 96.75 kB / 383.1 MB, free: 13.02 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.365e-05/0.01701, allocations: 21.27 kB / 383.1 MB, free: 13 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.335e-05/0.01705, allocations: 16.5 kB / 383.1 MB, free: 12.98 MB / 362.7 MB Notification: Performance of SimCode: time 4.21e-07/0.01705, allocations: 0 / 383.1 MB, free: 12.98 MB / 362.7 MB Notification: Performance of Templates: time 0.005386/0.02244, allocations: 1.879 MB / 385 MB, free: 11.13 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.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.892878636019304]