Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.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.001089/0.001089, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.001258/0.001258, allocations: 163.3 kB / 25.61 MB, free: 8.891 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 1.027/1.027, allocations: 177 MB / 205.9 MB, free: 4.453 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.1619/0.1619, allocations: 34.88 MB / 297.4 MB, free: 13.35 MB / 282.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.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 380.1 MB, free: 22.67 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.41e-05/2.592e-05, allocations: 2.312 kB / 380.1 MB, free: 22.67 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.005882/0.005907, allocations: 1.71 MB / 381.8 MB, free: 20.95 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001379/0.007286, allocations: 0.9852 MB / 382.8 MB, free: 19.96 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.816e-05/0.007364, allocations: 0 / 382.8 MB, free: 19.96 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00313/0.01049, allocations: 59.73 kB / 382.8 MB, free: 19.9 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000429/0.01092, allocations: 111.5 kB / 382.9 MB, free: 19.79 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00028/0.0112, allocations: 75.66 kB / 383 MB, free: 19.71 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001998/0.0114, allocations: 115.6 kB / 383.1 MB, free: 19.6 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.908e-05/0.01145, allocations: 4.234 kB / 383.1 MB, free: 19.6 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000115/0.01157, allocations: 59.81 kB / 383.2 MB, free: 19.54 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001092/0.01168, allocations: 51.81 kB / 383.2 MB, free: 19.49 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.861e-05/0.01169, allocations: 4 kB / 383.3 MB, free: 19.48 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.087e-05/0.01179, allocations: 27.94 kB / 383.3 MB, free: 19.46 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.975e-05/0.01185, allocations: 23.92 kB / 383.3 MB, free: 19.43 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.028e-05/0.01189, allocations: 15.92 kB / 383.3 MB, free: 19.42 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002029/0.01209, allocations: 83.73 kB / 383.4 MB, free: 19.34 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.01209, allocations: 3.984 kB / 383.4 MB, free: 19.33 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.01209, allocations: 4 kB / 383.4 MB, free: 19.33 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.0121, allocations: 0 / 383.4 MB, free: 19.33 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000514/0.01261, allocations: 439.8 kB / 383.8 MB, free: 18.86 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.01266, allocations: 12.03 kB / 383.9 MB, free: 18.85 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.892e-05/0.0127, allocations: 8.891 kB / 383.9 MB, free: 18.84 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001827/0.01289, allocations: 162.4 kB / 384 MB, free: 18.66 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.01291, allocations: 384 / 384 MB, free: 18.66 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.053e-05/0.01292, allocations: 4.375 kB / 384 MB, free: 18.66 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.01304, allocations: 54.94 kB / 384.1 MB, free: 18.59 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.01305, allocations: 192 / 384.1 MB, free: 18.59 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.416e-06/0.01306, allocations: 4.375 kB / 384.1 MB, free: 18.59 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.01307, allocations: 7.922 kB / 384.1 MB, free: 18.58 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.126e-05/0.0131, allocations: 7.984 kB / 384.1 MB, free: 18.57 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001304/0.01323, allocations: 113.2 kB / 384.2 MB, free: 18.44 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001057/0.01333, allocations: 47.09 kB / 384.3 MB, free: 18.38 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.603e-05/0.01336, allocations: 15.67 kB / 384.3 MB, free: 18.36 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.322e-05/0.01337, allocations: 4 kB / 384.3 MB, free: 18.36 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001001/0.01347, allocations: 61.03 kB / 384.3 MB, free: 18.28 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 1.603e-06/0.01347, allocations: 8 kB / 384.3 MB, free: 18.27 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001934/0.01367, allocations: 85.52 kB / 384.4 MB, free: 18.18 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.432e-05/0.01369, allocations: 51.41 kB / 384.5 MB, free: 18.12 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.01382, allocations: 226.8 kB / 384.7 MB, free: 17.88 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.123e-05/0.01383, allocations: 29.7 kB / 384.7 MB, free: 17.85 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.54e-05/0.01387, allocations: 150.8 kB / 384.9 MB, free: 17.7 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.48e-05/0.01391, allocations: 11.94 kB / 384.9 MB, free: 17.68 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.832e-05/0.01395, allocations: 31.36 kB / 384.9 MB, free: 17.64 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.268e-05/0.01402, allocations: 0.4962 MB / 385.4 MB, free: 17.14 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.88e-05/0.01404, allocations: 4 kB / 385.4 MB, free: 17.13 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.99e-05/0.01407, allocations: 35.34 kB / 385.4 MB, free: 17.09 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.913e-05/0.01412, allocations: 31.31 kB / 385.5 MB, free: 17.05 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.01412, allocations: 4.25 kB / 385.5 MB, free: 17.05 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001053/0.01423, allocations: 69.59 kB / 385.6 MB, free: 16.97 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.01424, allocations: 4 kB / 385.6 MB, free: 16.97 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.351e-06/0.01425, allocations: 3.938 kB / 385.6 MB, free: 16.96 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.01426, allocations: 4 kB / 385.6 MB, free: 16.96 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.439e-05/0.01434, allocations: 19.92 kB / 385.6 MB, free: 16.94 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.01435, allocations: 3.938 kB / 385.6 MB, free: 16.94 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.533e-05/0.01439, allocations: 11.97 kB / 385.6 MB, free: 16.93 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.0144, allocations: 0 / 385.6 MB, free: 16.93 MB / 314.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 (7): * Single equations (assignments): 7 * 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.404e-05/0.01446, allocations: 156.6 kB / 385.8 MB, free: 16.76 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.279e-05/0.01448, allocations: 15.91 kB / 385.8 MB, free: 16.75 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001354/0.01462, allocations: 82.77 kB / 385.8 MB, free: 16.66 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.01462, allocations: 3.984 kB / 385.9 MB, free: 16.66 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.01463, allocations: 0 / 385.9 MB, free: 16.66 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.01463, allocations: 3.938 kB / 385.9 MB, free: 16.65 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.592e-05/0.01473, allocations: 117.2 kB / 386 MB, free: 16.51 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.01473, allocations: 0 / 386 MB, free: 16.51 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.819e-05/0.01476, allocations: 8 kB / 386 MB, free: 16.5 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.01476, allocations: 4 kB / 386 MB, free: 16.5 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.01477, allocations: 3.984 kB / 386 MB, free: 16.5 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.01477, allocations: 0 / 386 MB, free: 16.5 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.01477, allocations: 0 / 386 MB, free: 16.5 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001209/0.01489, allocations: 112.3 kB / 386.1 MB, free: 16.36 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.562e-05/0.01491, allocations: 7.953 kB / 386.1 MB, free: 16.36 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.267e-05/0.01493, allocations: 11.98 kB / 386.1 MB, free: 16.34 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.78e-05/0.01497, allocations: 0 / 386.1 MB, free: 16.34 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.935e-05/0.015, allocations: 8.125 kB / 386.1 MB, free: 16.34 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.41e-05/0.01501, allocations: 7.984 kB / 386.1 MB, free: 16.33 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.537e-05/0.01509, allocations: 175.1 kB / 386.3 MB, free: 16.16 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01509, allocations: 0 / 386.3 MB, free: 16.16 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002466/0.01533, allocations: 12 kB / 386.3 MB, free: 16.14 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001263/0.0166, allocations: 391.2 kB / 386.7 MB, free: 15.91 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001234/0.01672, allocations: 35.67 kB / 386.7 MB, free: 15.87 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.01672, allocations: 3.938 kB / 386.7 MB, free: 15.86 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.201e-05/0.01676, allocations: 27.59 kB / 386.8 MB, free: 15.83 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002605/0.01702, allocations: 23.98 kB / 386.8 MB, free: 15.81 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003628/0.01739, allocations: 196 kB / 387 MB, free: 15.59 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.637e-05/0.01742, allocations: 67.33 kB / 387 MB, free: 15.5 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.394e-05/0.01747, allocations: 16.55 kB / 387.1 MB, free: 15.49 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.476e-05/0.01754, allocations: 86.19 kB / 387.1 MB, free: 15.4 MB / 314.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01754, allocations: 0 / 387.1 MB, free: 15.4 MB / 314.7 MB Notification: Performance of Templates: time 0.004627/0.02217, allocations: 1.816 MB / 389 MB, free: 13.62 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.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.4449061062186956]