Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.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.001284/0.001284, 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.001575/0.001575, 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.445/1.445, allocations: 230.3 MB / 258 MB, free: 8.277 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.2171/0.2171, allocations: 46.89 MB / 361.3 MB, free: 4.461 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.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002291/0.002291, allocations: 83.84 kB / 0.4971 GB, free: 7.539 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3975/0.3998, allocations: 66.03 MB / 0.5616 GB, free: 4.617 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.004772/0.4045, allocations: 1.781 MB / 0.5633 GB, free: 2.832 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002542/0.4071, allocations: 1.049 MB / 0.5644 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001146/0.4072, allocations: 7.875 kB / 0.5644 GB, free: 1.77 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004189/0.4076, allocations: 91.69 kB / 0.5645 GB, free: 1.68 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005188/0.4081, allocations: 115.6 kB / 0.5646 GB, free: 1.566 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003405/0.4085, allocations: 83.66 kB / 0.5646 GB, free: 1.484 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004074/0.4089, allocations: 123.6 kB / 0.5648 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001463/0.409, allocations: 23.95 kB / 0.5648 GB, free: 1.34 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001758/0.4092, allocations: 55.77 kB / 0.5648 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001706/0.4094, allocations: 71.8 kB / 0.5649 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.669e-05/0.4094, allocations: 4 kB / 0.5649 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002027/0.4096, allocations: 63.91 kB / 0.565 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.66e-05/0.4097, allocations: 27.86 kB / 0.565 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.863e-05/0.4098, allocations: 39.69 kB / 0.565 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004787/0.4103, allocations: 147.1 kB / 0.5652 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.4103, allocations: 4 kB / 0.5652 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4103, allocations: 0 / 0.5652 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.131e-05/0.4103, allocations: 0 / 0.5652 GB, free: 0.9375 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008167/0.4111, allocations: 373.3 kB / 0.5655 GB, free: 0.543 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.4111, allocations: 8.031 kB / 0.5655 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.102e-05/0.4112, allocations: 16.84 kB / 0.5656 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003991/0.4116, allocations: 159.1 kB / 0.5657 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.32e-05/0.4116, allocations: 8.375 kB / 0.5657 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.008e-05/0.4117, allocations: 4.375 kB / 0.5657 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002253/0.4119, allocations: 61.98 kB / 0.5658 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.4119, allocations: 0 / 0.5658 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.605e-05/0.4119, allocations: 4 kB / 0.5658 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.4119, allocations: 3.938 kB / 0.5658 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001061/0.412, allocations: 19.98 kB / 0.5658 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005307/0.4126, allocations: 279.8 kB / 0.5661 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003034/0.4129, allocations: 58.55 kB / 0.5661 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.163e-05/0.4129, allocations: 28.91 kB / 0.5662 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.413, allocations: 0 / 0.5662 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001827/0.4132, allocations: 67.39 kB / 0.5662 GB, free: 15.74 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 4.458e-06/0.4132, allocations: 3.984 kB / 0.5662 GB, free: 15.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.001024/0.4142, allocations: 253.2 kB / 0.5665 GB, free: 15.48 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.845e-05/0.4142, allocations: 55.41 kB / 0.5665 GB, free: 15.41 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000337/0.4146, allocations: 238.9 kB / 0.5668 GB, free: 15.17 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.105e-05/0.4146, allocations: 25.7 kB / 0.5668 GB, free: 15.14 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.966e-05/0.4147, allocations: 116.1 kB / 0.5669 GB, free: 15.02 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.422e-05/0.4148, allocations: 31.73 kB / 0.5669 GB, free: 14.99 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.803e-05/0.4148, allocations: 25.72 kB / 0.5669 GB, free: 14.96 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002458/0.4151, allocations: 330.8 kB / 0.5673 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001055/0.4152, allocations: 32 kB / 0.5673 GB, free: 14.59 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001211/0.4153, allocations: 49.69 kB / 0.5673 GB, free: 14.54 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004012/0.4157, allocations: 77.59 kB / 0.5674 GB, free: 14.46 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.4157, allocations: 0 / 0.5674 GB, free: 14.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003366/0.416, allocations: 125.6 kB / 0.5675 GB, free: 14.33 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/0.4161, allocations: 4 kB / 0.5675 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.4161, allocations: 4.031 kB / 0.5675 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.126e-05/0.4161, allocations: 0 / 0.5675 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001236/0.4162, allocations: 31.92 kB / 0.5676 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.4162, allocations: 0 / 0.5676 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.854e-05/0.4163, allocations: 7.938 kB / 0.5676 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.66e-05/0.4163, allocations: 7.984 kB / 0.5676 GB, free: 14.27 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 (13): * Single equations (assignments): 13 * 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.0003404/0.4167, allocations: 127.2 kB / 0.5677 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.68e-05/0.4167, allocations: 11.91 kB / 0.5677 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004173/0.4171, allocations: 158.9 kB / 0.5679 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.4171, allocations: 0 / 0.5679 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.989e-06/0.4171, allocations: 4 kB / 0.5679 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.4171, allocations: 3.938 kB / 0.5679 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007082/0.4178, allocations: 423.2 kB / 0.5683 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.4178, allocations: 0 / 0.5683 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.274e-05/0.4179, allocations: 12 kB / 0.5683 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.188e-06/0.4179, allocations: 7.938 kB / 0.5683 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.741e-05/0.4179, allocations: 12.05 kB / 0.5683 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.4179, allocations: 4 kB / 0.5683 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.4179, allocations: 96 / 0.5683 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003772/0.4183, allocations: 237.2 kB / 0.5685 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.441e-05/0.4184, allocations: 19.83 kB / 0.5686 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.307e-05/0.4184, allocations: 8 kB / 0.5686 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000115/0.4185, allocations: 8 kB / 0.5686 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.561e-05/0.4186, allocations: 7.984 kB / 0.5686 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.203e-05/0.4186, allocations: 4 kB / 0.5686 GB, free: 13.15 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000229/0.4188, allocations: 175.2 kB / 0.5688 GB, free: 12.98 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4188, allocations: 0 / 0.5688 GB, free: 12.98 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004643/0.4193, allocations: 27.94 kB / 0.5688 GB, free: 12.95 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.002425/0.4217, allocations: 0.5076 MB / 0.5693 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003025/0.422, allocations: 71.91 kB / 0.5693 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.422, allocations: 0 / 0.5693 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001374/0.4221, allocations: 43.84 kB / 0.5694 GB, free: 12.51 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005417/0.4227, allocations: 39.3 kB / 0.5694 GB, free: 12.47 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007922/0.4235, allocations: 288.6 kB / 0.5697 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004525/0.4239, allocations: 0.7119 MB / 0.5704 GB, free: 11.42 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.25e-05/0.424, allocations: 20.62 kB / 0.5704 GB, free: 11.4 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.452e-05/0.4241, allocations: 23.44 kB / 0.5704 GB, free: 11.38 MB / 414.1 MB Notification: Performance of SimCode: time 6.42e-07/0.4241, allocations: 4 kB / 0.5704 GB, free: 11.37 MB / 414.1 MB Notification: Performance of Templates: time 0.008176/0.4323, allocations: 2.043 MB / 0.5724 GB, free: 9.344 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.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.279142643325031]