Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.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.001941/0.001941, allocations: 81.86 kB / 21.25 MB, free: 0.5469 MB / 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.002752/0.002752, allocations: 159.6 kB / 24.5 MB, free: 3.719 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.459/1.459, allocations: 177.1 MB / 204.7 MB, free: 8.941 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.213/0.213, allocations: 34.26 MB / 295.4 MB, free: 14.46 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.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002522/0.002522, allocations: 75.88 kB / 443.2 MB, free: 6.395 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3269/0.3294, allocations: 66.05 MB / 0.4973 GB, free: 29.8 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.002989/0.3324, allocations: 1.725 MB / 0.499 GB, free: 28.62 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001439/0.3338, allocations: 0.9689 MB / 0.5 GB, free: 28 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.418e-05/0.3339, allocations: 0 / 0.5 GB, free: 28 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002812/0.3342, allocations: 47.17 kB / 0.5 GB, free: 27.98 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002798/0.3345, allocations: 101.6 kB / 0.5001 GB, free: 27.92 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001625/0.3346, allocations: 76.53 kB / 0.5002 GB, free: 27.88 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000144/0.3348, allocations: 107.3 kB / 0.5003 GB, free: 27.83 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.211e-05/0.3349, allocations: 11.69 kB / 0.5003 GB, free: 27.82 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.673e-05/0.3349, allocations: 42.95 kB / 0.5003 GB, free: 27.8 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.155e-05/0.335, allocations: 36.09 kB / 0.5004 GB, free: 27.79 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.945e-05/0.335, allocations: 3.219 kB / 0.5004 GB, free: 27.79 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.157e-05/0.3351, allocations: 40.95 kB / 0.5004 GB, free: 27.78 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.951e-05/0.3352, allocations: 21.44 kB / 0.5004 GB, free: 27.77 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.271e-05/0.3352, allocations: 37.3 kB / 0.5005 GB, free: 27.74 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001852/0.3354, allocations: 122 kB / 0.5006 GB, free: 27.69 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.772e-06/0.3354, allocations: 6.75 kB / 0.5006 GB, free: 27.69 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3354, allocations: 0 / 0.5006 GB, free: 27.69 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.65e-06/0.3354, allocations: 4 kB / 0.5006 GB, free: 27.69 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004848/0.3359, allocations: 351 kB / 0.5009 GB, free: 27.36 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.3359, allocations: 9.625 kB / 0.5009 GB, free: 27.36 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.289e-05/0.336, allocations: 8.203 kB / 0.5009 GB, free: 27.36 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002215/0.3362, allocations: 164.8 kB / 0.5011 GB, free: 27.2 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.237e-06/0.3362, allocations: 3.719 kB / 0.5011 GB, free: 27.2 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.112e-05/0.3362, allocations: 384 / 0.5011 GB, free: 27.2 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001315/0.3364, allocations: 61.53 kB / 0.5012 GB, free: 27.15 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.3364, allocations: 3.375 kB / 0.5012 GB, free: 27.15 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.258e-06/0.3364, allocations: 0 / 0.5012 GB, free: 27.15 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.3364, allocations: 4 kB / 0.5012 GB, free: 27.15 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.892e-05/0.3365, allocations: 23.67 kB / 0.5012 GB, free: 27.14 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002793/0.3367, allocations: 228.3 kB / 0.5014 GB, free: 26.93 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001511/0.3369, allocations: 64.17 kB / 0.5015 GB, free: 26.88 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.662e-05/0.3369, allocations: 21.86 kB / 0.5015 GB, free: 26.87 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.425e-05/0.3369, allocations: 0 / 0.5015 GB, free: 26.87 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001579/0.3371, allocations: 73.64 kB / 0.5016 GB, free: 26.81 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.3371, allocations: 0 / 0.5016 GB, free: 26.81 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005725/0.3377, allocations: 192 kB / 0.5017 GB, free: 26.71 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.257e-05/0.3377, allocations: 51.41 kB / 0.5018 GB, free: 26.65 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002106/0.3379, allocations: 220.1 kB / 0.502 GB, free: 26.51 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.3379, allocations: 32.95 kB / 0.502 GB, free: 26.47 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.767e-05/0.338, allocations: 102.9 kB / 0.5021 GB, free: 26.38 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.256e-05/0.338, allocations: 33.69 kB / 0.5022 GB, free: 26.35 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.15e-05/0.3381, allocations: 24 kB / 0.5022 GB, free: 26.33 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.521e-05/0.3382, allocations: 325.4 kB / 0.5025 GB, free: 26.01 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.382e-05/0.3382, allocations: 28.25 kB / 0.5025 GB, free: 26 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.931e-05/0.3383, allocations: 33.73 kB / 0.5026 GB, free: 25.97 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001198/0.3384, allocations: 65.78 kB / 0.5026 GB, free: 25.93 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.91e-07/0.3384, allocations: 0 / 0.5026 GB, free: 25.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001891/0.3386, allocations: 103.7 kB / 0.5027 GB, free: 25.88 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.3386, allocations: 6.562 kB / 0.5027 GB, free: 25.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.3386, allocations: 3.469 kB / 0.5027 GB, free: 25.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.3386, allocations: 0 / 0.5027 GB, free: 25.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.811e-05/0.3387, allocations: 15.38 kB / 0.5027 GB, free: 25.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.3388, allocations: 0 / 0.5027 GB, free: 25.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.71e-05/0.3388, allocations: 14.31 kB / 0.5028 GB, free: 25.87 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.3388, allocations: 3.094 kB / 0.5028 GB, free: 25.87 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 (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 9.825e-05/0.3389, allocations: 134.6 kB / 0.5029 GB, free: 25.74 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.55e-05/0.3389, allocations: 18.14 kB / 0.5029 GB, free: 25.73 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002649/0.3392, allocations: 121.4 kB / 0.503 GB, free: 25.66 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.3392, allocations: 3.031 kB / 0.503 GB, free: 25.66 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.3392, allocations: 0 / 0.503 GB, free: 25.66 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.3392, allocations: 3.375 kB / 0.503 GB, free: 25.66 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004007/0.3396, allocations: 352.5 kB / 0.5034 GB, free: 25.37 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.3396, allocations: 4.031 kB / 0.5034 GB, free: 25.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.798e-05/0.3397, allocations: 10 kB / 0.5034 GB, free: 25.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3397, allocations: 0 / 0.5034 GB, free: 25.36 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/0.3397, allocations: 7 kB / 0.5034 GB, free: 25.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3397, allocations: 0 / 0.5034 GB, free: 25.36 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.3397, allocations: 0 / 0.5034 GB, free: 25.36 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002136/0.3399, allocations: 223.7 kB / 0.5036 GB, free: 25.18 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.828e-05/0.3399, allocations: 11.02 kB / 0.5036 GB, free: 25.18 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.674e-05/0.3399, allocations: 10.45 kB / 0.5036 GB, free: 25.17 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.008e-05/0.34, allocations: 0 / 0.5036 GB, free: 25.17 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.586e-05/0.34, allocations: 17.62 kB / 0.5036 GB, free: 25.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.63e-05/0.3401, allocations: 3.375 kB / 0.5036 GB, free: 25.16 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001228/0.3402, allocations: 160.2 kB / 0.5038 GB, free: 25.07 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3402, allocations: 0 / 0.5038 GB, free: 25.07 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002728/0.3405, allocations: 23.62 kB / 0.5038 GB, free: 25.06 MB / 446.1 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.001879/0.3423, allocations: 488.7 kB / 0.5043 GB, free: 24.82 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001913/0.3425, allocations: 60.52 kB / 0.5043 GB, free: 24.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.3425, allocations: 3.094 kB / 0.5043 GB, free: 24.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.632e-05/0.3426, allocations: 23.03 kB / 0.5044 GB, free: 24.79 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003608/0.343, allocations: 35.09 kB / 0.5044 GB, free: 24.79 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004201/0.3434, allocations: 250.8 kB / 0.5046 GB, free: 24.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.967e-05/0.3435, allocations: 103.5 kB / 0.5047 GB, free: 24.52 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.842e-05/0.3435, allocations: 21.89 kB / 0.5048 GB, free: 24.51 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.326e-05/0.3435, allocations: 17.72 kB / 0.5048 GB, free: 24.5 MB / 446.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3435, allocations: 0 / 0.5048 GB, free: 24.5 MB / 446.1 MB Notification: Performance of Templates: time 0.004922/0.3485, allocations: 1.842 MB / 0.5066 GB, free: 24.24 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.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: 5.032717598951422]