Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001737/0.001737, allocations: 79.73 kB / 21.25 MB, free: 396 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00197/0.00197, allocations: 164.1 kB / 24.5 MB, free: 3.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.463/1.463, allocations: 177.1 MB / 204.7 MB, free: 8.992 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2125/0.2125, allocations: 34.26 MB / 295.4 MB, free: 14.49 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002427/0.002427, allocations: 83.86 kB / 443.2 MB, free: 6.434 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3257/0.3281, allocations: 66.05 MB / 0.4973 GB, free: 29.84 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.002617/0.3307, allocations: 1.757 MB / 0.4991 GB, free: 28.64 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001322/0.332, allocations: 0.9786 MB / 0.5 GB, free: 28.02 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.741e-05/0.3321, allocations: 0 / 0.5 GB, free: 28.02 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002929/0.3324, allocations: 114.7 kB / 0.5001 GB, free: 27.98 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002951/0.3327, allocations: 124.4 kB / 0.5002 GB, free: 27.93 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001687/0.3328, allocations: 83.38 kB / 0.5003 GB, free: 27.89 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000167/0.333, allocations: 139.3 kB / 0.5005 GB, free: 27.83 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.3331, allocations: 20.14 kB / 0.5005 GB, free: 27.81 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.878e-05/0.3332, allocations: 60.44 kB / 0.5005 GB, free: 27.79 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001024/0.3333, allocations: 76.08 kB / 0.5006 GB, free: 27.77 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.3333, allocations: 6.594 kB / 0.5006 GB, free: 27.77 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.846e-05/0.3334, allocations: 62.34 kB / 0.5007 GB, free: 27.75 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.174e-05/0.3335, allocations: 35.81 kB / 0.5007 GB, free: 27.73 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.681e-05/0.3335, allocations: 40.72 kB / 0.5007 GB, free: 27.71 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002101/0.3337, allocations: 170.1 kB / 0.5009 GB, free: 27.64 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3337, allocations: 0 / 0.5009 GB, free: 27.64 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3337, allocations: 0 / 0.5009 GB, free: 27.64 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.3337, allocations: 4 kB / 0.5009 GB, free: 27.63 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004677/0.3342, allocations: 395.8 kB / 0.5013 GB, free: 27.28 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.913e-05/0.3342, allocations: 9.156 kB / 0.5013 GB, free: 27.28 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.461e-05/0.3343, allocations: 15.09 kB / 0.5013 GB, free: 27.27 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002456/0.3345, allocations: 168.2 kB / 0.5015 GB, free: 27.11 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.3345, allocations: 4.312 kB / 0.5015 GB, free: 27.11 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.629e-05/0.3346, allocations: 6.812 kB / 0.5015 GB, free: 27.11 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.3347, allocations: 74.75 kB / 0.5015 GB, free: 27.06 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.3347, allocations: 6.984 kB / 0.5016 GB, free: 27.06 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.3347, allocations: 4 kB / 0.5016 GB, free: 27.05 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.3347, allocations: 4 kB / 0.5016 GB, free: 27.05 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.845e-05/0.3348, allocations: 43.55 kB / 0.5016 GB, free: 27.04 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003321/0.3352, allocations: 277.5 kB / 0.5019 GB, free: 26.8 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002555/0.3354, allocations: 75.89 kB / 0.5019 GB, free: 26.76 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.051e-05/0.3355, allocations: 28.97 kB / 0.502 GB, free: 26.75 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.182e-05/0.3355, allocations: 3.156 kB / 0.502 GB, free: 26.75 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001349/0.3356, allocations: 76.67 kB / 0.502 GB, free: 26.69 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.392e-06/0.3356, allocations: 0 / 0.502 GB, free: 26.69 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007841/0.3364, allocations: 318.5 kB / 0.5024 GB, free: 26.55 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.067e-05/0.3364, allocations: 54.69 kB / 0.5024 GB, free: 26.48 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001916/0.3366, allocations: 268.5 kB / 0.5027 GB, free: 26.34 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.363e-05/0.3367, allocations: 32.8 kB / 0.5027 GB, free: 26.3 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.499e-05/0.3367, allocations: 114.3 kB / 0.5028 GB, free: 26.2 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.355e-05/0.3367, allocations: 48.67 kB / 0.5028 GB, free: 26.16 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.206e-05/0.3368, allocations: 29.88 kB / 0.5029 GB, free: 26.14 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.84e-05/0.3368, allocations: 335.7 kB / 0.5032 GB, free: 25.81 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.815e-05/0.3369, allocations: 37.7 kB / 0.5032 GB, free: 25.8 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.427e-05/0.337, allocations: 70.56 kB / 0.5033 GB, free: 25.76 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001526/0.3371, allocations: 98.08 kB / 0.5034 GB, free: 25.71 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.3371, allocations: 4 kB / 0.5034 GB, free: 25.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002324/0.3374, allocations: 172.7 kB / 0.5036 GB, free: 25.62 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.3374, allocations: 6.281 kB / 0.5036 GB, free: 25.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.3374, allocations: 0 / 0.5036 GB, free: 25.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.3374, allocations: 0 / 0.5036 GB, free: 25.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.401e-05/0.3375, allocations: 29.31 kB / 0.5036 GB, free: 25.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.3375, allocations: 7.219 kB / 0.5036 GB, free: 25.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.969e-05/0.3376, allocations: 7.375 kB / 0.5036 GB, free: 25.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.3376, allocations: 14.34 kB / 0.5036 GB, free: 25.6 MB / 446.1 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 (16): * Single equations (assignments): 16 * 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 8.332e-05/0.3376, allocations: 133.7 kB / 0.5037 GB, free: 25.48 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.641e-05/0.3377, allocations: 18.05 kB / 0.5038 GB, free: 25.46 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003216/0.338, allocations: 200.4 kB / 0.504 GB, free: 25.37 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.338, allocations: 0 / 0.504 GB, free: 25.37 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.338, allocations: 0.8438 kB / 0.504 GB, free: 25.37 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.338, allocations: 6.812 kB / 0.504 GB, free: 25.37 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000503/0.3385, allocations: 466 kB / 0.5044 GB, free: 25.03 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.3385, allocations: 0 / 0.5044 GB, free: 25.03 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.804e-05/0.3386, allocations: 28.25 kB / 0.5044 GB, free: 25.03 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.3386, allocations: 3.938 kB / 0.5044 GB, free: 25.02 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.3386, allocations: 7.125 kB / 0.5044 GB, free: 25.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.3386, allocations: 2.969 kB / 0.5044 GB, free: 25.02 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.3386, allocations: 0 / 0.5044 GB, free: 25.02 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000262/0.3389, allocations: 276.8 kB / 0.5047 GB, free: 24.83 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.624e-05/0.3389, allocations: 21.36 kB / 0.5047 GB, free: 24.81 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.99e-05/0.3389, allocations: 14.83 kB / 0.5047 GB, free: 24.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.26e-05/0.339, allocations: 3.938 kB / 0.5048 GB, free: 24.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.149e-05/0.339, allocations: 9.406 kB / 0.5048 GB, free: 24.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2e-05/0.3391, allocations: 13.41 kB / 0.5048 GB, free: 24.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001248/0.3392, allocations: 198.5 kB / 0.505 GB, free: 24.69 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3392, allocations: 0 / 0.505 GB, free: 24.69 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002863/0.3395, allocations: 35.69 kB / 0.505 GB, free: 24.68 MB / 446.1 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 (16): * Single equations (assignments): 14 * 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.001994/0.3415, allocations: 0.536 MB / 0.5055 GB, free: 24.41 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002425/0.3417, allocations: 107.8 kB / 0.5056 GB, free: 24.38 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3417, allocations: 3.062 kB / 0.5056 GB, free: 24.38 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.522e-05/0.3418, allocations: 48.16 kB / 0.5057 GB, free: 24.36 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003777/0.3422, allocations: 42.66 kB / 0.5057 GB, free: 24.34 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004893/0.3427, allocations: 353.3 kB / 0.506 GB, free: 24.11 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.208e-05/0.3428, allocations: 116.6 kB / 0.5062 GB, free: 24.04 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.003e-05/0.3428, allocations: 24.03 kB / 0.5062 GB, free: 24.03 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.555e-05/0.3429, allocations: 28.06 kB / 0.5062 GB, free: 24.02 MB / 446.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3429, allocations: 0 / 0.5062 GB, free: 24.02 MB / 446.1 MB Notification: Performance of Templates: time 0.005082/0.3479, allocations: 2.318 MB / 0.5085 GB, free: 23.71 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.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.917123646009713]