Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.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.00129/0.00129, allocations: 109.1 kB / 21.19 MB, free: 0.7617 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.001504/0.001504, allocations: 217 kB / 24.5 MB, free: 4.133 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.389/1.389, allocations: 230.5 MB / 258.1 MB, free: 8.012 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.2254/0.2254, allocations: 46.92 MB / 361.5 MB, free: 4.184 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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002189/0.002189, allocations: 75.88 kB / 0.4975 GB, free: 7.191 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3426/0.3447, allocations: 66.09 MB / 0.562 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.003199/0.3479, allocations: 1.741 MB / 0.5637 GB, free: 2.465 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001728/0.3497, allocations: 1.053 MB / 0.5648 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.731e-05/0.3497, allocations: 0 / 0.5648 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000292/0.35, allocations: 39.77 kB / 0.5648 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003134/0.3503, allocations: 99.53 kB / 0.5649 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001956/0.3505, allocations: 71.75 kB / 0.565 GB, free: 1.199 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001964/0.3507, allocations: 111.6 kB / 0.5651 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.201e-05/0.3508, allocations: 12 kB / 0.5651 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001126/0.3509, allocations: 43.78 kB / 0.5651 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.874e-05/0.351, allocations: 31.84 kB / 0.5651 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.44e-05/0.351, allocations: 4 kB / 0.5652 GB, free: 1 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.272e-05/0.3511, allocations: 43.92 kB / 0.5652 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.386e-05/0.3512, allocations: 19.92 kB / 0.5652 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.184e-05/0.3512, allocations: 39.72 kB / 0.5652 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002176/0.3515, allocations: 121.9 kB / 0.5654 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3515, allocations: 0 / 0.5654 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3515, allocations: 0 / 0.5654 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.533e-06/0.3515, allocations: 0 / 0.5654 GB, free: 0.7852 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005685/0.352, allocations: 341.6 kB / 0.5657 GB, free: 432 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.3521, allocations: 12.03 kB / 0.5657 GB, free: 420 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.769e-05/0.3521, allocations: 16.83 kB / 0.5657 GB, free: 404 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002778/0.3524, allocations: 151.6 kB / 0.5659 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.3524, allocations: 384 / 0.5659 GB, free: 228 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.141e-05/0.3524, allocations: 4.375 kB / 0.5659 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000151/0.3526, allocations: 57.98 kB / 0.5659 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.3526, allocations: 0 / 0.5659 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.3526, allocations: 4 kB / 0.5659 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.3526, allocations: 0 / 0.5659 GB, free: 156 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.345e-05/0.3527, allocations: 19.98 kB / 0.5659 GB, free: 136 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003988/0.3531, allocations: 263.9 kB / 0.5662 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001633/0.3532, allocations: 50.67 kB / 0.5662 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.079e-05/0.3533, allocations: 24.86 kB / 0.5663 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.367e-05/0.3533, allocations: 4 kB / 0.5663 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001496/0.3535, allocations: 63.39 kB / 0.5663 GB, free: 15.67 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.3535, allocations: 3.938 kB / 0.5663 GB, free: 15.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005033/0.354, allocations: 173.3 kB / 0.5665 GB, free: 15.49 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.771e-05/0.3541, allocations: 59.34 kB / 0.5666 GB, free: 15.42 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001795/0.3543, allocations: 187.2 kB / 0.5667 GB, free: 15.22 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.3543, allocations: 29.7 kB / 0.5668 GB, free: 15.19 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.7e-05/0.3543, allocations: 108.1 kB / 0.5669 GB, free: 15.08 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.945e-05/0.3544, allocations: 19.86 kB / 0.5669 GB, free: 15.06 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.719e-05/0.3544, allocations: 21.7 kB / 0.5669 GB, free: 15.03 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.3546, allocations: 326.8 kB / 0.5672 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.546e-05/0.3546, allocations: 20 kB / 0.5672 GB, free: 14.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.602e-05/0.3547, allocations: 37.7 kB / 0.5673 GB, free: 14.64 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001115/0.3548, allocations: 61.69 kB / 0.5673 GB, free: 14.57 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.3548, allocations: 3.938 kB / 0.5673 GB, free: 14.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001845/0.355, allocations: 101.7 kB / 0.5674 GB, free: 14.46 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.355, allocations: 11.98 kB / 0.5674 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.355, allocations: 3.938 kB / 0.5675 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.355, allocations: 0 / 0.5675 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.58e-05/0.3551, allocations: 15.94 kB / 0.5675 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.3551, allocations: 8.031 kB / 0.5675 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.934e-05/0.3551, allocations: 0 / 0.5675 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.194e-05/0.3552, allocations: 11.98 kB / 0.5675 GB, free: 14.41 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 (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.774e-05/0.3553, allocations: 123.9 kB / 0.5676 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.33e-05/0.3553, allocations: 11.94 kB / 0.5676 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002439/0.3555, allocations: 122.9 kB / 0.5677 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.3555, allocations: 4 kB / 0.5677 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.3555, allocations: 0 / 0.5677 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.3555, allocations: 4 kB / 0.5677 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004305/0.356, allocations: 362.3 kB / 0.5681 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.356, allocations: 4 kB / 0.5681 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.146e-05/0.356, allocations: 7.984 kB / 0.5681 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.356, allocations: 4 kB / 0.5681 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.206e-06/0.356, allocations: 384 / 0.5681 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.356, allocations: 3.938 kB / 0.5681 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.356, allocations: 4 kB / 0.5681 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002337/0.3563, allocations: 208.4 kB / 0.5683 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.824e-05/0.3563, allocations: 11.91 kB / 0.5683 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.291e-05/0.3563, allocations: 3.984 kB / 0.5683 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.619e-05/0.3564, allocations: 7.875 kB / 0.5683 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.817e-05/0.3564, allocations: 12.17 kB / 0.5683 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.352e-05/0.3564, allocations: 4 kB / 0.5683 GB, free: 13.44 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001198/0.3565, allocations: 144.8 kB / 0.5685 GB, free: 13.3 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3565, allocations: 0 / 0.5685 GB, free: 13.3 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002471/0.3568, allocations: 23.98 kB / 0.5685 GB, free: 13.27 MB / 414.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 (8): * Single equations (assignments): 6 * 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.00164/0.3584, allocations: 448.1 kB / 0.5689 GB, free: 12.99 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001816/0.3586, allocations: 63.89 kB / 0.569 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.3586, allocations: 3.938 kB / 0.569 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.682e-05/0.3587, allocations: 20 kB / 0.569 GB, free: 12.91 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003638/0.359, allocations: 27.97 kB / 0.569 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004887/0.3595, allocations: 253 kB / 0.5693 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003592/0.3599, allocations: 0.7041 MB / 0.57 GB, free: 11.86 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.647e-05/0.3599, allocations: 19.42 kB / 0.57 GB, free: 11.85 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3599, allocations: 0 / 0.57 GB, free: 11.85 MB / 414.1 MB Notification: Performance of Templates: time 0.00429/0.3642, allocations: 1.932 MB / 0.5719 GB, free: 9.918 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.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: 7.38648738199845]