Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.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.001809/0.001809, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001703/0.001703, allocations: 203 kB / 23.72 MB, free: 4.391 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.618/1.618, allocations: 230.5 MB / 257.4 MB, free: 7.762 MB / 206.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.2485/0.2485, allocations: 46.94 MB / 360.8 MB, free: 3.906 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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003892/0.003892, allocations: 83.86 kB / 0.4967 GB, free: 6.957 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.41/0.4139, allocations: 66.08 MB / 0.5612 GB, free: 3.926 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.004042/0.4179, allocations: 1.666 MB / 0.5629 GB, free: 2.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002216/0.4201, allocations: 0.9554 MB / 0.5638 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.987e-05/0.4202, allocations: 3.938 kB / 0.5638 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003265/0.4206, allocations: 47.75 kB / 0.5638 GB, free: 1.238 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003895/0.4209, allocations: 115.5 kB / 0.564 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002275/0.4212, allocations: 63.75 kB / 0.564 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002056/0.4214, allocations: 103.7 kB / 0.5641 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.169e-05/0.4215, allocations: 4.234 kB / 0.5641 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.409e-05/0.4215, allocations: 39.8 kB / 0.5642 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.411e-05/0.4216, allocations: 31.78 kB / 0.5642 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.771e-05/0.4217, allocations: 4 kB / 0.5642 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001015/0.4218, allocations: 39.98 kB / 0.5642 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.456e-05/0.4218, allocations: 23.92 kB / 0.5643 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.743e-05/0.4219, allocations: 35.67 kB / 0.5643 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002184/0.4221, allocations: 125.8 kB / 0.5644 GB, free: 0.668 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.4221, allocations: 0 / 0.5644 GB, free: 0.668 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.4221, allocations: 0 / 0.5644 GB, free: 0.668 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.548e-06/0.4221, allocations: 0 / 0.5644 GB, free: 0.668 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005611/0.4227, allocations: 365.4 kB / 0.5648 GB, free: 288 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.4227, allocations: 12.03 kB / 0.5648 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.018e-05/0.4228, allocations: 12.88 kB / 0.5648 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000292/0.423, allocations: 167.2 kB / 0.5649 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.4231, allocations: 4.375 kB / 0.5649 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.5e-05/0.4231, allocations: 384 / 0.5649 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/0.4232, allocations: 69.84 kB / 0.565 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.4233, allocations: 0 / 0.565 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.4233, allocations: 0 / 0.565 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/0.4233, allocations: 0 / 0.565 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.763e-05/0.4233, allocations: 19.98 kB / 0.565 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002409/0.4236, allocations: 133.3 kB / 0.5652 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001614/0.4238, allocations: 50.62 kB / 0.5652 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.668e-05/0.4238, allocations: 24.84 kB / 0.5652 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.476e-05/0.4238, allocations: 0 / 0.5652 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001597/0.424, allocations: 71.33 kB / 0.5653 GB, free: 15.64 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/0.424, allocations: 0 / 0.5653 GB, free: 15.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002988/0.4243, allocations: 109.5 kB / 0.5654 GB, free: 15.53 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.004e-05/0.4243, allocations: 55.41 kB / 0.5655 GB, free: 15.46 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000343/0.4247, allocations: 274.8 kB / 0.5657 GB, free: 15.18 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.13e-05/0.4247, allocations: 29.64 kB / 0.5657 GB, free: 15.14 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.194e-05/0.4248, allocations: 120.1 kB / 0.5659 GB, free: 15.02 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.976e-05/0.4248, allocations: 15.91 kB / 0.5659 GB, free: 15.01 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.989e-05/0.4249, allocations: 21.7 kB / 0.5659 GB, free: 14.98 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001873/0.4251, allocations: 326.8 kB / 0.5662 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.413e-05/0.4251, allocations: 15.98 kB / 0.5662 GB, free: 14.64 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.521e-05/0.4252, allocations: 29.7 kB / 0.5662 GB, free: 14.6 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001029/0.4253, allocations: 41.72 kB / 0.5663 GB, free: 14.55 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.4253, allocations: 0 / 0.5663 GB, free: 14.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000176/0.4255, allocations: 93.52 kB / 0.5664 GB, free: 14.46 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.4255, allocations: 10.28 kB / 0.5664 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.4255, allocations: 4.031 kB / 0.5664 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.4255, allocations: 4 kB / 0.5664 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.067e-05/0.4256, allocations: 11.98 kB / 0.5664 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.4256, allocations: 0 / 0.5664 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.149e-05/0.4256, allocations: 11.89 kB / 0.5664 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.4257, allocations: 0 / 0.5664 GB, free: 14.42 MB / 414.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 (7): * Single equations (assignments): 7 * 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.0001291/0.4258, allocations: 139.1 kB / 0.5665 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.801e-05/0.4258, allocations: 19.84 kB / 0.5666 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002246/0.426, allocations: 98.75 kB / 0.5667 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.426, allocations: 8 kB / 0.5667 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.426, allocations: 384 / 0.5667 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.426, allocations: 3.938 kB / 0.5667 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001627/0.4262, allocations: 137.3 kB / 0.5668 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.4262, allocations: 8 kB / 0.5668 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.721e-05/0.4262, allocations: 4 kB / 0.5668 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.4262, allocations: 0 / 0.5668 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.4263, allocations: 3.938 kB / 0.5668 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.4263, allocations: 0 / 0.5668 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.4263, allocations: 3.938 kB / 0.5668 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002144/0.4265, allocations: 121 kB / 0.5669 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.127e-05/0.4265, allocations: 19.89 kB / 0.567 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.797e-05/0.4265, allocations: 7.938 kB / 0.567 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.69e-05/0.4266, allocations: 0 / 0.567 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.214e-05/0.4266, allocations: 7.984 kB / 0.567 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.668e-05/0.4266, allocations: 3.984 kB / 0.567 GB, free: 13.77 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002127/0.4268, allocations: 204.6 kB / 0.5672 GB, free: 13.57 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4268, allocations: 0 / 0.5672 GB, free: 13.57 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002275/0.4271, allocations: 23.98 kB / 0.5672 GB, free: 13.55 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001729/0.4288, allocations: 436.7 kB / 0.5676 GB, free: 13.26 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00018/0.429, allocations: 43.86 kB / 0.5677 GB, free: 13.22 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/0.429, allocations: 4 kB / 0.5677 GB, free: 13.21 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.74e-05/0.4291, allocations: 19.98 kB / 0.5677 GB, free: 13.2 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002916/0.4293, allocations: 19.98 kB / 0.5677 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006925/0.43, allocations: 282.4 kB / 0.568 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001212/0.4302, allocations: 101.8 kB / 0.5681 GB, free: 12.76 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.109e-05/0.4302, allocations: 20.53 kB / 0.5681 GB, free: 12.74 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.894e-05/0.4303, allocations: 15.44 kB / 0.5681 GB, free: 12.72 MB / 414.1 MB Notification: Performance of SimCode: time 4.61e-07/0.4303, allocations: 0 / 0.5681 GB, free: 12.72 MB / 414.1 MB Notification: Performance of Templates: time 0.005431/0.4357, allocations: 1.727 MB / 0.5698 GB, free: 11.02 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.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.450968503952026]