Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.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.002598/0.002598, allocations: 103.5 kB / 20.97 MB, free: 3.449 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.00291/0.00291, allocations: 160.8 kB / 24.27 MB, free: 152 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.712/1.712, allocations: 177 MB / 204.4 MB, free: 5.645 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.3708/0.3708, allocations: 34.25 MB / 295.2 MB, free: 0.6523 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.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|t_new.y.3.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 377.3 MB, free: 2.82 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.723e-05/2.878e-05, allocations: 4.422 kB / 377.3 MB, free: 2.816 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.003784/0.003812, allocations: 1.751 MB / 379.1 MB, free: 1.051 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002094/0.005906, allocations: 1.001 MB / 380.1 MB, free: 44 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.606e-05/0.006002, allocations: 0 / 380.1 MB, free: 44 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003535/0.006356, allocations: 51.78 kB / 380.1 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004131/0.006769, allocations: 107.5 kB / 380.2 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002636/0.007032, allocations: 79.61 kB / 380.3 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002357/0.007268, allocations: 135.6 kB / 380.4 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.298e-05/0.007361, allocations: 7.984 kB / 380.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001366/0.007497, allocations: 71.77 kB / 380.5 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000117/0.007615, allocations: 43.88 kB / 380.5 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.296e-05/0.007637, allocations: 8 kB / 380.6 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001337/0.007771, allocations: 55.92 kB / 380.6 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.804e-05/0.007849, allocations: 39.83 kB / 380.6 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.09e-05/0.0079, allocations: 19.94 kB / 380.7 MB, free: 15.43 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002915/0.008192, allocations: 159.4 kB / 380.8 MB, free: 15.27 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.008196, allocations: 7.938 kB / 380.8 MB, free: 15.27 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.008197, allocations: 0 / 380.8 MB, free: 15.27 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.008202, allocations: 0 / 380.8 MB, free: 15.27 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006841/0.008886, allocations: 471.4 kB / 381.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.008923, allocations: 8.031 kB / 381.3 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.17e-05/0.008984, allocations: 12.89 kB / 381.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002686/0.009253, allocations: 160.9 kB / 381.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.009267, allocations: 384 / 381.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.639e-05/0.009293, allocations: 12.31 kB / 381.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.009463, allocations: 70.22 kB / 381.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.009476, allocations: 4.172 kB / 381.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.02e-05/0.009496, allocations: 8.359 kB / 381.6 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.009503, allocations: 3.938 kB / 381.6 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001336/0.009636, allocations: 39.97 kB / 381.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00051/0.01015, allocations: 331.6 kB / 381.9 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003033/0.01045, allocations: 83.02 kB / 382 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.872e-05/0.01054, allocations: 27.67 kB / 382 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.501e-05/0.01055, allocations: 4 kB / 382 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001892/0.01074, allocations: 97.16 kB / 382.1 MB, free: 13.83 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.382e-06/0.01074, allocations: 0 / 382.1 MB, free: 13.83 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0009227/0.01167, allocations: 293.7 kB / 382.4 MB, free: 13.54 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.342e-05/0.01172, allocations: 55.41 kB / 382.5 MB, free: 13.47 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002645/0.01198, allocations: 253.9 kB / 382.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.841e-05/0.01201, allocations: 29.64 kB / 382.7 MB, free: 13.17 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/0.01214, allocations: 163.1 kB / 382.9 MB, free: 13 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.814e-05/0.01219, allocations: 47.64 kB / 383 MB, free: 12.96 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.051e-05/0.01226, allocations: 39.36 kB / 383 MB, free: 12.91 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000295/0.01256, allocations: 0.504 MB / 383.5 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.315e-05/0.01264, allocations: 35.98 kB / 383.5 MB, free: 12.36 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.01276, allocations: 61.61 kB / 383.6 MB, free: 12.29 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001928/0.01295, allocations: 103.2 kB / 383.7 MB, free: 12.18 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.01295, allocations: 0 / 383.7 MB, free: 12.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003755/0.01332, allocations: 152.6 kB / 383.8 MB, free: 12.03 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.01334, allocations: 11.98 kB / 383.9 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.01335, allocations: 4 kB / 383.9 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.01337, allocations: 0 / 383.9 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.01349, allocations: 27.94 kB / 383.9 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.0135, allocations: 12.02 kB / 383.9 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.593e-05/0.01355, allocations: 0 / 383.9 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.319e-05/0.01356, allocations: 4 kB / 383.9 MB, free: 11.97 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 (15): * Single equations (assignments): 15 * 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.0001565/0.01372, allocations: 172.5 kB / 384.1 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.791e-05/0.01376, allocations: 15.91 kB / 384.1 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000397/0.01415, allocations: 191 kB / 384.3 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.01416, allocations: 0 / 384.3 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.01416, allocations: 0 / 384.3 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.01416, allocations: 0 / 384.3 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007423/0.0149, allocations: 0.5045 MB / 384.8 MB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.01491, allocations: 0 / 384.8 MB, free: 11.03 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.651e-05/0.01499, allocations: 35.86 kB / 384.8 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.015, allocations: 0 / 384.8 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/0.01501, allocations: 4 kB / 384.8 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.01501, allocations: 0 / 384.8 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.01501, allocations: 0 / 384.8 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004531/0.01547, allocations: 349.2 kB / 385.2 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.636e-05/0.01549, allocations: 7.953 kB / 385.2 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.32e-05/0.01553, allocations: 11.98 kB / 385.2 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.423e-05/0.0156, allocations: 64 / 385.2 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.329e-05/0.01565, allocations: 23.92 kB / 385.2 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.956e-05/0.01567, allocations: 4 kB / 385.2 MB, free: 10.58 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000169/0.01584, allocations: 192.2 kB / 385.4 MB, free: 10.39 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01584, allocations: 0 / 385.4 MB, free: 10.39 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002775/0.01612, allocations: 35.89 kB / 385.4 MB, free: 10.36 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 14 * 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.003834/0.01995, allocations: 0.5365 MB / 386 MB, free: 10.01 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00032/0.02027, allocations: 107.6 kB / 386.1 MB, free: 9.902 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.02028, allocations: 64 / 386.1 MB, free: 9.902 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001343/0.02041, allocations: 71.55 kB / 386.1 MB, free: 9.828 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003974/0.02081, allocations: 39.84 kB / 386.2 MB, free: 9.789 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006515/0.02146, allocations: 290.2 kB / 386.5 MB, free: 9.469 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001291/0.02159, allocations: 106.2 kB / 386.6 MB, free: 9.344 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.176e-05/0.02167, allocations: 33.58 kB / 386.6 MB, free: 9.309 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.904e-05/0.02173, allocations: 20.5 kB / 386.6 MB, free: 9.289 MB / 362.7 MB Notification: Performance of SimCode: time 9.21e-07/0.02173, allocations: 0 / 386.6 MB, free: 9.289 MB / 362.7 MB Notification: Performance of Templates: time 0.006565/0.02829, allocations: 2.37 MB / 389 MB, free: 6.945 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.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: 5.245467392960563]