Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.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.001739/0.001739, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001517/0.001517, allocations: 213.3 kB / 24.54 MB, free: 4.016 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.428/1.428, allocations: 230.3 MB / 258 MB, free: 8.258 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.2356/0.2356, allocations: 46.88 MB / 361.3 MB, free: 4.434 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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002289/0.002289, allocations: 83.84 kB / 0.4971 GB, free: 7.512 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3647/0.367, allocations: 66.02 MB / 0.5616 GB, free: 4.605 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003843/0.3708, allocations: 1.968 MB / 0.5635 GB, free: 2.625 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00198/0.3728, allocations: 1.088 MB / 0.5646 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001065/0.3729, allocations: 4 kB / 0.5646 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000359/0.3733, allocations: 47.64 kB / 0.5646 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003211/0.3736, allocations: 99.53 kB / 0.5647 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002273/0.3738, allocations: 99.64 kB / 0.5648 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000233/0.3741, allocations: 143.5 kB / 0.5649 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.3742, allocations: 29.33 kB / 0.565 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000117/0.3743, allocations: 63.7 kB / 0.565 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000107/0.3744, allocations: 51.72 kB / 0.5651 GB, free: 1 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.258e-05/0.3744, allocations: 8 kB / 0.5651 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001069/0.3745, allocations: 47.98 kB / 0.5651 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.177e-05/0.3746, allocations: 27.91 kB / 0.5652 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.376e-05/0.3747, allocations: 55.61 kB / 0.5652 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002759/0.375, allocations: 154.1 kB / 0.5654 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.375, allocations: 0 / 0.5654 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.375, allocations: 0 / 0.5654 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.375, allocations: 0 / 0.5654 GB, free: 0.7148 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000663/0.3756, allocations: 411 kB / 0.5658 GB, free: 284 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.3757, allocations: 12.03 kB / 0.5658 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.945e-05/0.3757, allocations: 16.84 kB / 0.5658 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000304/0.376, allocations: 175 kB / 0.566 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.3761, allocations: 4.375 kB / 0.566 GB, free: 48 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.56e-05/0.3761, allocations: 8.375 kB / 0.566 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002668/0.3764, allocations: 112.5 kB / 0.5661 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.3764, allocations: 3.938 kB / 0.5661 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.566e-05/0.3764, allocations: 4 kB / 0.5661 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.3764, allocations: 4 kB / 0.5661 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001746/0.3766, allocations: 47.89 kB / 0.5661 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006137/0.3772, allocations: 488.1 kB / 0.5666 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003491/0.3775, allocations: 82.61 kB / 0.5667 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.3776, allocations: 36.83 kB / 0.5667 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.955e-05/0.3777, allocations: 7.922 kB / 0.5667 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000222/0.3779, allocations: 87.38 kB / 0.5668 GB, free: 15.09 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.342e-06/0.3779, allocations: 0 / 0.5668 GB, free: 15.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004115/0.3783, allocations: 137.5 kB / 0.5669 GB, free: 14.95 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.155e-05/0.3783, allocations: 59.41 kB / 0.567 GB, free: 14.88 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002137/0.3786, allocations: 207 kB / 0.5672 GB, free: 14.67 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.415e-05/0.3786, allocations: 29.7 kB / 0.5672 GB, free: 14.64 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.446e-05/0.3787, allocations: 120.1 kB / 0.5673 GB, free: 14.52 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.384e-05/0.3787, allocations: 31.73 kB / 0.5674 GB, free: 14.48 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.688e-05/0.3788, allocations: 29.7 kB / 0.5674 GB, free: 14.45 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.3789, allocations: 322.8 kB / 0.5677 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.129e-05/0.379, allocations: 27.98 kB / 0.5677 GB, free: 14.1 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001135/0.3791, allocations: 68.2 kB / 0.5678 GB, free: 14.02 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002024/0.3793, allocations: 100.2 kB / 0.5679 GB, free: 13.9 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3793, allocations: 0 / 0.5679 GB, free: 13.9 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002892/0.3796, allocations: 149.8 kB / 0.568 GB, free: 13.75 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.3796, allocations: 4 kB / 0.568 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.3796, allocations: 0 / 0.568 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.3797, allocations: 4 kB / 0.568 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.728e-05/0.3798, allocations: 23.92 kB / 0.5681 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.3798, allocations: 4 kB / 0.5681 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.833e-05/0.3798, allocations: 11.89 kB / 0.5681 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.3798, allocations: 8 kB / 0.5681 GB, free: 13.7 MB / 414.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 0.0001265/0.38, allocations: 132.2 kB / 0.5682 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.591e-05/0.38, allocations: 15.91 kB / 0.5682 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003365/0.3803, allocations: 131 kB / 0.5683 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.3803, allocations: 0 / 0.5683 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3803, allocations: 0 / 0.5683 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.3804, allocations: 3.938 kB / 0.5683 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001915/0.3805, allocations: 180.7 kB / 0.5685 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3805, allocations: 0 / 0.5685 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.558e-05/0.3806, allocations: 15.92 kB / 0.5685 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.3806, allocations: 7.938 kB / 0.5685 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/0.3806, allocations: 4 kB / 0.5685 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3806, allocations: 0 / 0.5685 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.3806, allocations: 0 / 0.5685 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003963/0.381, allocations: 184.8 kB / 0.5687 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.172e-05/0.3811, allocations: 11.94 kB / 0.5687 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.578e-05/0.3811, allocations: 4.062 kB / 0.5687 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.027e-05/0.3811, allocations: 8 kB / 0.5687 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.367e-05/0.3812, allocations: 12.2 kB / 0.5688 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.645e-05/0.3812, allocations: 4 kB / 0.5688 GB, free: 12.92 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001424/0.3813, allocations: 143.2 kB / 0.5689 GB, free: 12.78 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3813, allocations: 3.938 kB / 0.5689 GB, free: 12.77 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002333/0.3816, allocations: 31.92 kB / 0.5689 GB, free: 12.74 MB / 414.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 (9): * Single equations (assignments): 7 * 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.001498/0.3831, allocations: 401.7 kB / 0.5693 GB, free: 12.48 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002603/0.3833, allocations: 79.83 kB / 0.5694 GB, free: 12.4 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3833, allocations: 0 / 0.5694 GB, free: 12.4 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001043/0.3834, allocations: 31.98 kB / 0.5694 GB, free: 12.37 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00031/0.3838, allocations: 39.28 kB / 0.5695 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005809/0.3843, allocations: 283.5 kB / 0.5697 GB, free: 12.03 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004343/0.3848, allocations: 0.7162 MB / 0.5704 GB, free: 11.29 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.878e-05/0.3848, allocations: 21.39 kB / 0.5704 GB, free: 11.27 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.778e-05/0.3849, allocations: 19.44 kB / 0.5705 GB, free: 11.25 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.3849, allocations: 0 / 0.5705 GB, free: 11.25 MB / 414.1 MB Notification: Performance of Templates: time 0.006325/0.3912, allocations: 1.959 MB / 0.5724 GB, free: 9.309 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.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.995238176546991]