Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.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.001002/0.001002, allocations: 91.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.001423/0.001423, allocations: 156.5 kB / 24.55 MB, free: 12 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.9743/0.9743, allocations: 177 MB / 204.8 MB, free: 5.59 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.2851/0.2851, 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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 0 / 378.9 MB, free: 2 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.209e-05/3.431e-05, allocations: 4.844 kB / 378.9 MB, free: 1.996 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.004051/0.004085, allocations: 1.785 MB / 380.7 MB, free: 200 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00176/0.005845, allocations: 1.02 MB / 381.7 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001075/0.005953, allocations: 0 / 381.7 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004229/0.006376, allocations: 79.64 kB / 381.8 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004723/0.006848, allocations: 123.4 kB / 381.9 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003086/0.007157, allocations: 91.53 kB / 382 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002593/0.007416, allocations: 123.7 kB / 382.1 MB, free: 14.76 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.007525, allocations: 8 kB / 382.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001427/0.007668, allocations: 71.73 kB / 382.2 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001298/0.007797, allocations: 51.89 kB / 382.2 MB, free: 14.63 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.085e-05/0.007818, allocations: 4 kB / 382.2 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001368/0.007955, allocations: 63.91 kB / 382.3 MB, free: 14.56 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.045e-05/0.008026, allocations: 23.86 kB / 382.3 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.441e-05/0.00808, allocations: 27.91 kB / 382.3 MB, free: 14.51 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003003/0.00838, allocations: 123.5 kB / 382.4 MB, free: 14.39 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.453e-06/0.008387, allocations: 0 / 382.4 MB, free: 14.39 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.008389, allocations: 0 / 382.4 MB, free: 14.39 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.264e-06/0.008396, allocations: 0 / 382.4 MB, free: 14.39 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006869/0.009083, allocations: 463.7 kB / 382.9 MB, free: 13.9 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.009129, allocations: 8.031 kB / 382.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.164e-05/0.009211, allocations: 20.84 kB / 382.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002597/0.009471, allocations: 152.4 kB / 383.1 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.629e-05/0.009497, allocations: 4.375 kB / 383.1 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.852e-05/0.009525, allocations: 4.375 kB / 383.1 MB, free: 13.69 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002019/0.009727, allocations: 78.86 kB / 383.2 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.009742, allocations: 192 / 383.2 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.009756, allocations: 4.375 kB / 383.2 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.123e-05/0.009767, allocations: 3.938 kB / 383.2 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.074e-05/0.009828, allocations: 11.98 kB / 383.2 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004553/0.01028, allocations: 299.8 kB / 383.5 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002473/0.01053, allocations: 62.91 kB / 383.5 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.223e-05/0.01057, allocations: 19.81 kB / 383.6 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.435e-05/0.01059, allocations: 4 kB / 383.6 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001401/0.01073, allocations: 76.97 kB / 383.6 MB, free: 13.07 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 2.885e-06/0.01073, allocations: 0 / 383.6 MB, free: 13.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0008139/0.01154, allocations: 213.2 kB / 383.8 MB, free: 12.85 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.85e-05/0.01158, allocations: 55.34 kB / 383.9 MB, free: 12.79 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001551/0.01174, allocations: 246.7 kB / 384.1 MB, free: 12.52 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/0.01175, allocations: 25.7 kB / 384.2 MB, free: 12.49 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.97e-05/0.01181, allocations: 158.9 kB / 384.3 MB, free: 12.33 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.777e-05/0.01185, allocations: 43.75 kB / 384.4 MB, free: 12.29 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.778e-05/0.01189, allocations: 27.38 kB / 384.4 MB, free: 12.25 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.012, allocations: 0.504 MB / 384.9 MB, free: 11.74 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.562e-05/0.01204, allocations: 20 kB / 384.9 MB, free: 11.72 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.442e-05/0.01208, allocations: 43.34 kB / 385 MB, free: 11.67 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.304e-05/0.01215, allocations: 67.25 kB / 385 MB, free: 11.59 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.01216, allocations: 3.938 kB / 385 MB, free: 11.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001284/0.01228, allocations: 105.6 kB / 385.1 MB, free: 11.48 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.0123, allocations: 8 kB / 385.1 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.01231, allocations: 0 / 385.1 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.01232, allocations: 4.031 kB / 385.1 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.022e-05/0.01239, allocations: 23.92 kB / 385.2 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.0124, allocations: 4 kB / 385.2 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.053e-05/0.01243, allocations: 4 kB / 385.2 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.01244, allocations: 4 kB / 385.2 MB, free: 11.43 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 (13): * Single equations (assignments): 13 * 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.555e-05/0.01251, allocations: 164.5 kB / 385.3 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.762e-05/0.01253, allocations: 15.91 kB / 385.3 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002026/0.01273, allocations: 151.8 kB / 385.5 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.01274, allocations: 0 / 385.5 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.01274, allocations: 0 / 385.5 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.01274, allocations: 4 kB / 385.5 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000395/0.01314, allocations: 440.5 kB / 385.9 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.01314, allocations: 4 kB / 385.9 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.916e-05/0.01318, allocations: 15.98 kB / 386 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.01318, allocations: 4 kB / 386 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.0132, allocations: 4 kB / 386 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.075e-06/0.0132, allocations: 0 / 386 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.0132, allocations: 4 kB / 386 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002145/0.01342, allocations: 287 kB / 386.2 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.884e-05/0.01344, allocations: 27.94 kB / 386.3 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.047e-05/0.01346, allocations: 0 / 386.3 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.42e-05/0.0135, allocations: 4 kB / 386.3 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.199e-05/0.01354, allocations: 15.92 kB / 386.3 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.69e-05/0.01356, allocations: 4 kB / 386.3 MB, free: 10.22 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.275e-05/0.01364, allocations: 185 kB / 386.5 MB, free: 10.04 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01364, allocations: 0 / 386.5 MB, free: 10.04 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001872/0.01383, allocations: 31.94 kB / 386.5 MB, free: 10.01 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 (12): * Single equations (assignments): 10 * 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.001033/0.01486, allocations: 483.8 kB / 387 MB, free: 9.684 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001643/0.01503, allocations: 63.59 kB / 387 MB, free: 9.617 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.01503, allocations: 0 / 387 MB, free: 9.617 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.13e-05/0.01508, allocations: 43.61 kB / 387.1 MB, free: 9.57 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002508/0.01533, allocations: 36.09 kB / 387.1 MB, free: 9.535 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004045/0.01574, allocations: 268.5 kB / 387.4 MB, free: 9.238 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.594e-05/0.01578, allocations: 71.33 kB / 387.5 MB, free: 9.148 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.061e-05/0.01582, allocations: 20.62 kB / 387.5 MB, free: 9.129 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.379e-05/0.01586, allocations: 16.5 kB / 387.5 MB, free: 9.113 MB / 362.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01586, allocations: 0 / 387.5 MB, free: 9.113 MB / 362.7 MB Notification: Performance of Templates: time 0.004018/0.01988, allocations: 2.268 MB / 389.8 MB, free: 6.875 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.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.060041969642043]