Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.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.000928/0.000928, allocations: 82.59 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.0009678/0.0009678, allocations: 169 kB / 24.82 MB, free: 8.867 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.9863/0.9863, allocations: 177 MB / 205.1 MB, free: 5.477 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.2559/0.2559, allocations: 34.86 MB / 296.6 MB, free: 0.5117 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.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 379.3 MB, free: 1.738 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.765e-05/1.915e-05, allocations: 7.094 kB / 379.3 MB, free: 1.73 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.002005/0.002024, allocations: 1.756 MB / 381.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001602/0.003626, allocations: 1.733 MB / 382.8 MB, free: 14.22 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.038e-05/0.003697, allocations: 0 / 382.8 MB, free: 14.22 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002482/0.003945, allocations: 35.77 kB / 382.8 MB, free: 14.18 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002754/0.00422, allocations: 103.4 kB / 382.9 MB, free: 14.08 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001499/0.00437, allocations: 83.59 kB / 383 MB, free: 14 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001416/0.004512, allocations: 107.7 kB / 383.1 MB, free: 13.89 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.02e-05/0.004602, allocations: 11.97 kB / 383.1 MB, free: 13.88 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.931e-05/0.004691, allocations: 55.78 kB / 383.2 MB, free: 13.83 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001048/0.004796, allocations: 39.89 kB / 383.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.004813, allocations: 4 kB / 383.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001389/0.004952, allocations: 103.8 kB / 383.3 MB, free: 13.68 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.469e-05/0.004996, allocations: 23.86 kB / 383.4 MB, free: 13.66 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.071e-05/0.005027, allocations: 23.91 kB / 383.4 MB, free: 13.64 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001958/0.005223, allocations: 151.5 kB / 383.5 MB, free: 13.49 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.583e-06/0.005224, allocations: 0 / 383.5 MB, free: 13.49 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.005225, allocations: 0 / 383.5 MB, free: 13.49 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.677e-06/0.005229, allocations: 8 kB / 383.5 MB, free: 13.48 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.000414/0.005643, allocations: 455.7 kB / 384 MB, free: 13 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.005681, allocations: 12.03 kB / 384 MB, free: 12.99 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.138e-05/0.005713, allocations: 8.891 kB / 384 MB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001415/0.005854, allocations: 156.9 kB / 384.2 MB, free: 12.8 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.005869, allocations: 384 / 384.2 MB, free: 12.8 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.621e-05/0.005885, allocations: 4.375 kB / 384.2 MB, free: 12.8 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001211/0.006006, allocations: 104 kB / 384.3 MB, free: 12.67 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.006017, allocations: 7.891 kB / 384.3 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.963e-06/0.006024, allocations: 0 / 384.3 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.293e-06/0.006031, allocations: 11.98 kB / 384.3 MB, free: 12.65 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.451e-05/0.006056, allocations: 4 kB / 384.3 MB, free: 12.65 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002231/0.006279, allocations: 260.4 kB / 384.6 MB, free: 12.37 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.624e-05/0.006355, allocations: 47.09 kB / 384.6 MB, free: 12.31 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.131e-05/0.006376, allocations: 19.75 kB / 384.6 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.371e-05/0.00639, allocations: 0 / 384.6 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.394e-05/0.006484, allocations: 68.92 kB / 384.7 MB, free: 12.2 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 8.72e-07/0.006485, allocations: 0 / 384.7 MB, free: 12.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003034/0.006788, allocations: 149.4 kB / 384.8 MB, free: 12.05 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.262e-05/0.006821, allocations: 85.11 kB / 384.9 MB, free: 11.95 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.006938, allocations: 207.3 kB / 385.1 MB, free: 11.73 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.309e-05/0.006951, allocations: 29.7 kB / 385.1 MB, free: 11.7 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.277e-05/0.007003, allocations: 146.8 kB / 385.3 MB, free: 11.55 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.167e-05/0.007025, allocations: 19.8 kB / 385.3 MB, free: 11.53 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.492e-05/0.00706, allocations: 35.34 kB / 385.3 MB, free: 11.48 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.007185, allocations: 0.4923 MB / 385.8 MB, free: 10.98 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.702e-05/0.007202, allocations: 11.94 kB / 385.8 MB, free: 10.97 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.158e-05/0.007243, allocations: 64.69 kB / 385.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003426/0.007586, allocations: 59.31 kB / 386 MB, free: 10.82 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.007587, allocations: 0 / 386 MB, free: 10.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.261e-05/0.00768, allocations: 81.53 kB / 386 MB, free: 10.73 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.007692, allocations: 4 kB / 386 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.007697, allocations: 4 kB / 386.1 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.00771, allocations: 0 / 386.1 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.026e-05/0.00777, allocations: 27.91 kB / 386.1 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.996e-06/0.007773, allocations: 0 / 386.1 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.82e-05/0.007801, allocations: 4 kB / 386.1 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/0.007807, allocations: 4 kB / 386.1 MB, free: 10.69 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 6.922e-05/0.007876, allocations: 164.6 kB / 386.2 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.542e-05/0.007892, allocations: 15.89 kB / 386.3 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00013/0.008022, allocations: 98.38 kB / 386.4 MB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.008024, allocations: 0 / 386.4 MB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.008025, allocations: 0 / 386.4 MB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.008029, allocations: 4 kB / 386.4 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002444/0.008273, allocations: 365.5 kB / 386.7 MB, free: 10 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.008275, allocations: 0 / 386.7 MB, free: 10 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.41e-05/0.008299, allocations: 8 kB / 386.7 MB, free: 9.992 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.008301, allocations: 4.031 kB / 386.7 MB, free: 9.988 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.276e-06/0.008309, allocations: 7.984 kB / 386.7 MB, free: 9.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.008311, allocations: 3.938 kB / 386.7 MB, free: 9.977 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.008312, allocations: 0 / 386.7 MB, free: 9.977 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001354/0.008448, allocations: 255.4 kB / 387 MB, free: 9.703 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.016e-05/0.008458, allocations: 3.953 kB / 387 MB, free: 9.699 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.008474, allocations: 8.375 kB / 387 MB, free: 9.691 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.269e-05/0.008516, allocations: 7.984 kB / 387 MB, free: 9.684 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.14e-05/0.008538, allocations: 0 / 387 MB, free: 9.684 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.329e-05/0.008551, allocations: 11.98 kB / 387 MB, free: 9.672 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.774e-05/0.008619, allocations: 165.6 kB / 387.2 MB, free: 9.512 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.008619, allocations: 0 / 387.2 MB, free: 9.512 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000186/0.008805, allocations: 43.81 kB / 387.2 MB, free: 9.469 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.00116/0.009965, allocations: 0.5317 MB / 387.8 MB, free: 9.094 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001084/0.01007, allocations: 51.59 kB / 387.8 MB, free: 9.039 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.01008, allocations: 0 / 387.8 MB, free: 9.039 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.762e-05/0.01011, allocations: 31.59 kB / 387.8 MB, free: 9.004 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002339/0.01035, allocations: 39.28 kB / 387.9 MB, free: 8.969 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002997/0.01065, allocations: 194.1 kB / 388.1 MB, free: 8.746 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.212e-05/0.01069, allocations: 67.33 kB / 388.1 MB, free: 8.66 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.227e-05/0.01073, allocations: 16.97 kB / 388.2 MB, free: 8.641 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.371e-05/0.01081, allocations: 98.19 kB / 388.2 MB, free: 8.543 MB / 362.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01082, allocations: 0 / 388.2 MB, free: 8.543 MB / 362.7 MB Notification: Performance of Templates: time 0.004453/0.01527, allocations: 2.791 MB / 391 MB, free: 5.793 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.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.0256623052991927]