Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.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.001518/0.001518, allocations: 91.5 kB / 21.2 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.001796/0.001796, 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.017/1.017, allocations: 177 MB / 204.8 MB, free: 5.613 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.3058/0.3058, allocations: 34.87 MB / 296.3 MB, free: 0.4922 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.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 378.9 MB, free: 1.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.528e-05/2.683e-05, allocations: 3.438 kB / 378.9 MB, free: 1.977 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.00333/0.003356, allocations: 1.948 MB / 380.8 MB, free: 16 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001623/0.004979, allocations: 1.106 MB / 381.9 MB, free: 14.9 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000118/0.005097, allocations: 4 kB / 381.9 MB, free: 14.9 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004884/0.005586, allocations: 163.3 kB / 382.1 MB, free: 14.74 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004623/0.006048, allocations: 183.2 kB / 382.3 MB, free: 14.56 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002988/0.006347, allocations: 131.5 kB / 382.4 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003982/0.006745, allocations: 251.2 kB / 382.6 MB, free: 14.18 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.006872, allocations: 17.95 kB / 382.7 MB, free: 14.17 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001859/0.007058, allocations: 135.6 kB / 382.8 MB, free: 14.04 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001718/0.007229, allocations: 127.7 kB / 382.9 MB, free: 13.91 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.493e-05/0.007254, allocations: 12 kB / 382.9 MB, free: 13.9 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001296/0.007384, allocations: 71.89 kB / 383 MB, free: 13.83 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.127e-05/0.007465, allocations: 47.78 kB / 383 MB, free: 13.78 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.314e-05/0.007528, allocations: 47.78 kB / 383.1 MB, free: 13.73 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002665/0.007795, allocations: 183.3 kB / 383.3 MB, free: 13.55 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.007799, allocations: 0 / 383.3 MB, free: 13.55 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.007801, allocations: 0 / 383.3 MB, free: 13.55 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.007807, allocations: 0 / 383.3 MB, free: 13.55 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006203/0.008428, allocations: 0.5691 MB / 383.8 MB, free: 12.95 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.008469, allocations: 12.03 kB / 383.8 MB, free: 12.94 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.163e-05/0.008551, allocations: 36.73 kB / 383.9 MB, free: 12.9 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002947/0.008846, allocations: 212.7 kB / 384.1 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.949e-05/0.008875, allocations: 12.36 kB / 384.1 MB, free: 12.65 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.903e-05/0.008904, allocations: 4.375 kB / 384.1 MB, free: 12.65 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001983/0.009103, allocations: 118.2 kB / 384.2 MB, free: 12.52 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.009118, allocations: 8.125 kB / 384.2 MB, free: 12.51 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.009131, allocations: 8.312 kB / 384.2 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001545/0.009286, allocations: 7.938 kB / 384.2 MB, free: 12.49 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.044e-05/0.009346, allocations: 27.97 kB / 384.3 MB, free: 12.46 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006115/0.009958, allocations: 0.4946 MB / 384.8 MB, free: 11.93 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003161/0.01027, allocations: 114.2 kB / 384.9 MB, free: 11.79 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.331e-05/0.01033, allocations: 47.36 kB / 384.9 MB, free: 11.74 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.077e-05/0.01035, allocations: 3.984 kB / 384.9 MB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001636/0.01051, allocations: 112.4 kB / 385 MB, free: 11.6 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.853e-06/0.01051, allocations: 0 / 385 MB, free: 11.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.0008377/0.01135, allocations: 457.8 kB / 385.5 MB, free: 11.15 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.932e-05/0.0114, allocations: 89.05 kB / 385.6 MB, free: 11.04 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002497/0.01165, allocations: 350.3 kB / 385.9 MB, free: 10.69 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.463e-05/0.01167, allocations: 33.7 kB / 385.9 MB, free: 10.65 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.789e-05/0.01177, allocations: 203.3 kB / 386.1 MB, free: 10.44 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.268e-05/0.01184, allocations: 67.44 kB / 386.2 MB, free: 10.38 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.126e-05/0.0119, allocations: 51.36 kB / 386.3 MB, free: 10.32 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.01204, allocations: 0.5235 MB / 386.8 MB, free: 9.781 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.307e-05/0.0121, allocations: 31.98 kB / 386.8 MB, free: 9.75 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.494e-05/0.01218, allocations: 76.91 kB / 386.9 MB, free: 9.66 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001377/0.01232, allocations: 130.8 kB / 387 MB, free: 9.516 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.01232, allocations: 0 / 387 MB, free: 9.516 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002516/0.01257, allocations: 201.3 kB / 387.2 MB, free: 9.312 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.01259, allocations: 4 kB / 387.2 MB, free: 9.309 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.01259, allocations: 8.062 kB / 387.2 MB, free: 9.301 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.01261, allocations: 0 / 387.2 MB, free: 9.301 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.01271, allocations: 43.92 kB / 387.3 MB, free: 9.258 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.01272, allocations: 8.047 kB / 387.3 MB, free: 9.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.211e-05/0.01277, allocations: 11.94 kB / 387.3 MB, free: 9.238 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.602e-05/0.01279, allocations: 15.98 kB / 387.3 MB, free: 9.223 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001019/0.01289, allocations: 164.5 kB / 387.5 MB, free: 9.051 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.008e-05/0.01293, allocations: 51.7 kB / 387.5 MB, free: 9 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005819/0.01351, allocations: 227.4 kB / 387.7 MB, free: 8.77 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.01352, allocations: 0 / 387.7 MB, free: 8.77 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.01352, allocations: 4 kB / 387.7 MB, free: 8.766 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.01353, allocations: 0 / 387.7 MB, free: 8.766 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006074/0.01413, allocations: 0.741 MB / 388.5 MB, free: 7.965 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.01414, allocations: 0 / 388.5 MB, free: 7.965 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.759e-05/0.01421, allocations: 39.86 kB / 388.5 MB, free: 7.926 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.01421, allocations: 0 / 388.5 MB, free: 7.926 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.01423, allocations: 12 kB / 388.5 MB, free: 7.914 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.01423, allocations: 3.984 kB / 388.5 MB, free: 7.91 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.01424, allocations: 4 kB / 388.5 MB, free: 7.906 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003237/0.01456, allocations: 0.5029 MB / 389 MB, free: 7.367 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.753e-05/0.01459, allocations: 27.81 kB / 389.1 MB, free: 7.34 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.981e-05/0.01462, allocations: 11.98 kB / 389.1 MB, free: 7.328 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.634e-05/0.01469, allocations: 8 kB / 389.1 MB, free: 7.32 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.25e-05/0.01475, allocations: 19.97 kB / 389.1 MB, free: 7.301 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.956e-05/0.01477, allocations: 8 kB / 389.1 MB, free: 7.293 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001479/0.01491, allocations: 251 kB / 389.4 MB, free: 7.047 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01491, allocations: 0 / 389.4 MB, free: 7.047 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002468/0.01516, allocations: 51.94 kB / 389.4 MB, free: 6.996 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001133/0.01629, allocations: 491.3 kB / 389.9 MB, free: 6.668 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002518/0.01655, allocations: 131.6 kB / 390 MB, free: 6.535 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.01655, allocations: 4 kB / 390 MB, free: 6.531 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.625e-05/0.01664, allocations: 71.91 kB / 390.1 MB, free: 6.457 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003728/0.01701, allocations: 77.36 kB / 390.2 MB, free: 6.387 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006571/0.01767, allocations: 469.9 kB / 390.6 MB, free: 5.879 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.126e-05/0.01774, allocations: 92.3 kB / 390.7 MB, free: 5.77 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.408e-05/0.01782, allocations: 41.92 kB / 390.8 MB, free: 5.73 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.995e-05/0.01788, allocations: 32.48 kB / 390.8 MB, free: 5.699 MB / 362.7 MB Notification: Performance of SimCode: time 2.244e-06/0.01788, allocations: 0 / 390.8 MB, free: 5.699 MB / 362.7 MB Notification: Performance of Templates: time 0.006078/0.02396, allocations: 3.586 MB / 394.4 MB, free: 2.164 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.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.3557195998728275]