Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.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.001857/0.001857, allocations: 103.5 kB / 20.97 MB, free: 3.438 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.001904/0.001904, allocations: 152.9 kB / 24.27 MB, free: 144 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.574/1.574, allocations: 177 MB / 204.4 MB, free: 5.605 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.3994/0.3994, allocations: 34.25 MB / 295.2 MB, free: 0.625 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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20") translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 377.3 MB, free: 2.809 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.505e-05/2.649e-05, allocations: 2.312 kB / 377.3 MB, free: 2.805 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.003506/0.003532, allocations: 1.733 MB / 379 MB, free: 1.059 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002072/0.005604, allocations: 0.9931 MB / 380 MB, free: 60 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.116e-05/0.005695, allocations: 4 kB / 380 MB, free: 56 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003623/0.006058, allocations: 51.64 kB / 380.1 MB, free: 4 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000459/0.006517, allocations: 99.52 kB / 380.2 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002659/0.006783, allocations: 79.61 kB / 380.3 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002202/0.007003, allocations: 103.6 kB / 380.4 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.784e-05/0.007101, allocations: 4 kB / 380.4 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001293/0.00723, allocations: 59.81 kB / 380.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.994e-05/0.00732, allocations: 27.86 kB / 380.4 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.597e-05/0.007346, allocations: 4 kB / 380.4 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000118/0.007464, allocations: 51.91 kB / 380.5 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.627e-05/0.00753, allocations: 23.92 kB / 380.5 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.951e-05/0.00758, allocations: 15.94 kB / 380.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002647/0.007844, allocations: 115.6 kB / 380.6 MB, free: 15.43 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.007848, allocations: 0 / 380.6 MB, free: 15.43 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.007849, allocations: 11.88 kB / 380.7 MB, free: 15.42 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.007854, allocations: 0 / 380.7 MB, free: 15.42 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.0007045/0.008559, allocations: 443.6 kB / 381.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.008601, allocations: 8.031 kB / 381.1 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.024e-05/0.008681, allocations: 20.84 kB / 381.1 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002649/0.008946, allocations: 153.1 kB / 381.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.00896, allocations: 384 / 381.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.357e-05/0.008983, allocations: 4.375 kB / 381.3 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001584/0.009141, allocations: 58.23 kB / 381.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.009154, allocations: 192 / 381.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.009169, allocations: 384 / 381.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.009175, allocations: 7.875 kB / 381.3 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.255e-05/0.009258, allocations: 19.98 kB / 381.4 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004967/0.009755, allocations: 299.7 kB / 381.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001955/0.00995, allocations: 55.17 kB / 381.7 MB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.973e-05/0.01002, allocations: 35.61 kB / 381.7 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.806e-05/0.01004, allocations: 0 / 381.7 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001832/0.01022, allocations: 76.98 kB / 381.8 MB, free: 14.13 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.01022, allocations: 0 / 381.8 MB, free: 14.13 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006327/0.01085, allocations: 177.4 kB / 382 MB, free: 13.95 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.094e-05/0.01091, allocations: 51.41 kB / 382 MB, free: 13.89 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002611/0.01117, allocations: 254.4 kB / 382.3 MB, free: 13.62 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.01119, allocations: 25.7 kB / 382.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000117/0.01131, allocations: 162.8 kB / 382.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.193e-05/0.01135, allocations: 23.8 kB / 382.5 MB, free: 13.4 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.266e-05/0.01141, allocations: 35.3 kB / 382.5 MB, free: 13.36 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003347/0.01175, allocations: 0.5079 MB / 383 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.402e-05/0.0118, allocations: 12 kB / 383.1 MB, free: 12.83 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.398e-05/0.01189, allocations: 47.3 kB / 383.1 MB, free: 12.77 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001324/0.01202, allocations: 63.36 kB / 383.2 MB, free: 12.7 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.031e-06/0.01202, allocations: 0 / 383.2 MB, free: 12.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002179/0.01224, allocations: 109.5 kB / 383.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.01226, allocations: 4 kB / 383.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.01226, allocations: 0 / 383.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.01228, allocations: 4 kB / 383.3 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.849e-05/0.01238, allocations: 20.02 kB / 383.3 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.01239, allocations: 160 / 383.3 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.961e-05/0.01245, allocations: 4 kB / 383.3 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.01246, allocations: 4 kB / 383.3 MB, free: 12.55 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.0001486/0.01261, allocations: 172.5 kB / 383.5 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.511e-05/0.01264, allocations: 19.84 kB / 383.5 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002752/0.01292, allocations: 115.1 kB / 383.6 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.01292, allocations: 0 / 383.6 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.01292, allocations: 384 / 383.6 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.01293, allocations: 3.938 kB / 383.6 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007302/0.01366, allocations: 417 kB / 384 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.01366, allocations: 4 kB / 384 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.548e-05/0.01371, allocations: 15.92 kB / 384 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.01371, allocations: 4 kB / 384 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.01372, allocations: 0 / 384 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.01373, allocations: 0 / 384 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.01373, allocations: 0 / 384 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003277/0.01405, allocations: 271.4 kB / 384.3 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.309e-05/0.01409, allocations: 19.88 kB / 384.3 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.525e-05/0.01411, allocations: 0 / 384.3 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.145e-05/0.01418, allocations: 12.03 kB / 384.3 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.745e-05/0.01423, allocations: 7.984 kB / 384.3 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.835e-05/0.01425, allocations: 4 kB / 384.3 MB, free: 11.43 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001824/0.01443, allocations: 175.2 kB / 384.5 MB, free: 11.25 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01443, allocations: 0 / 384.5 MB, free: 11.25 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000268/0.0147, allocations: 31.92 kB / 384.5 MB, free: 11.22 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.003627/0.01833, allocations: 486.7 kB / 385 MB, free: 10.92 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003121/0.01864, allocations: 79.52 kB / 385.1 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/0.01865, allocations: 4 kB / 385.1 MB, free: 10.83 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.558e-05/0.01874, allocations: 39.61 kB / 385.1 MB, free: 10.79 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004105/0.01915, allocations: 23.98 kB / 385.2 MB, free: 10.77 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006471/0.0198, allocations: 226 kB / 385.4 MB, free: 10.51 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001235/0.01992, allocations: 104.4 kB / 385.5 MB, free: 10.39 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.85e-05/0.01998, allocations: 13.28 kB / 385.5 MB, free: 10.38 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.706e-05/0.02004, allocations: 20.48 kB / 385.5 MB, free: 10.36 MB / 362.7 MB Notification: Performance of SimCode: time 1.062e-06/0.02004, allocations: 0 / 385.5 MB, free: 10.36 MB / 362.7 MB Notification: Performance of Templates: time 0.005888/0.02593, allocations: 1.863 MB / 387.4 MB, free: 8.512 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.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: 4.960498918080702]