Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.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.001218/0.001218, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001272/0.001272, allocations: 160.5 kB / 24.55 MB, free: 16 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.035/1.035, allocations: 177 MB / 204.8 MB, free: 5.555 MB / 186.7 MB " [Timeout remaining time 179] 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.3036/0.3036, allocations: 34.86 MB / 296.3 MB, free: 472 kB / 266.7 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.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.366e-06/3.366e-06, allocations: 0 / 378.8 MB, free: 1.969 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.252e-05/4.589e-05, allocations: 3.016 kB / 378.8 MB, free: 1.965 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.002942/0.002988, allocations: 1.772 MB / 380.6 MB, free: 184 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001957/0.004945, allocations: 1.737 MB / 382.4 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.247e-05/0.005027, allocations: 0 / 382.4 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002958/0.005323, allocations: 31.83 kB / 382.4 MB, free: 14.4 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003608/0.005684, allocations: 111.3 kB / 382.5 MB, free: 14.29 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001725/0.005856, allocations: 79.59 kB / 382.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001655/0.006022, allocations: 111.7 kB / 382.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.777e-05/0.00612, allocations: 4 kB / 382.7 MB, free: 14.1 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.257e-05/0.006212, allocations: 63.77 kB / 382.7 MB, free: 14.04 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001239/0.006336, allocations: 39.89 kB / 382.8 MB, free: 14 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.856e-05/0.006355, allocations: 4 kB / 382.8 MB, free: 14 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001527/0.006507, allocations: 107.8 kB / 382.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.545e-05/0.006563, allocations: 19.92 kB / 382.9 MB, free: 13.87 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.688e-05/0.00661, allocations: 19.92 kB / 382.9 MB, free: 13.85 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002607/0.00687, allocations: 159.5 kB / 383.1 MB, free: 13.7 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.006874, allocations: 0 / 383.1 MB, free: 13.7 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.006876, allocations: 0 / 383.1 MB, free: 13.7 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.159e-06/0.006881, allocations: 0 / 383.1 MB, free: 13.7 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004717/0.007353, allocations: 451.8 kB / 383.5 MB, free: 13.22 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.007391, allocations: 16.03 kB / 383.5 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.458e-05/0.007446, allocations: 16.89 kB / 383.6 MB, free: 13.19 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001991/0.007645, allocations: 145 kB / 383.7 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.114e-05/0.007666, allocations: 4.359 kB / 383.7 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.239e-05/0.007698, allocations: 12.31 kB / 383.7 MB, free: 13 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001558/0.007854, allocations: 104 kB / 383.8 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.007866, allocations: 7.891 kB / 383.8 MB, free: 12.87 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.007877, allocations: 4 kB / 383.8 MB, free: 12.87 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.007884, allocations: 0 / 383.8 MB, free: 12.87 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.789e-05/0.007922, allocations: 11.98 kB / 383.8 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003189/0.008241, allocations: 291.8 kB / 384.1 MB, free: 12.54 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00011/0.008351, allocations: 51.11 kB / 384.2 MB, free: 12.47 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.379e-05/0.008385, allocations: 23.62 kB / 384.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.488e-05/0.0084, allocations: 0 / 384.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.886e-05/0.008499, allocations: 65.05 kB / 384.3 MB, free: 12.37 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.0085, allocations: 0 / 384.3 MB, free: 12.37 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003917/0.008892, allocations: 157.3 kB / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.104e-05/0.008933, allocations: 77.11 kB / 384.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001411/0.009074, allocations: 215.3 kB / 384.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.00909, allocations: 33.7 kB / 384.7 MB, free: 11.85 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.143e-05/0.009151, allocations: 146.9 kB / 384.9 MB, free: 11.7 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.818e-05/0.00918, allocations: 27.73 kB / 384.9 MB, free: 11.67 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.681e-05/0.009216, allocations: 27.36 kB / 384.9 MB, free: 11.64 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.009375, allocations: 0.4923 MB / 385.4 MB, free: 11.13 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.399e-05/0.009419, allocations: 12 kB / 385.4 MB, free: 11.12 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.297e-05/0.009492, allocations: 64.75 kB / 385.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.374e-05/0.009576, allocations: 59.3 kB / 385.6 MB, free: 10.97 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.009577, allocations: 0 / 385.6 MB, free: 10.97 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001702/0.009748, allocations: 97.55 kB / 385.7 MB, free: 10.87 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.009767, allocations: 4 kB / 385.7 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.009773, allocations: 0 / 385.7 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/0.009792, allocations: 0 / 385.7 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.009892, allocations: 24.3 kB / 385.7 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.009898, allocations: 0 / 385.7 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.592e-05/0.009944, allocations: 8 kB / 385.7 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.827e-06/0.009952, allocations: 4 kB / 385.7 MB, free: 10.83 MB / 362.7 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 0.0001034/0.01006, allocations: 168.5 kB / 385.9 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.064e-05/0.01009, allocations: 11.95 kB / 385.9 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002333/0.01032, allocations: 106.4 kB / 386 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.01033, allocations: 4 kB / 386 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.01033, allocations: 0 / 386 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.01034, allocations: 0 / 386 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004818/0.01082, allocations: 392.9 kB / 386.4 MB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.01082, allocations: 0 / 386.4 MB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.342e-05/0.01086, allocations: 12 kB / 386.4 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.01087, allocations: 0 / 386.4 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-06/0.01088, allocations: 0 / 386.4 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.01088, allocations: 7.984 kB / 386.4 MB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.01088, allocations: 4.031 kB / 386.4 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002028/0.01109, allocations: 255.4 kB / 386.6 MB, free: 9.801 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.894e-05/0.01111, allocations: 11.95 kB / 386.7 MB, free: 9.789 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.293e-05/0.01113, allocations: 0 / 386.7 MB, free: 9.789 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.456e-05/0.0112, allocations: 7.938 kB / 386.7 MB, free: 9.781 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.371e-05/0.01125, allocations: 11.92 kB / 386.7 MB, free: 9.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.576e-05/0.01126, allocations: 4 kB / 386.7 MB, free: 9.766 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001139/0.01138, allocations: 169.5 kB / 386.8 MB, free: 9.602 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01138, allocations: 0 / 386.8 MB, free: 9.602 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003119/0.01169, allocations: 43.86 kB / 386.9 MB, free: 9.559 MB / 362.7 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 (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.001405/0.01309, allocations: 0.5346 MB / 387.4 MB, free: 9.18 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001453/0.01324, allocations: 51.59 kB / 387.5 MB, free: 9.125 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.01324, allocations: 0 / 387.5 MB, free: 9.125 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.42e-05/0.01331, allocations: 31.67 kB / 387.5 MB, free: 9.09 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002523/0.01356, allocations: 30.8 kB / 387.5 MB, free: 9.062 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003851/0.01394, allocations: 205.9 kB / 387.7 MB, free: 8.828 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.977e-05/0.01398, allocations: 63.34 kB / 387.8 MB, free: 8.746 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.538e-05/0.01403, allocations: 21.09 kB / 387.8 MB, free: 8.723 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.207e-05/0.01407, allocations: 20.48 kB / 387.8 MB, free: 8.703 MB / 362.7 MB Notification: Performance of SimCode: time 8.11e-07/0.01407, allocations: 0 / 387.8 MB, free: 8.703 MB / 362.7 MB Notification: Performance of Templates: time 0.004792/0.01886, allocations: 2.544 MB / 390.4 MB, free: 6.188 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4125878890044987]