Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.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.0009835/0.0009835, allocations: 81.81 kB / 21.42 MB, free: 3.066 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.001631/0.001631, allocations: 164.4 kB / 24.82 MB, free: 9.266 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.9437/0.9437, allocations: 177 MB / 205.1 MB, free: 5.465 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.244/0.244, allocations: 34.86 MB / 296.6 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.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 379.3 MB, free: 1.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.649e-05/1.82e-05, allocations: 4.984 kB / 379.3 MB, free: 1.746 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.002137/0.002156, allocations: 1.758 MB / 381.1 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001096/0.003251, allocations: 1.001 MB / 382.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.155e-05/0.003323, allocations: 0 / 382.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002389/0.003562, allocations: 43.7 kB / 382.1 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003178/0.003879, allocations: 95.48 kB / 382.2 MB, free: 14.83 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001866/0.004066, allocations: 87.59 kB / 382.3 MB, free: 14.74 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001358/0.004202, allocations: 103.7 kB / 382.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.317e-05/0.004285, allocations: 8 kB / 382.4 MB, free: 14.63 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.321e-05/0.004368, allocations: 55.78 kB / 382.5 MB, free: 14.58 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.164e-05/0.00444, allocations: 31.89 kB / 382.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.302e-05/0.004453, allocations: 4 kB / 382.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.865e-05/0.004532, allocations: 43.92 kB / 382.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.484e-05/0.004576, allocations: 23.92 kB / 382.6 MB, free: 14.48 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.4e-05/0.00461, allocations: 19.92 kB / 382.6 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001563/0.004767, allocations: 99.59 kB / 382.7 MB, free: 14.36 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.004769, allocations: 0 / 382.7 MB, free: 14.36 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.004769, allocations: 0 / 382.7 MB, free: 14.36 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.004773, allocations: 0 / 382.7 MB, free: 14.36 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.0004195/0.005193, allocations: 459.8 kB / 383.1 MB, free: 13.88 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.056e-05/0.005223, allocations: 8.031 kB / 383.1 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.614e-05/0.005259, allocations: 16.84 kB / 383.2 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.005388, allocations: 149.1 kB / 383.3 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.005402, allocations: 384 / 383.3 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.692e-05/0.005419, allocations: 8.359 kB / 383.3 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.986e-05/0.005509, allocations: 58.94 kB / 383.4 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.005519, allocations: 192 / 383.4 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.701e-06/0.005524, allocations: 4.375 kB / 383.4 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.00553, allocations: 3.938 kB / 383.4 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.395e-05/0.005554, allocations: 11.92 kB / 383.4 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002235/0.005777, allocations: 272.3 kB / 383.7 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.468e-05/0.005852, allocations: 47.17 kB / 383.7 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.979e-05/0.005872, allocations: 15.67 kB / 383.7 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.453e-05/0.005886, allocations: 4 kB / 383.7 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.704e-05/0.005963, allocations: 64.98 kB / 383.8 MB, free: 13.13 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.005965, allocations: 0 / 383.8 MB, free: 13.13 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002752/0.00624, allocations: 137.4 kB / 383.9 MB, free: 12.99 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.392e-05/0.006264, allocations: 55.41 kB / 384 MB, free: 12.93 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.006373, allocations: 234.3 kB / 384.2 MB, free: 12.68 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.129e-05/0.006384, allocations: 29.7 kB / 384.2 MB, free: 12.64 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.961e-05/0.006434, allocations: 146.9 kB / 384.4 MB, free: 12.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.549e-05/0.006459, allocations: 31.77 kB / 384.4 MB, free: 12.46 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.003e-05/0.006489, allocations: 27.38 kB / 384.4 MB, free: 12.43 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.006601, allocations: 0.4962 MB / 384.9 MB, free: 11.92 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.57e-05/0.006617, allocations: 11.98 kB / 384.9 MB, free: 11.91 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.624e-05/0.006643, allocations: 27.36 kB / 385 MB, free: 11.88 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.726e-05/0.00669, allocations: 47.3 kB / 385 MB, free: 11.82 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-06/0.006691, allocations: 4 kB / 385 MB, free: 11.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.274e-05/0.006784, allocations: 93.83 kB / 385.1 MB, free: 11.72 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.017e-05/0.006794, allocations: 4 kB / 385.1 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.006799, allocations: 4 kB / 385.1 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.00681, allocations: 0 / 385.1 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.487e-05/0.006864, allocations: 16 kB / 385.1 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.705e-06/0.006867, allocations: 0 / 385.1 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.629e-05/0.006893, allocations: 7.984 kB / 385.1 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.281e-06/0.0069, allocations: 4 kB / 385.1 MB, free: 11.68 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.587e-05/0.006966, allocations: 156.6 kB / 385.3 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.779e-05/0.006983, allocations: 27.88 kB / 385.3 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001205/0.007104, allocations: 99.06 kB / 385.4 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.007106, allocations: 0 / 385.4 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.007111, allocations: 4 kB / 385.4 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.007116, allocations: 3.984 kB / 385.4 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000238/0.007354, allocations: 357.6 kB / 385.8 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.007356, allocations: 0 / 385.8 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.546e-05/0.007382, allocations: 19.92 kB / 385.8 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.007383, allocations: 0 / 385.8 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.159e-06/0.007388, allocations: 7.969 kB / 385.8 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.00739, allocations: 4 kB / 385.8 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.007391, allocations: 0 / 385.8 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000134/0.007525, allocations: 255.4 kB / 386.1 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.262e-05/0.007538, allocations: 11.95 kB / 386.1 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.433e-05/0.007552, allocations: 4 kB / 386.1 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.94e-05/0.007592, allocations: 3.984 kB / 386.1 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.473e-05/0.007616, allocations: 7.984 kB / 386.1 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.007628, allocations: 8 kB / 386.1 MB, free: 10.66 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.888e-05/0.007687, allocations: 155.1 kB / 386.2 MB, free: 10.5 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007687, allocations: 0 / 386.2 MB, free: 10.5 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001667/0.007854, allocations: 31.94 kB / 386.3 MB, free: 10.47 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.0008587/0.008712, allocations: 440 kB / 386.7 MB, free: 10.17 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.571e-05/0.008798, allocations: 43.61 kB / 386.7 MB, free: 10.12 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.008799, allocations: 0 / 386.7 MB, free: 10.12 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.426e-05/0.008834, allocations: 39.59 kB / 386.8 MB, free: 10.08 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002154/0.009049, allocations: 38.81 kB / 386.8 MB, free: 10.05 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002709/0.00932, allocations: 214.1 kB / 387 MB, free: 9.805 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.757e-05/0.009358, allocations: 67.34 kB / 387.1 MB, free: 9.719 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.581e-05/0.009393, allocations: 17.27 kB / 387.1 MB, free: 9.699 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.395e-05/0.009457, allocations: 90.19 kB / 387.2 MB, free: 9.609 MB / 362.7 MB Notification: Performance of SimCode: time 4.71e-07/0.009458, allocations: 4 kB / 387.2 MB, free: 9.605 MB / 362.7 MB Notification: Performance of Templates: time 0.003297/0.01275, allocations: 2.034 MB / 389.2 MB, free: 7.602 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.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.9724651258438826]