Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.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.001451/0.001451, allocations: 92.31 kB / 20.96 MB, free: 3.48 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.001554/0.001554, allocations: 161.7 kB / 24.26 MB, free: 180 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.579/1.579, allocations: 177.2 MB / 204.6 MB, free: 5.613 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.3624/0.3624, allocations: 32.79 MB / 293.9 MB, free: 1.254 MB / 266.7 MB " [Timeout remaining time 179] 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.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34") translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.704e-06/1.704e-06, allocations: 0 / 375.3 MB, free: 4.934 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.485e-05/3.655e-05, allocations: 5.406 kB / 375.4 MB, free: 4.93 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.003287/0.003323, allocations: 1.723 MB / 377.1 MB, free: 3.191 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001945/0.005269, allocations: 0.9703 MB / 378 MB, free: 2.215 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.078e-05/0.00534, allocations: 0 / 378 MB, free: 2.215 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002855/0.005625, allocations: 39.7 kB / 378.1 MB, free: 2.176 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000355/0.00598, allocations: 99.53 kB / 378.2 MB, free: 2.078 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002258/0.006206, allocations: 83.59 kB / 378.3 MB, free: 1.996 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001879/0.006394, allocations: 103.6 kB / 378.4 MB, free: 1.895 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.342e-05/0.006477, allocations: 11.98 kB / 378.4 MB, free: 1.883 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001084/0.006586, allocations: 51.83 kB / 378.4 MB, free: 1.832 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.903e-05/0.006665, allocations: 27.91 kB / 378.5 MB, free: 1.805 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.935e-05/0.006684, allocations: 4 kB / 378.5 MB, free: 1.801 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001146/0.006799, allocations: 47.91 kB / 378.5 MB, free: 1.754 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.891e-05/0.006857, allocations: 19.92 kB / 378.5 MB, free: 1.734 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.112e-05/0.006909, allocations: 23.88 kB / 378.5 MB, free: 1.711 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002276/0.007136, allocations: 119.6 kB / 378.7 MB, free: 1.594 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.00714, allocations: 0 / 378.7 MB, free: 1.594 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.007141, allocations: 0 / 378.7 MB, free: 1.594 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.007145, allocations: 0 / 378.7 MB, free: 1.594 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.0006602/0.007805, allocations: 337.6 kB / 379 MB, free: 1.234 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.007839, allocations: 12.03 kB / 379 MB, free: 1.223 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.037e-05/0.007899, allocations: 20.83 kB / 379 MB, free: 1.203 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002879/0.008187, allocations: 158.3 kB / 379.2 MB, free: 1.023 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.0082, allocations: 4.312 kB / 379.2 MB, free: 1.02 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.306e-05/0.008223, allocations: 8.375 kB / 379.2 MB, free: 1.012 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001492/0.008372, allocations: 54.23 kB / 379.2 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.008387, allocations: 3.938 kB / 379.3 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.008397, allocations: 0 / 379.3 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.008402, allocations: 3.938 kB / 379.3 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.769e-05/0.008479, allocations: 19.98 kB / 379.3 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003914/0.008871, allocations: 236.5 kB / 379.5 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001933/0.009064, allocations: 62.61 kB / 379.6 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.749e-05/0.009131, allocations: 24.78 kB / 379.6 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.484e-05/0.009146, allocations: 4 kB / 379.6 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001594/0.009306, allocations: 67.39 kB / 379.7 MB, free: 496 kB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.442e-06/0.009307, allocations: 0 / 379.7 MB, free: 496 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005968/0.009904, allocations: 181.4 kB / 379.8 MB, free: 308 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.067e-05/0.009955, allocations: 55.41 kB / 379.9 MB, free: 240 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002241/0.01018, allocations: 202.7 kB / 380.1 MB, free: 24 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.931e-05/0.01022, allocations: 25.7 kB / 380.1 MB, free: 15.99 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.494e-05/0.0103, allocations: 116 kB / 380.2 MB, free: 15.88 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.08e-05/0.01034, allocations: 27.78 kB / 380.3 MB, free: 15.85 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.36e-05/0.01039, allocations: 25.66 kB / 380.3 MB, free: 15.82 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001859/0.01057, allocations: 322.8 kB / 380.6 MB, free: 15.49 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.042e-05/0.01064, allocations: 23.98 kB / 380.6 MB, free: 15.47 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.88e-05/0.01072, allocations: 37.7 kB / 380.7 MB, free: 15.43 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001384/0.01086, allocations: 65.64 kB / 380.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.01086, allocations: 0 / 380.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002235/0.01109, allocations: 101.6 kB / 380.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.01111, allocations: 7.984 kB / 380.8 MB, free: 15.24 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.01111, allocations: 4 kB / 380.8 MB, free: 15.24 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.01113, allocations: 4.031 kB / 380.8 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.556e-05/0.01122, allocations: 15.94 kB / 380.8 MB, free: 15.22 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.01123, allocations: 0 / 380.8 MB, free: 15.22 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.098e-05/0.01128, allocations: 4.375 kB / 380.9 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/0.01129, allocations: 7.984 kB / 380.9 MB, free: 15.21 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.0001245/0.01142, allocations: 125.8 kB / 381 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.24e-05/0.01145, allocations: 15.91 kB / 381 MB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002929/0.01174, allocations: 127.2 kB / 381.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.01175, allocations: 4 kB / 381.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.01175, allocations: 7.984 kB / 381.1 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.01176, allocations: 4 kB / 381.1 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005034/0.01226, allocations: 350.9 kB / 381.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.01226, allocations: 0 / 381.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.796e-05/0.01231, allocations: 15.92 kB / 381.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.01231, allocations: 4 kB / 381.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.345e-06/0.01232, allocations: 0 / 381.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.01232, allocations: 0 / 381.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.01233, allocations: 4 kB / 381.5 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003131/0.01264, allocations: 220.2 kB / 381.7 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.237e-05/0.01266, allocations: 11.91 kB / 381.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.441e-05/0.01269, allocations: 4 kB / 381.7 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.899e-05/0.01277, allocations: 4 kB / 381.7 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.819e-05/0.01281, allocations: 7.984 kB / 381.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.834e-05/0.01282, allocations: 4 kB / 381.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001541/0.01298, allocations: 160.1 kB / 381.9 MB, free: 14.09 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01298, allocations: 0 / 381.9 MB, free: 14.09 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002809/0.01326, allocations: 31.92 kB / 381.9 MB, free: 14.06 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.002252/0.01551, allocations: 486.4 kB / 382.4 MB, free: 13.79 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002031/0.01571, allocations: 67.83 kB / 382.5 MB, free: 13.72 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.01572, allocations: 4 kB / 382.5 MB, free: 13.72 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.915e-05/0.0158, allocations: 24 kB / 382.5 MB, free: 13.7 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003693/0.01617, allocations: 39.12 kB / 382.5 MB, free: 13.66 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005233/0.01669, allocations: 233.5 kB / 382.8 MB, free: 13.4 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001048/0.01679, allocations: 92.3 kB / 382.9 MB, free: 13.29 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.36e-05/0.01685, allocations: 17.27 kB / 382.9 MB, free: 13.27 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.747e-05/0.0169, allocations: 20.5 kB / 382.9 MB, free: 13.25 MB / 362.7 MB Notification: Performance of SimCode: time 6.41e-07/0.0169, allocations: 4 kB / 382.9 MB, free: 13.25 MB / 362.7 MB Notification: Performance of Templates: time 0.005354/0.02225, allocations: 1.865 MB / 384.8 MB, free: 11.41 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.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.813916424056515]