Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.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.001418/0.001418, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.001572/0.001572, allocations: 156.5 kB / 24.55 MB, free: 20 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.003/1.003, allocations: 177 MB / 204.8 MB, free: 5.598 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.2701/0.2701, allocations: 34.86 MB / 296.3 MB, free: 0.5469 MB / 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.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25") translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 378.9 MB, free: 2.016 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.064e-05/3.235e-05, allocations: 3.156 kB / 378.9 MB, free: 2.012 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.003532/0.003564, allocations: 1.768 MB / 380.6 MB, free: 236 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001752/0.005316, allocations: 1.012 MB / 381.6 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.115e-05/0.005407, allocations: 4 kB / 381.6 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003359/0.005743, allocations: 47.64 kB / 381.7 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004003/0.006143, allocations: 95.53 kB / 381.8 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002755/0.006419, allocations: 83.61 kB / 381.9 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002258/0.006644, allocations: 115.5 kB / 382 MB, free: 14.87 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.006745, allocations: 4 kB / 382 MB, free: 14.87 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001275/0.006873, allocations: 51.89 kB / 382 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.578e-05/0.006968, allocations: 31.84 kB / 382.1 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.026e-05/0.006989, allocations: 4 kB / 382.1 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001117/0.0071, allocations: 43.92 kB / 382.1 MB, free: 14.74 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.028e-05/0.007161, allocations: 23.92 kB / 382.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.738e-05/0.007208, allocations: 23.91 kB / 382.2 MB, free: 14.69 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002425/0.007451, allocations: 107.5 kB / 382.3 MB, free: 14.59 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.007454, allocations: 0 / 382.3 MB, free: 14.59 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.007455, allocations: 4 kB / 382.3 MB, free: 14.58 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.007461, allocations: 0 / 382.3 MB, free: 14.58 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.0006022/0.008063, allocations: 451.8 kB / 382.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.008107, allocations: 8.031 kB / 382.7 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.761e-05/0.008174, allocations: 12.89 kB / 382.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002449/0.008419, allocations: 152.9 kB / 382.9 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.48e-05/0.008444, allocations: 4.375 kB / 382.9 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.17e-05/0.008466, allocations: 4.375 kB / 382.9 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001751/0.008641, allocations: 66.88 kB / 383 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.008653, allocations: 192 / 383 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.008665, allocations: 8.359 kB / 383 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/0.008676, allocations: 3.938 kB / 383 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.715e-05/0.008723, allocations: 11.98 kB / 383 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003728/0.009096, allocations: 283.8 kB / 383.3 MB, free: 13.49 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001373/0.009233, allocations: 55.11 kB / 383.3 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.857e-05/0.009272, allocations: 19.67 kB / 383.3 MB, free: 13.4 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.467e-05/0.009286, allocations: 0 / 383.3 MB, free: 13.4 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001296/0.009416, allocations: 68.98 kB / 383.4 MB, free: 13.32 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.934e-06/0.009418, allocations: 4 kB / 383.4 MB, free: 13.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005214/0.009939, allocations: 161.3 kB / 383.6 MB, free: 13.15 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.009979, allocations: 55.41 kB / 383.6 MB, free: 13.09 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001847/0.01016, allocations: 237.8 kB / 383.8 MB, free: 12.84 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.01018, allocations: 25.7 kB / 383.9 MB, free: 12.8 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.515e-05/0.01026, allocations: 158.8 kB / 384 MB, free: 12.64 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.663e-05/0.01029, allocations: 27.78 kB / 384 MB, free: 12.62 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.847e-05/0.01034, allocations: 31.38 kB / 384.1 MB, free: 12.58 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.0105, allocations: 0.4923 MB / 384.6 MB, free: 12.07 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.093e-05/0.01054, allocations: 19.92 kB / 384.6 MB, free: 12.05 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.027e-05/0.01059, allocations: 35.36 kB / 384.6 MB, free: 12.01 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.996e-05/0.01067, allocations: 51.36 kB / 384.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.01067, allocations: 0 / 384.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001645/0.01084, allocations: 89.52 kB / 384.8 MB, free: 11.86 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.01085, allocations: 4 kB / 384.8 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.01086, allocations: 4.375 kB / 384.8 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.01088, allocations: 0 / 384.8 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.666e-05/0.01098, allocations: 15.98 kB / 384.8 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.01098, allocations: 0 / 384.8 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.789e-05/0.01103, allocations: 19.98 kB / 384.8 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.01104, allocations: 7.938 kB / 384.8 MB, free: 11.81 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 9.521e-05/0.01114, allocations: 160.6 kB / 385 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.768e-05/0.01116, allocations: 15.89 kB / 385 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002031/0.01137, allocations: 107.1 kB / 385.1 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.01137, allocations: 0 / 385.1 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.01137, allocations: 0 / 385.1 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.01138, allocations: 0 / 385.1 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003711/0.01175, allocations: 396.9 kB / 385.5 MB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.01175, allocations: 0 / 385.5 MB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.192e-05/0.01178, allocations: 16.02 kB / 385.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.01179, allocations: 0 / 385.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.01179, allocations: 8 kB / 385.5 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.0118, allocations: 0 / 385.5 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.0118, allocations: 0 / 385.5 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001489/0.01195, allocations: 255.4 kB / 385.8 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.33e-05/0.01196, allocations: 11.91 kB / 385.8 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.148e-05/0.01198, allocations: 8 kB / 385.8 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.504e-05/0.01203, allocations: 0 / 385.8 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.349e-05/0.01207, allocations: 7.984 kB / 385.8 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-05/0.01209, allocations: 11.94 kB / 385.8 MB, free: 10.75 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.932e-05/0.01218, allocations: 184.2 kB / 386 MB, free: 10.57 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.1e-07/0.01218, allocations: 0 / 386 MB, free: 10.57 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001856/0.01236, allocations: 27.94 kB / 386 MB, free: 10.54 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.0009553/0.01332, allocations: 436.4 kB / 386.4 MB, free: 10.24 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001297/0.01345, allocations: 55.55 kB / 386.5 MB, free: 10.18 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01345, allocations: 0 / 386.5 MB, free: 10.18 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.026e-05/0.01349, allocations: 27.67 kB / 386.5 MB, free: 10.15 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002344/0.01372, allocations: 40.08 kB / 386.5 MB, free: 10.11 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003566/0.01408, allocations: 229.8 kB / 386.8 MB, free: 9.852 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.092e-05/0.01412, allocations: 71.33 kB / 386.8 MB, free: 9.762 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.464e-05/0.01415, allocations: 13.28 kB / 386.9 MB, free: 9.746 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.267e-05/0.01419, allocations: 20.48 kB / 386.9 MB, free: 9.727 MB / 362.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01419, allocations: 0 / 386.9 MB, free: 9.727 MB / 362.7 MB Notification: Performance of Templates: time 0.003819/0.01801, allocations: 1.997 MB / 388.9 MB, free: 7.754 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.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.2473736605606973]