Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.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.001342/0.001342, allocations: 75.75 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.001579/0.001579, allocations: 159.7 kB / 24.49 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.453/1.453, allocations: 177.1 MB / 204.7 MB, free: 8.914 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.2193/0.2193, allocations: 34.25 MB / 295.4 MB, free: 14.52 MB / 286.1 MB " [Timeout remaining time 179] 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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002503/0.002503, allocations: 75.88 kB / 443.2 MB, free: 6.484 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3308/0.3333, allocations: 66.05 MB / 0.4973 GB, free: 29.77 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.002843/0.3361, allocations: 1.907 MB / 0.4992 GB, free: 28.47 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001447/0.3375, allocations: 1.02 MB / 0.5002 GB, free: 27.81 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.086e-05/0.3376, allocations: 3.938 kB / 0.5002 GB, free: 27.81 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002858/0.3379, allocations: 44.06 kB / 0.5002 GB, free: 27.78 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002735/0.3382, allocations: 105.8 kB / 0.5003 GB, free: 27.72 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001845/0.3384, allocations: 87.58 kB / 0.5004 GB, free: 27.68 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001834/0.3386, allocations: 152.3 kB / 0.5006 GB, free: 27.61 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.914e-05/0.3387, allocations: 19.78 kB / 0.5006 GB, free: 27.59 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.504e-05/0.3387, allocations: 60.05 kB / 0.5006 GB, free: 27.57 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.09e-05/0.3388, allocations: 50.78 kB / 0.5007 GB, free: 27.54 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.083e-05/0.3389, allocations: 6.625 kB / 0.5007 GB, free: 27.54 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.888e-05/0.3389, allocations: 44.45 kB / 0.5007 GB, free: 27.53 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.951e-05/0.339, allocations: 36.25 kB / 0.5008 GB, free: 27.51 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.517e-05/0.3391, allocations: 40.67 kB / 0.5008 GB, free: 27.48 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002105/0.3393, allocations: 153.2 kB / 0.501 GB, free: 27.42 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.303e-05/0.3393, allocations: 0 / 0.501 GB, free: 27.42 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.3393, allocations: 0 / 0.501 GB, free: 27.42 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.221e-06/0.3393, allocations: 0 / 0.501 GB, free: 27.42 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000515/0.3398, allocations: 418.9 kB / 0.5014 GB, free: 27.04 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.033e-05/0.3398, allocations: 9.719 kB / 0.5014 GB, free: 27.04 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.687e-05/0.3399, allocations: 15.19 kB / 0.5014 GB, free: 27.03 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002321/0.3401, allocations: 175 kB / 0.5015 GB, free: 26.87 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.3401, allocations: 11.44 kB / 0.5016 GB, free: 26.86 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.236e-05/0.3402, allocations: 3.438 kB / 0.5016 GB, free: 26.86 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002049/0.3404, allocations: 142.1 kB / 0.5017 GB, free: 26.75 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.3404, allocations: 4 kB / 0.5017 GB, free: 26.74 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.3404, allocations: 3.125 kB / 0.5017 GB, free: 26.74 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.3404, allocations: 0 / 0.5017 GB, free: 26.74 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001428/0.3405, allocations: 49.89 kB / 0.5017 GB, free: 26.73 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004179/0.3409, allocations: 452 kB / 0.5022 GB, free: 26.32 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002944/0.3412, allocations: 87.23 kB / 0.5023 GB, free: 26.28 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.416e-05/0.3413, allocations: 42.3 kB / 0.5023 GB, free: 26.26 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.598e-05/0.3413, allocations: 0 / 0.5023 GB, free: 26.26 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001564/0.3415, allocations: 108.1 kB / 0.5024 GB, free: 26.17 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.703e-06/0.3415, allocations: 3.984 kB / 0.5024 GB, free: 26.17 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.000344/0.3418, allocations: 153.5 kB / 0.5026 GB, free: 26.09 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.693e-05/0.3419, allocations: 54.53 kB / 0.5026 GB, free: 26.03 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001369/0.342, allocations: 206.7 kB / 0.5028 GB, free: 25.89 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.057e-05/0.342, allocations: 25.7 kB / 0.5028 GB, free: 25.86 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.984e-05/0.3421, allocations: 120.7 kB / 0.5029 GB, free: 25.76 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.898e-05/0.3421, allocations: 34.75 kB / 0.503 GB, free: 25.73 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.765e-05/0.3421, allocations: 30.59 kB / 0.503 GB, free: 25.7 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.574e-05/0.3422, allocations: 329.5 kB / 0.5033 GB, free: 25.38 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.019e-05/0.3423, allocations: 30.56 kB / 0.5033 GB, free: 25.37 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.964e-05/0.3423, allocations: 61.92 kB / 0.5034 GB, free: 25.32 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001589/0.3425, allocations: 107.9 kB / 0.5035 GB, free: 25.25 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.3425, allocations: 0 / 0.5035 GB, free: 25.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002273/0.3427, allocations: 135.9 kB / 0.5036 GB, free: 25.18 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.3427, allocations: 6.344 kB / 0.5036 GB, free: 25.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.3427, allocations: 2.781 kB / 0.5036 GB, free: 25.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.3427, allocations: 4 kB / 0.5037 GB, free: 25.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.327e-05/0.3428, allocations: 29.31 kB / 0.5037 GB, free: 25.17 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.3428, allocations: 3.156 kB / 0.5037 GB, free: 25.17 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.443e-05/0.3429, allocations: 17.75 kB / 0.5037 GB, free: 25.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.3429, allocations: 6.938 kB / 0.5037 GB, free: 25.16 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 6.839e-05/0.343, allocations: 127.2 kB / 0.5038 GB, free: 25.04 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.573e-05/0.343, allocations: 14.12 kB / 0.5038 GB, free: 25.03 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002525/0.3433, allocations: 137 kB / 0.504 GB, free: 24.96 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.3433, allocations: 0 / 0.504 GB, free: 24.96 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.3433, allocations: 0 / 0.504 GB, free: 24.96 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.3433, allocations: 3.375 kB / 0.504 GB, free: 24.96 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.887e-05/0.3434, allocations: 158.7 kB / 0.5041 GB, free: 24.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3434, allocations: 3.219 kB / 0.5041 GB, free: 24.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.347e-05/0.3435, allocations: 13.09 kB / 0.5041 GB, free: 24.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.3435, allocations: 0 / 0.5041 GB, free: 24.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.3435, allocations: 6.938 kB / 0.5041 GB, free: 24.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.3435, allocations: 0 / 0.5041 GB, free: 24.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.3435, allocations: 0 / 0.5041 GB, free: 24.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003203/0.3438, allocations: 200.4 kB / 0.5043 GB, free: 24.68 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.082e-05/0.3438, allocations: 21.28 kB / 0.5044 GB, free: 24.67 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.176e-05/0.3438, allocations: 4.062 kB / 0.5044 GB, free: 24.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.095e-05/0.3439, allocations: 9.062 kB / 0.5044 GB, free: 24.66 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.877e-05/0.3439, allocations: 10.23 kB / 0.5044 GB, free: 24.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.454e-05/0.344, allocations: 2.719 kB / 0.5044 GB, free: 24.66 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.053e-05/0.344, allocations: 152.3 kB / 0.5045 GB, free: 24.57 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.344, allocations: 0 / 0.5045 GB, free: 24.57 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002283/0.3443, allocations: 26.66 kB / 0.5046 GB, free: 24.56 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.001496/0.3458, allocations: 432.2 kB / 0.505 GB, free: 24.34 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002311/0.346, allocations: 79.86 kB / 0.505 GB, free: 24.31 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.346, allocations: 0 / 0.505 GB, free: 24.31 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.151e-05/0.3461, allocations: 42.8 kB / 0.5051 GB, free: 24.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002816/0.3464, allocations: 34.05 kB / 0.5051 GB, free: 24.29 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004317/0.3468, allocations: 274 kB / 0.5054 GB, free: 24.09 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.606e-05/0.3469, allocations: 113.8 kB / 0.5055 GB, free: 24 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.701e-05/0.3469, allocations: 25.23 kB / 0.5055 GB, free: 23.99 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.426e-05/0.347, allocations: 22.75 kB / 0.5055 GB, free: 23.98 MB / 446.1 MB Notification: Performance of SimCode: time 3.81e-07/0.347, allocations: 0 / 0.5055 GB, free: 23.98 MB / 446.1 MB Notification: Performance of Templates: time 0.004871/0.3518, allocations: 2.03 MB / 0.5075 GB, free: 23.7 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.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.890166712924838]