Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.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.001596/0.001596, allocations: 96.25 kB / 20.96 MB, free: 3.469 MB / 18.57 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.001618/0.001618, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 18.57 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.513/1.513, allocations: 177 MB / 204.5 MB, free: 5.602 MB / 186.7 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.3556/0.3556, allocations: 34.25 MB / 295.2 MB, free: 0.668 MB / 266.7 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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0 / 377.3 MB, free: 2.824 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.611e-05/3.803e-05, allocations: 4.703 kB / 377.3 MB, free: 2.82 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.003915/0.003953, allocations: 1.9 MB / 379.2 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002162/0.006115, allocations: 1.013 MB / 380.2 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001187/0.006234, allocations: 7.938 kB / 380.2 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000364/0.006598, allocations: 39.7 kB / 380.3 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003834/0.006981, allocations: 107.4 kB / 380.4 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002608/0.007242, allocations: 99.52 kB / 380.5 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002688/0.007511, allocations: 147.5 kB / 380.6 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.007641, allocations: 21.8 kB / 380.6 MB, free: 15.47 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001488/0.00779, allocations: 75.75 kB / 380.7 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001137/0.007903, allocations: 43.83 kB / 380.7 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.47e-05/0.007928, allocations: 4 kB / 380.7 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001183/0.008046, allocations: 47.92 kB / 380.8 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.73e-05/0.008124, allocations: 27.91 kB / 380.8 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.484e-05/0.008198, allocations: 31.86 kB / 380.8 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003267/0.008525, allocations: 155.4 kB / 381 MB, free: 15.09 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.008529, allocations: 0 / 381 MB, free: 15.09 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.00853, allocations: 4 kB / 381 MB, free: 15.09 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.008536, allocations: 0 / 381 MB, free: 15.09 MB / 362.7 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.0007789/0.009315, allocations: 407.1 kB / 381.4 MB, free: 14.65 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.009357, allocations: 8.031 kB / 381.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.818e-05/0.009455, allocations: 28.8 kB / 381.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003705/0.009826, allocations: 178.2 kB / 381.6 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/0.009843, allocations: 8.375 kB / 381.6 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003215/0.01016, allocations: 12.31 kB / 381.6 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002964/0.01046, allocations: 130.5 kB / 381.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.01047, allocations: 192 / 381.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.727e-05/0.01049, allocations: 4.375 kB / 381.8 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.919e-06/0.0105, allocations: 7.938 kB / 381.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001681/0.01067, allocations: 51.89 kB / 381.8 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00068/0.01135, allocations: 460.6 kB / 382.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003785/0.01172, allocations: 86.66 kB / 382.4 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001112/0.01184, allocations: 36.84 kB / 382.4 MB, free: 13.56 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.834e-05/0.01185, allocations: 0 / 382.4 MB, free: 13.56 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002368/0.01209, allocations: 117 kB / 382.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.102e-06/0.01209, allocations: 0 / 382.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004711/0.01256, allocations: 149.5 kB / 382.6 MB, free: 13.28 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.749e-05/0.01261, allocations: 55.41 kB / 382.7 MB, free: 13.21 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002486/0.01286, allocations: 207.6 kB / 382.9 MB, free: 13 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.989e-05/0.01289, allocations: 29.7 kB / 382.9 MB, free: 12.96 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.013, allocations: 116 kB / 383 MB, free: 12.85 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.444e-05/0.01303, allocations: 31.78 kB / 383.1 MB, free: 12.82 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.878e-05/0.01309, allocations: 29.67 kB / 383.1 MB, free: 12.78 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001874/0.01328, allocations: 326.8 kB / 383.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001101/0.01339, allocations: 31.97 kB / 383.5 MB, free: 12.42 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001302/0.01352, allocations: 72.2 kB / 383.5 MB, free: 12.34 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002196/0.01374, allocations: 100.5 kB / 383.6 MB, free: 12.22 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.01374, allocations: 0 / 383.6 MB, free: 12.22 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003143/0.01405, allocations: 141.4 kB / 383.8 MB, free: 12.08 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.01407, allocations: 7.984 kB / 383.8 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.01408, allocations: 8.125 kB / 383.8 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.0141, allocations: 0 / 383.8 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.01421, allocations: 31.92 kB / 383.8 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.01422, allocations: 0 / 383.8 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.337e-05/0.0143, allocations: 11.94 kB / 383.8 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.01431, allocations: 4 kB / 383.8 MB, free: 12.02 MB / 362.7 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 0.0001325/0.01444, allocations: 132.6 kB / 384 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.052e-05/0.01448, allocations: 19.89 kB / 384 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003309/0.01482, allocations: 135 kB / 384.1 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.01482, allocations: 7.938 kB / 384.1 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.01482, allocations: 0 / 384.1 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.01482, allocations: 0 / 384.1 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001947/0.01502, allocations: 157.2 kB / 384.3 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.01502, allocations: 0 / 384.3 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.905e-05/0.01511, allocations: 19.92 kB / 384.3 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.01511, allocations: 0 / 384.3 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.678e-05/0.01513, allocations: 8 kB / 384.3 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.01513, allocations: 0 / 384.3 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.01513, allocations: 0 / 384.3 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004621/0.01559, allocations: 200.8 kB / 384.5 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.601e-05/0.01562, allocations: 11.94 kB / 384.5 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.449e-05/0.01564, allocations: 4 kB / 384.5 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.161e-05/0.01571, allocations: 15.98 kB / 384.5 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.677e-05/0.01577, allocations: 7.984 kB / 384.5 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.531e-05/0.01579, allocations: 0 / 384.5 MB, free: 11.25 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001607/0.01595, allocations: 147.2 kB / 384.7 MB, free: 11.11 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01595, allocations: 0 / 384.7 MB, free: 11.11 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000254/0.0162, allocations: 27.94 kB / 384.7 MB, free: 11.08 MB / 362.7 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.001967/0.01817, allocations: 435.4 kB / 385.1 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000276/0.01844, allocations: 83.83 kB / 385.2 MB, free: 10.71 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.01845, allocations: 0 / 385.2 MB, free: 10.71 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001159/0.01856, allocations: 35.97 kB / 385.2 MB, free: 10.68 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003405/0.0189, allocations: 53.39 kB / 385.3 MB, free: 10.63 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006421/0.01954, allocations: 276.8 kB / 385.6 MB, free: 10.34 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001226/0.01967, allocations: 106.1 kB / 385.7 MB, free: 10.21 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.781e-05/0.01974, allocations: 13.48 kB / 385.7 MB, free: 10.2 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.87e-05/0.01978, allocations: 20.48 kB / 385.7 MB, free: 10.18 MB / 362.7 MB Notification: Performance of SimCode: time 6.92e-07/0.01978, allocations: 4 kB / 385.7 MB, free: 10.17 MB / 362.7 MB Notification: Performance of Templates: time 0.006192/0.02598, allocations: 2.042 MB / 387.8 MB, free: 8.152 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.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.818151236046106]