Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.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.001785/0.001785, allocations: 82.25 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.002196/0.002196, allocations: 160.2 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.464/1.464, allocations: 177.1 MB / 204.7 MB, free: 8.969 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.2119/0.2119, allocations: 34.26 MB / 295.4 MB, free: 14.48 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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002439/0.002439, allocations: 75.88 kB / 443.2 MB, free: 6.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3278/0.3303, allocations: 66.05 MB / 0.4973 GB, free: 29.8 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.002895/0.3332, allocations: 1.916 MB / 0.4992 GB, free: 28.48 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001503/0.3347, allocations: 1.01 MB / 0.5002 GB, free: 27.83 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.088e-05/0.3348, allocations: 3.219 kB / 0.5002 GB, free: 27.83 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002924/0.3351, allocations: 47.69 kB / 0.5002 GB, free: 27.8 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002962/0.3354, allocations: 102.3 kB / 0.5003 GB, free: 27.75 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001888/0.3355, allocations: 98.83 kB / 0.5004 GB, free: 27.69 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001958/0.3357, allocations: 146.8 kB / 0.5006 GB, free: 27.62 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.3359, allocations: 19.64 kB / 0.5006 GB, free: 27.61 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.033e-05/0.3359, allocations: 61.73 kB / 0.5006 GB, free: 27.58 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.296e-05/0.336, allocations: 51.05 kB / 0.5007 GB, free: 27.55 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.182e-05/0.3361, allocations: 6.531 kB / 0.5007 GB, free: 27.55 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.972e-05/0.3361, allocations: 55.88 kB / 0.5007 GB, free: 27.54 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.078e-05/0.3362, allocations: 22.05 kB / 0.5008 GB, free: 27.52 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.674e-05/0.3363, allocations: 40.16 kB / 0.5008 GB, free: 27.5 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002152/0.3365, allocations: 154.9 kB / 0.501 GB, free: 27.43 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.3365, allocations: 3.219 kB / 0.501 GB, free: 27.43 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3365, allocations: 0 / 0.501 GB, free: 27.43 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.3365, allocations: 0 / 0.501 GB, free: 27.43 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.0005334/0.337, allocations: 424.9 kB / 0.5014 GB, free: 27.05 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.3371, allocations: 9.312 kB / 0.5014 GB, free: 27.05 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.641e-05/0.3371, allocations: 15.34 kB / 0.5014 GB, free: 27.04 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002407/0.3373, allocations: 175.3 kB / 0.5016 GB, free: 26.88 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.3374, allocations: 3.281 kB / 0.5016 GB, free: 26.88 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.78e-05/0.3374, allocations: 7.375 kB / 0.5016 GB, free: 26.87 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002101/0.3376, allocations: 135.2 kB / 0.5017 GB, free: 26.77 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.3376, allocations: 3.281 kB / 0.5017 GB, free: 26.77 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.3376, allocations: 4 kB / 0.5017 GB, free: 26.76 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.3376, allocations: 4 kB / 0.5017 GB, free: 26.76 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001382/0.3378, allocations: 54.45 kB / 0.5018 GB, free: 26.74 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004328/0.3382, allocations: 445.9 kB / 0.5022 GB, free: 26.34 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003107/0.3385, allocations: 79.47 kB / 0.5023 GB, free: 26.3 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.617e-05/0.3386, allocations: 38.34 kB / 0.5023 GB, free: 26.29 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.684e-05/0.3386, allocations: 0 / 0.5023 GB, free: 26.29 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001713/0.3388, allocations: 123.3 kB / 0.5024 GB, free: 26.18 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.393e-06/0.3388, allocations: 0 / 0.5024 GB, free: 26.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.000361/0.3391, allocations: 149.3 kB / 0.5026 GB, free: 26.11 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.428e-05/0.3392, allocations: 54.5 kB / 0.5026 GB, free: 26.05 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001517/0.3393, allocations: 215.7 kB / 0.5028 GB, free: 25.91 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.143e-05/0.3393, allocations: 25.7 kB / 0.5028 GB, free: 25.88 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.154e-05/0.3394, allocations: 113.8 kB / 0.5029 GB, free: 25.77 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.092e-05/0.3394, allocations: 33.45 kB / 0.503 GB, free: 25.75 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.96e-05/0.3394, allocations: 31.62 kB / 0.503 GB, free: 25.72 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.878e-05/0.3395, allocations: 328.4 kB / 0.5033 GB, free: 25.4 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.228e-05/0.3396, allocations: 26.83 kB / 0.5033 GB, free: 25.39 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.772e-05/0.3397, allocations: 72.75 kB / 0.5034 GB, free: 25.34 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000161/0.3398, allocations: 99.58 kB / 0.5035 GB, free: 25.27 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3398, allocations: 0 / 0.5035 GB, free: 25.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000239/0.3401, allocations: 142.4 kB / 0.5036 GB, free: 25.2 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.3401, allocations: 3.25 kB / 0.5036 GB, free: 25.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.3401, allocations: 2.906 kB / 0.5037 GB, free: 25.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.3401, allocations: 2.906 kB / 0.5037 GB, free: 25.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.489e-05/0.3402, allocations: 25.73 kB / 0.5037 GB, free: 25.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.3402, allocations: 3.984 kB / 0.5037 GB, free: 25.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.642e-05/0.3403, allocations: 14.64 kB / 0.5037 GB, free: 25.19 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.307e-06/0.3403, allocations: 15.75 kB / 0.5037 GB, free: 25.18 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 7.249e-05/0.3403, allocations: 130.4 kB / 0.5038 GB, free: 25.05 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.236e-05/0.3404, allocations: 14.22 kB / 0.5038 GB, free: 25.04 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002588/0.3406, allocations: 139.1 kB / 0.504 GB, free: 24.97 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.3406, allocations: 0 / 0.504 GB, free: 24.97 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.3406, allocations: 3.188 kB / 0.504 GB, free: 24.97 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.646e-06/0.3406, allocations: 0 / 0.504 GB, free: 24.97 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001015/0.3407, allocations: 149.8 kB / 0.5041 GB, free: 24.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3407, allocations: 0 / 0.5041 GB, free: 24.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.77e-05/0.3408, allocations: 20.28 kB / 0.5041 GB, free: 24.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.3408, allocations: 0 / 0.5041 GB, free: 24.82 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.3408, allocations: 0 / 0.5041 GB, free: 24.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.3408, allocations: 3.281 kB / 0.5041 GB, free: 24.82 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3408, allocations: 3.281 kB / 0.5042 GB, free: 24.82 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003267/0.3412, allocations: 194.3 kB / 0.5043 GB, free: 24.71 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.037e-05/0.3412, allocations: 15.02 kB / 0.5044 GB, free: 24.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.438e-05/0.3412, allocations: 11.41 kB / 0.5044 GB, free: 24.69 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.273e-05/0.3413, allocations: 6.406 kB / 0.5044 GB, free: 24.69 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.557e-05/0.3413, allocations: 10.44 kB / 0.5044 GB, free: 24.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.687e-05/0.3413, allocations: 7.031 kB / 0.5044 GB, free: 24.68 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.106e-05/0.3414, allocations: 150.2 kB / 0.5045 GB, free: 24.59 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3414, allocations: 0 / 0.5045 GB, free: 24.59 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002423/0.3417, allocations: 26.62 kB / 0.5046 GB, free: 24.58 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.001515/0.3432, allocations: 434.7 kB / 0.505 GB, free: 24.36 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002329/0.3434, allocations: 81.81 kB / 0.505 GB, free: 24.34 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.3434, allocations: 8 kB / 0.5051 GB, free: 24.33 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.212e-05/0.3435, allocations: 38.91 kB / 0.5051 GB, free: 24.32 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002957/0.3438, allocations: 33.52 kB / 0.5051 GB, free: 24.31 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004414/0.3442, allocations: 276.9 kB / 0.5054 GB, free: 24.11 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.459e-05/0.3443, allocations: 115.1 kB / 0.5055 GB, free: 24.02 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.777e-05/0.3444, allocations: 20.53 kB / 0.5055 GB, free: 24.01 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.386e-05/0.3444, allocations: 17.72 kB / 0.5055 GB, free: 24 MB / 446.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3444, allocations: 0 / 0.5055 GB, free: 24 MB / 446.1 MB Notification: Performance of Templates: time 0.004846/0.3492, allocations: 2.034 MB / 0.5075 GB, free: 23.72 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.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.954260096070357]