Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.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.000983/0.000983, allocations: 85.89 kB / 21.42 MB, free: 3.07 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.001183/0.001183, allocations: 158.3 kB / 24.82 MB, free: 8.766 MB / 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.961/0.961, allocations: 177 MB / 205.1 MB, free: 5.473 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.247/0.247, allocations: 34.86 MB / 296.6 MB, free: 0.5078 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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 379.3 MB, free: 1.754 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.93e-05/2.047e-05, allocations: 6.25 kB / 379.3 MB, free: 1.746 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.002234/0.002254, allocations: 1.756 MB / 381.1 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001154/0.003408, allocations: 1.012 MB / 382.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.869e-05/0.003487, allocations: 0 / 382.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000276/0.003763, allocations: 51.7 kB / 382.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002737/0.004037, allocations: 103.5 kB / 382.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001808/0.004217, allocations: 79.59 kB / 382.3 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001424/0.00436, allocations: 107.7 kB / 382.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.816e-05/0.004438, allocations: 7.984 kB / 382.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.55e-05/0.004523, allocations: 55.78 kB / 382.5 MB, free: 14.56 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.468e-05/0.004598, allocations: 27.91 kB / 382.5 MB, free: 14.53 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.508e-05/0.004613, allocations: 7.984 kB / 382.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.798e-05/0.004691, allocations: 47.92 kB / 382.6 MB, free: 14.48 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.478e-05/0.004736, allocations: 27.86 kB / 382.6 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.575e-05/0.004772, allocations: 19.94 kB / 382.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001537/0.004925, allocations: 115.6 kB / 382.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.004928, allocations: 0 / 382.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.004929, allocations: 0 / 382.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.307e-06/0.004933, allocations: 0 / 382.7 MB, free: 14.32 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.0004264/0.005359, allocations: 483.5 kB / 383.2 MB, free: 13.81 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.0054, allocations: 8.031 kB / 383.2 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.811e-05/0.005439, allocations: 20.83 kB / 383.2 MB, free: 13.78 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001593/0.005598, allocations: 165.2 kB / 383.4 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.005614, allocations: 4.375 kB / 383.4 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.48e-05/0.005628, allocations: 4.375 kB / 383.4 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001079/0.005736, allocations: 58.94 kB / 383.4 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.005746, allocations: 192 / 383.4 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.743e-06/0.005753, allocations: 384 / 383.4 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.005759, allocations: 7.938 kB / 383.5 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.441e-05/0.005783, allocations: 11.92 kB / 383.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002282/0.006012, allocations: 268.4 kB / 383.7 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.212e-05/0.006094, allocations: 51.16 kB / 383.8 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.14e-05/0.006115, allocations: 23.66 kB / 383.8 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.358e-05/0.006129, allocations: 0 / 383.8 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.175e-05/0.00621, allocations: 68.98 kB / 383.9 MB, free: 13.04 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 9.62e-07/0.006211, allocations: 0 / 383.9 MB, free: 13.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002981/0.006509, allocations: 141.4 kB / 384 MB, free: 12.89 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.36e-05/0.006533, allocations: 51.41 kB / 384.1 MB, free: 12.83 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001338/0.006667, allocations: 269.5 kB / 384.3 MB, free: 12.55 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.006681, allocations: 33.7 kB / 384.4 MB, free: 12.51 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.871e-05/0.00674, allocations: 166.8 kB / 384.5 MB, free: 12.34 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.456e-05/0.006764, allocations: 27.78 kB / 384.5 MB, free: 12.31 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.057e-05/0.006795, allocations: 31.36 kB / 384.6 MB, free: 12.27 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.006909, allocations: 0.5001 MB / 385.1 MB, free: 11.76 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.806e-05/0.006927, allocations: 11.98 kB / 385.1 MB, free: 11.75 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.651e-05/0.006953, allocations: 31.36 kB / 385.1 MB, free: 11.71 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.183e-05/0.006995, allocations: 43.3 kB / 385.2 MB, free: 11.66 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.006997, allocations: 384 / 385.2 MB, free: 11.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.46e-05/0.007091, allocations: 101.4 kB / 385.3 MB, free: 11.55 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/0.007102, allocations: 4 kB / 385.3 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.007108, allocations: 8.031 kB / 385.3 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.00712, allocations: 4 kB / 385.3 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.027e-05/0.00718, allocations: 15.98 kB / 385.3 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.826e-06/0.007183, allocations: 0 / 385.3 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.869e-05/0.007211, allocations: 8 kB / 385.3 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-06/0.007216, allocations: 0 / 385.3 MB, free: 11.52 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.297e-05/0.007289, allocations: 160.6 kB / 385.5 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.741e-05/0.007307, allocations: 23.83 kB / 385.5 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001353/0.007442, allocations: 99.08 kB / 385.6 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.007445, allocations: 0 / 385.6 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.007447, allocations: 7.984 kB / 385.6 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.00745, allocations: 0 / 385.6 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002504/0.0077, allocations: 369.6 kB / 385.9 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.007702, allocations: 0 / 385.9 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.383e-05/0.007736, allocations: 15.92 kB / 386 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.00774, allocations: 4 kB / 386 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.28e-06/0.007746, allocations: 3.938 kB / 386 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.007747, allocations: 0 / 386 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.007748, allocations: 0 / 386 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001286/0.007877, allocations: 263.3 kB / 386.2 MB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.154e-05/0.007888, allocations: 15.94 kB / 386.2 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.645e-05/0.007905, allocations: 8 kB / 386.2 MB, free: 10.49 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.077e-05/0.007945, allocations: 3.984 kB / 386.3 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.476e-05/0.00797, allocations: 4 kB / 386.3 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-05/0.007983, allocations: 7.984 kB / 386.3 MB, free: 10.47 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.884e-05/0.008062, allocations: 184.5 kB / 386.4 MB, free: 10.29 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008062, allocations: 0 / 386.4 MB, free: 10.29 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001749/0.008237, allocations: 27.94 kB / 386.5 MB, free: 10.27 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.0008239/0.009061, allocations: 435.7 kB / 386.9 MB, free: 9.965 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.493e-05/0.009156, allocations: 55.58 kB / 386.9 MB, free: 9.906 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.009157, allocations: 0 / 386.9 MB, free: 9.906 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.165e-05/0.009189, allocations: 27.61 kB / 387 MB, free: 9.875 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002216/0.009411, allocations: 39.53 kB / 387 MB, free: 9.84 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003108/0.009722, allocations: 254.5 kB / 387.3 MB, free: 9.559 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.061e-05/0.009762, allocations: 75.33 kB / 387.3 MB, free: 9.465 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.559e-05/0.009798, allocations: 21.39 kB / 387.4 MB, free: 9.445 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.505e-05/0.009863, allocations: 90.19 kB / 387.4 MB, free: 9.355 MB / 362.7 MB Notification: Performance of SimCode: time 5.31e-07/0.009863, allocations: 0 / 387.4 MB, free: 9.355 MB / 362.7 MB Notification: Performance of Templates: time 0.003507/0.01337, allocations: 2.062 MB / 389.5 MB, free: 7.324 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.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: 2.9354910301044583]