Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.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.001128/0.001128, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001033/0.001033, allocations: 160.5 kB / 24.55 MB, free: 16 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 0.9272/0.9272, allocations: 177 MB / 204.8 MB, free: 5.574 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.2781/0.2781, allocations: 34.86 MB / 296.3 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.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 5.34e-06/5.34e-06, allocations: 0 / 378.8 MB, free: 2.012 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.4e-05/3.934e-05, allocations: 2.875 kB / 378.8 MB, free: 2.008 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.002635/0.002674, allocations: 1.771 MB / 380.6 MB, free: 228 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001396/0.00407, allocations: 1.012 MB / 381.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001132/0.004183, allocations: 3.938 kB / 381.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000382/0.004565, allocations: 87.69 kB / 381.7 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003642/0.004929, allocations: 123.4 kB / 381.8 MB, free: 14.99 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002528/0.005182, allocations: 79.59 kB / 381.9 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002018/0.005384, allocations: 119.6 kB / 382 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.822e-05/0.005482, allocations: 4 kB / 382 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.906e-05/0.005581, allocations: 67.8 kB / 382.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001053/0.005687, allocations: 55.88 kB / 382.2 MB, free: 14.67 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.699e-05/0.005704, allocations: 4 kB / 382.2 MB, free: 14.67 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.955e-05/0.005803, allocations: 43.92 kB / 382.2 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.852e-05/0.005862, allocations: 35.84 kB / 382.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.516e-05/0.005907, allocations: 23.86 kB / 382.3 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002179/0.006125, allocations: 99.66 kB / 382.4 MB, free: 14.47 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.006129, allocations: 0 / 382.4 MB, free: 14.47 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.00613, allocations: 0 / 382.4 MB, free: 14.47 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.006134, allocations: 0 / 382.4 MB, free: 14.47 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.0004978/0.006632, allocations: 459.8 kB / 382.8 MB, free: 13.98 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.006671, allocations: 8.031 kB / 382.8 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.675e-05/0.006728, allocations: 16.84 kB / 382.8 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001882/0.006916, allocations: 156.4 kB / 383 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.069e-05/0.006936, allocations: 8.359 kB / 383 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.068e-05/0.006957, allocations: 8.328 kB / 383 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001332/0.00709, allocations: 62.94 kB / 383.1 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.0071, allocations: 192 / 383.1 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.007111, allocations: 384 / 383.1 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/0.007121, allocations: 3.938 kB / 383.1 MB, free: 13.69 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.892e-05/0.00716, allocations: 15.98 kB / 383.1 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003503/0.00751, allocations: 283.8 kB / 383.4 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001279/0.007638, allocations: 55.11 kB / 383.4 MB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.52e-05/0.007673, allocations: 19.69 kB / 383.4 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.691e-05/0.00769, allocations: 7.984 kB / 383.4 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001247/0.007815, allocations: 68.98 kB / 383.5 MB, free: 13.18 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.442e-06/0.007816, allocations: 0 / 383.5 MB, free: 13.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004453/0.008261, allocations: 161.3 kB / 383.7 MB, free: 13.02 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.839e-05/0.0083, allocations: 55.39 kB / 383.7 MB, free: 12.95 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001538/0.008453, allocations: 246.7 kB / 384 MB, free: 12.69 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.008469, allocations: 25.7 kB / 384 MB, free: 12.66 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.259e-05/0.008531, allocations: 158.8 kB / 384.1 MB, free: 12.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.829e-05/0.00856, allocations: 27.75 kB / 384.2 MB, free: 12.47 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.229e-05/0.008592, allocations: 35.36 kB / 384.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.008711, allocations: 0.4962 MB / 384.7 MB, free: 11.92 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.951e-05/0.00874, allocations: 15.98 kB / 384.7 MB, free: 11.91 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.43e-05/0.008774, allocations: 27.38 kB / 384.7 MB, free: 11.87 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.14e-05/0.008836, allocations: 51.36 kB / 384.8 MB, free: 11.81 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.008837, allocations: 0 / 384.8 MB, free: 11.81 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001109/0.008948, allocations: 97.83 kB / 384.9 MB, free: 11.71 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.008961, allocations: 4 kB / 384.9 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.008966, allocations: 4.031 kB / 384.9 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.00898, allocations: 4 kB / 384.9 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.907e-05/0.009059, allocations: 23.92 kB / 384.9 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.009064, allocations: 0 / 384.9 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.004e-05/0.009095, allocations: 4 kB / 384.9 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.0091, allocations: 0 / 384.9 MB, free: 11.67 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 7.968e-05/0.00918, allocations: 164.6 kB / 385.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.774e-05/0.009197, allocations: 23.84 kB / 385.1 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001554/0.009353, allocations: 103.1 kB / 385.2 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.009356, allocations: 3.984 kB / 385.2 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.00936, allocations: 4 kB / 385.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.009364, allocations: 0 / 385.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002913/0.009655, allocations: 396.9 kB / 385.6 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.009657, allocations: 0 / 385.6 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.821e-05/0.009685, allocations: 12 kB / 385.6 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.009691, allocations: 7.984 kB / 385.6 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.009699, allocations: 0 / 385.6 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.0097, allocations: 0 / 385.6 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.009702, allocations: 4 kB / 385.6 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001693/0.009872, allocations: 259.4 kB / 385.9 MB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.51e-05/0.009887, allocations: 11.98 kB / 385.9 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.857e-05/0.009905, allocations: 4 kB / 385.9 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.23e-05/0.009948, allocations: 4 kB / 385.9 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.612e-05/0.009984, allocations: 11.92 kB / 385.9 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.198e-05/0.009996, allocations: 0 / 385.9 MB, free: 10.6 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.355e-05/0.01008, allocations: 185 kB / 386.1 MB, free: 10.42 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01008, allocations: 0 / 386.1 MB, free: 10.42 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001775/0.01026, allocations: 27.94 kB / 386.1 MB, free: 10.39 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.0009639/0.01122, allocations: 440.8 kB / 386.6 MB, free: 10.09 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001381/0.01136, allocations: 59.53 kB / 386.6 MB, free: 10.03 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.01136, allocations: 0 / 386.6 MB, free: 10.03 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.501e-05/0.01141, allocations: 35.61 kB / 386.6 MB, free: 9.988 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002489/0.01165, allocations: 27.97 kB / 386.7 MB, free: 9.961 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003883/0.01204, allocations: 240.5 kB / 386.9 MB, free: 9.695 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.613e-05/0.01209, allocations: 71.33 kB / 387 MB, free: 9.605 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.818e-05/0.01213, allocations: 21.39 kB / 387 MB, free: 9.582 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.889e-05/0.01217, allocations: 20.5 kB / 387 MB, free: 9.562 MB / 362.7 MB Notification: Performance of SimCode: time 9.31e-07/0.01217, allocations: 0 / 387 MB, free: 9.562 MB / 362.7 MB Notification: Performance of Templates: time 0.004306/0.01647, allocations: 2.002 MB / 389 MB, free: 7.586 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.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.1814733841456473]