Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.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.0009624/0.0009624, allocations: 79.69 kB / 21.7 MB, free: 2.844 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.0009708/0.0009708, allocations: 161.9 kB / 24.99 MB, free: 8.246 MB / 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 0.9658/0.9658, allocations: 177 MB / 205.2 MB, free: 5.57 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.3031/0.3031, allocations: 34.86 MB / 296.6 MB, free: 0.5391 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.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.335e-06/2.335e-06, allocations: 0 / 378.8 MB, free: 2.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.261e-05/3.495e-05, allocations: 6.25 kB / 378.8 MB, free: 2.312 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.003644/0.003679, allocations: 1.763 MB / 380.6 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002496/0.006175, allocations: 1.733 MB / 382.3 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001033/0.006279, allocations: 4 kB / 382.3 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003207/0.006599, allocations: 31.78 kB / 382.4 MB, free: 14.76 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004307/0.00703, allocations: 107.4 kB / 382.5 MB, free: 14.65 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002472/0.007277, allocations: 83.61 kB / 382.6 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000201/0.007478, allocations: 103.7 kB / 382.7 MB, free: 14.47 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.775e-05/0.007576, allocations: 8 kB / 382.7 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001176/0.007694, allocations: 67.75 kB / 382.7 MB, free: 14.39 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001276/0.007821, allocations: 31.91 kB / 382.8 MB, free: 14.36 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.09e-05/0.007842, allocations: 4 kB / 382.8 MB, free: 14.36 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002038/0.008046, allocations: 111.8 kB / 382.9 MB, free: 14.25 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.916e-05/0.008105, allocations: 19.91 kB / 382.9 MB, free: 14.23 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.67e-05/0.008152, allocations: 19.94 kB / 382.9 MB, free: 14.21 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003152/0.008467, allocations: 159.5 kB / 383.1 MB, free: 14.05 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.00847, allocations: 0 / 383.1 MB, free: 14.05 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.008471, allocations: 0 / 383.1 MB, free: 14.05 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.538e-06/0.008476, allocations: 4 kB / 383.1 MB, free: 14.05 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.0005863/0.009062, allocations: 447.8 kB / 383.5 MB, free: 13.58 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.009105, allocations: 16.03 kB / 383.5 MB, free: 13.56 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.468e-05/0.00917, allocations: 8.891 kB / 383.5 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002343/0.009404, allocations: 149 kB / 383.7 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.419e-05/0.009428, allocations: 12.31 kB / 383.7 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.808e-05/0.009456, allocations: 8.359 kB / 383.7 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000198/0.009654, allocations: 104 kB / 383.8 MB, free: 13.24 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.00967, allocations: 11.89 kB / 383.8 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.009682, allocations: 0 / 383.8 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.009692, allocations: 0 / 383.8 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.308e-05/0.009745, allocations: 15.98 kB / 383.8 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000391/0.01014, allocations: 279.8 kB / 384.1 MB, free: 12.9 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001396/0.01028, allocations: 51.11 kB / 384.2 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.285e-05/0.01032, allocations: 23.62 kB / 384.2 MB, free: 12.81 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.314e-05/0.01033, allocations: 0 / 384.2 MB, free: 12.81 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001342/0.01047, allocations: 65.05 kB / 384.2 MB, free: 12.73 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.01047, allocations: 0 / 384.2 MB, free: 12.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004997/0.01097, allocations: 157.3 kB / 384.4 MB, free: 12.57 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.938e-05/0.01102, allocations: 81.11 kB / 384.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001923/0.01121, allocations: 219.5 kB / 384.7 MB, free: 12.25 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.01123, allocations: 33.64 kB / 384.7 MB, free: 12.21 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.029e-05/0.0113, allocations: 146.9 kB / 384.9 MB, free: 12.06 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.949e-05/0.01134, allocations: 23.8 kB / 384.9 MB, free: 12.04 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.884e-05/0.01139, allocations: 31.36 kB / 384.9 MB, free: 12 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.01153, allocations: 0.4923 MB / 385.4 MB, free: 11.49 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.828e-05/0.01157, allocations: 12 kB / 385.4 MB, free: 11.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.28e-05/0.01163, allocations: 68.75 kB / 385.5 MB, free: 11.39 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.124e-05/0.01171, allocations: 55.28 kB / 385.5 MB, free: 11.33 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.01171, allocations: 7.969 kB / 385.5 MB, free: 11.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001565/0.01187, allocations: 85.59 kB / 385.6 MB, free: 11.23 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.01188, allocations: 4 kB / 385.6 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.01189, allocations: 0 / 385.6 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.0119, allocations: 0 / 385.6 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.981e-05/0.012, allocations: 27.92 kB / 385.7 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.01201, allocations: 0 / 385.7 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.908e-05/0.01206, allocations: 4.375 kB / 385.7 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.01207, allocations: 0 / 385.7 MB, free: 11.2 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.0001144/0.01218, allocations: 164.5 kB / 385.8 MB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.454e-05/0.01222, allocations: 15.98 kB / 385.8 MB, free: 11.01 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002252/0.01244, allocations: 106.4 kB / 385.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.01245, allocations: 4 kB / 386 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.01245, allocations: 0 / 386 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.01246, allocations: 0 / 386 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004082/0.01286, allocations: 396.9 kB / 386.3 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.01287, allocations: 4 kB / 386.3 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.294e-05/0.01291, allocations: 8 kB / 386.4 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.01291, allocations: 0 / 386.4 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.809e-06/0.01292, allocations: 0 / 386.4 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.01293, allocations: 12.02 kB / 386.4 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.01293, allocations: 0 / 386.4 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002277/0.01316, allocations: 259.4 kB / 386.6 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.925e-05/0.01318, allocations: 7.953 kB / 386.6 MB, free: 10.15 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.463e-05/0.0132, allocations: 0 / 386.6 MB, free: 10.15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.953e-05/0.01328, allocations: 8 kB / 386.6 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/0.01332, allocations: 11.92 kB / 386.6 MB, free: 10.13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.624e-05/0.01334, allocations: 4 kB / 386.6 MB, free: 10.13 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001128/0.01345, allocations: 169.3 kB / 386.8 MB, free: 9.965 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01345, allocations: 0 / 386.8 MB, free: 9.965 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003374/0.01379, allocations: 51.86 kB / 386.9 MB, free: 9.914 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.001523/0.01531, allocations: 0.5313 MB / 387.4 MB, free: 9.539 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001627/0.01547, allocations: 55.58 kB / 387.4 MB, free: 9.48 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.01548, allocations: 0 / 387.4 MB, free: 9.48 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.961e-05/0.01553, allocations: 39.61 kB / 387.5 MB, free: 9.438 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003506/0.01589, allocations: 27.98 kB / 387.5 MB, free: 9.41 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004368/0.01632, allocations: 193.9 kB / 387.7 MB, free: 9.188 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.832e-05/0.01637, allocations: 71.47 kB / 387.8 MB, free: 9.098 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.925e-05/0.01643, allocations: 12.97 kB / 387.8 MB, free: 9.082 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.321e-05/0.01648, allocations: 28.48 kB / 387.8 MB, free: 9.055 MB / 362.7 MB Notification: Performance of SimCode: time 7.82e-07/0.01648, allocations: 0 / 387.8 MB, free: 9.055 MB / 362.7 MB Notification: Performance of Templates: time 0.006117/0.0226, allocations: 2.529 MB / 390.3 MB, free: 6.555 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.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.14844317198731]