Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.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.002031/0.002031, allocations: 99.53 kB / 20.97 MB, free: 3.457 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.00215/0.00215, allocations: 160.8 kB / 24.27 MB, free: 160 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.572/1.572, allocations: 177 MB / 204.5 MB, free: 5.613 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.3728/0.3728, allocations: 34.26 MB / 295.2 MB, free: 0.6211 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.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 377.3 MB, free: 2.805 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.633e-05/2.768e-05, allocations: 2.312 kB / 377.3 MB, free: 2.801 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.003512/0.00354, allocations: 1.914 MB / 379.2 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00218/0.00572, allocations: 1.099 MB / 380.3 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.776e-05/0.005808, allocations: 3.938 kB / 380.3 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004468/0.006254, allocations: 163.3 kB / 380.5 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004886/0.006743, allocations: 187.2 kB / 380.7 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002951/0.007038, allocations: 119.6 kB / 380.8 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003728/0.007411, allocations: 255.2 kB / 381 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.007523, allocations: 17.91 kB / 381.1 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002286/0.007752, allocations: 135.7 kB / 381.2 MB, free: 14.9 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002074/0.007959, allocations: 127.7 kB / 381.3 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.237e-05/0.007991, allocations: 15.94 kB / 381.3 MB, free: 14.76 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001424/0.008134, allocations: 67.86 kB / 381.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001048/0.008239, allocations: 51.77 kB / 381.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.711e-05/0.008316, allocations: 43.84 kB / 381.5 MB, free: 14.6 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003542/0.00867, allocations: 223.2 kB / 381.7 MB, free: 14.38 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.008673, allocations: 0 / 381.7 MB, free: 14.38 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.008674, allocations: 0 / 381.7 MB, free: 14.38 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.481e-06/0.008679, allocations: 0 / 381.7 MB, free: 14.38 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009047/0.009584, allocations: 0.5883 MB / 382.3 MB, free: 13.76 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.009622, allocations: 8.031 kB / 382.3 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.776e-05/0.009709, allocations: 32.8 kB / 382.3 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003661/0.01008, allocations: 216.6 kB / 382.5 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.837e-05/0.0101, allocations: 4.375 kB / 382.5 MB, free: 13.47 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.387e-05/0.01014, allocations: 12.33 kB / 382.6 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002554/0.01039, allocations: 111.8 kB / 382.7 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/0.01041, allocations: 4.188 kB / 382.7 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.01042, allocations: 4.375 kB / 382.7 MB, free: 13.33 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.01043, allocations: 3.938 kB / 382.7 MB, free: 13.33 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001382/0.01057, allocations: 51.88 kB / 382.7 MB, free: 13.28 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007184/0.01129, allocations: 0.518 MB / 383.2 MB, free: 12.72 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004293/0.01172, allocations: 134.1 kB / 383.4 MB, free: 12.56 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003831/0.0121, allocations: 51.42 kB / 383.4 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.342e-05/0.01211, allocations: 0 / 383.4 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002681/0.01238, allocations: 139.8 kB / 383.6 MB, free: 12.35 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 9.72e-07/0.01238, allocations: 0 / 383.6 MB, free: 12.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.001477/0.01386, allocations: 0.4973 MB / 384.1 MB, free: 11.84 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.672e-05/0.01394, allocations: 81.11 kB / 384.1 MB, free: 11.75 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004837/0.01442, allocations: 398.3 kB / 384.5 MB, free: 11.34 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.479e-05/0.01445, allocations: 33.64 kB / 384.6 MB, free: 11.3 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001825/0.01464, allocations: 211.3 kB / 384.8 MB, free: 11.09 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.065e-05/0.01473, allocations: 75.42 kB / 384.8 MB, free: 11.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.076e-05/0.01482, allocations: 55.36 kB / 384.9 MB, free: 10.95 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003336/0.01515, allocations: 0.5391 MB / 385.4 MB, free: 10.4 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001311/0.01528, allocations: 55.98 kB / 385.5 MB, free: 10.35 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001748/0.01546, allocations: 110.6 kB / 385.6 MB, free: 10.22 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003036/0.01576, allocations: 170.8 kB / 385.8 MB, free: 10.04 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.01576, allocations: 0 / 385.8 MB, free: 10.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004565/0.01622, allocations: 237.3 kB / 386 MB, free: 9.801 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.01624, allocations: 8 kB / 386 MB, free: 9.793 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.01624, allocations: 0 / 386 MB, free: 9.793 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.01626, allocations: 4 kB / 386 MB, free: 9.789 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001526/0.01641, allocations: 39.92 kB / 386 MB, free: 9.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.166e-06/0.01642, allocations: 4 kB / 386.1 MB, free: 9.746 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.741e-05/0.01651, allocations: 19.98 kB / 386.1 MB, free: 9.727 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.521e-05/0.01652, allocations: 4 kB / 386.1 MB, free: 9.723 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001725/0.0167, allocations: 180.5 kB / 386.3 MB, free: 9.535 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.235e-05/0.01676, allocations: 35.81 kB / 386.3 MB, free: 9.5 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005792/0.01734, allocations: 272.3 kB / 386.6 MB, free: 9.227 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.01734, allocations: 4 kB / 386.6 MB, free: 9.223 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.01735, allocations: 0 / 386.6 MB, free: 9.223 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.01735, allocations: 0 / 386.6 MB, free: 9.223 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001184/0.01854, allocations: 0.8075 MB / 387.4 MB, free: 8.355 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.774e-06/0.01855, allocations: 4 kB / 387.4 MB, free: 8.352 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001034/0.01865, allocations: 31.92 kB / 387.4 MB, free: 8.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/0.01866, allocations: 4 kB / 387.4 MB, free: 8.316 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.01867, allocations: 8 kB / 387.4 MB, free: 8.309 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.544e-06/0.01868, allocations: 11.86 kB / 387.4 MB, free: 8.297 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.01868, allocations: 4 kB / 387.4 MB, free: 8.293 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006528/0.01934, allocations: 0.5325 MB / 388 MB, free: 7.723 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.903e-05/0.01939, allocations: 27.8 kB / 388 MB, free: 7.695 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.267e-05/0.01943, allocations: 11.94 kB / 388 MB, free: 7.684 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001393/0.01957, allocations: 12.06 kB / 388 MB, free: 7.672 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.424e-05/0.01963, allocations: 19.97 kB / 388 MB, free: 7.652 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.989e-05/0.01966, allocations: 11.98 kB / 388 MB, free: 7.641 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002994/0.01996, allocations: 267 kB / 388.3 MB, free: 7.379 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01996, allocations: 0 / 388.3 MB, free: 7.379 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000364/0.02033, allocations: 51.92 kB / 388.4 MB, free: 7.328 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00385/0.02417, allocations: 0.5434 MB / 388.9 MB, free: 6.98 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004244/0.0246, allocations: 183.2 kB / 389.1 MB, free: 6.797 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.0246, allocations: 0 / 389.1 MB, free: 6.797 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001969/0.0248, allocations: 91.53 kB / 389.2 MB, free: 6.703 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005883/0.02539, allocations: 64.58 kB / 389.2 MB, free: 6.641 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009538/0.02634, allocations: 494 kB / 389.7 MB, free: 6.109 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001983/0.02654, allocations: 153.5 kB / 389.9 MB, free: 5.941 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001086/0.02665, allocations: 37.91 kB / 389.9 MB, free: 5.902 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.279e-05/0.02674, allocations: 40.48 kB / 389.9 MB, free: 5.863 MB / 362.7 MB Notification: Performance of SimCode: time 7.21e-07/0.02674, allocations: 0 / 389.9 MB, free: 5.863 MB / 362.7 MB Notification: Performance of Templates: time 0.008554/0.03529, allocations: 3.307 MB / 393.2 MB, free: 2.598 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test77.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.026378561044112]