Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.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.001109/0.001109, allocations: 85.8 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.001161/0.001161, allocations: 164.2 kB / 24.82 MB, free: 8.324 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.9744/0.9744, allocations: 177 MB / 205.1 MB, free: 5.488 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.2694/0.2694, allocations: 34.87 MB / 296.6 MB, free: 460 kB / 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.CombiTable1Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 3.938 kB / 379.3 MB, free: 1.805 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.58e-05/2.739e-05, allocations: 8.5 kB / 379.3 MB, free: 1.797 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.005467/0.005494, allocations: 1.661 MB / 380.9 MB, free: 124 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008375/0.006332, allocations: 0.5408 MB / 381.5 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.786e-05/0.00639, allocations: 0 / 381.5 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002644/0.006654, allocations: 103.6 kB / 381.6 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002617/0.006916, allocations: 111.5 kB / 381.7 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002389/0.007154, allocations: 91.69 kB / 381.8 MB, free: 15.28 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003177/0.01033, allocations: 103.7 kB / 381.9 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.673e-05/0.01043, allocations: 27.91 kB / 381.9 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.708e-05/0.01051, allocations: 55.88 kB / 381.9 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.254e-05/0.0106, allocations: 59.86 kB / 382 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.401e-05/0.01061, allocations: 4 kB / 382 MB, free: 15.03 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.945e-05/0.0107, allocations: 47.92 kB / 382.1 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.113e-05/0.01074, allocations: 23.92 kB / 382.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3e-05/0.01077, allocations: 23.86 kB / 382.1 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001622/0.01093, allocations: 111.5 kB / 382.2 MB, free: 14.83 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.01094, allocations: 0 / 382.2 MB, free: 14.83 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.01094, allocations: 0 / 382.2 MB, free: 14.83 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.246e-06/0.01094, allocations: 0 / 382.2 MB, free: 14.83 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003878/0.01133, allocations: 459.8 kB / 382.7 MB, free: 14.34 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.01136, allocations: 12.03 kB / 382.7 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.87e-05/0.0114, allocations: 20.84 kB / 382.7 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001287/0.01153, allocations: 160.3 kB / 382.9 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.01154, allocations: 8.312 kB / 382.9 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.905e-05/0.01156, allocations: 8.375 kB / 382.9 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.935e-05/0.01166, allocations: 66.88 kB / 382.9 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.01167, allocations: 192 / 382.9 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.722e-06/0.01168, allocations: 384 / 382.9 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.01168, allocations: 4.375 kB / 382.9 MB, free: 14.03 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.264e-05/0.01171, allocations: 15.92 kB / 383 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002701/0.01198, allocations: 308.2 kB / 383.3 MB, free: 13.69 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.504e-05/0.01205, allocations: 47.05 kB / 383.3 MB, free: 13.63 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.019e-05/0.01207, allocations: 15.84 kB / 383.3 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.541e-05/0.01209, allocations: 4 kB / 383.3 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.336e-05/0.01212, allocations: 41.31 kB / 383.4 MB, free: 13.55 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.362e-06/0.01212, allocations: 0 / 383.4 MB, free: 13.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005293/0.01265, allocations: 209.3 kB / 383.6 MB, free: 13.34 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.484e-05/0.01267, allocations: 59.41 kB / 383.6 MB, free: 13.27 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001533/0.01283, allocations: 242.6 kB / 383.9 MB, free: 13.02 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.01284, allocations: 33.7 kB / 383.9 MB, free: 12.98 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.994e-05/0.01291, allocations: 162.8 kB / 384.1 MB, free: 12.81 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.627e-05/0.01295, allocations: 47.56 kB / 384.1 MB, free: 12.77 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.29e-05/0.01299, allocations: 31.36 kB / 384.1 MB, free: 12.73 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.003146/0.01613, allocations: 0.504 MB / 384.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.937e-05/0.01616, allocations: 11.98 kB / 384.6 MB, free: 12.2 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.559e-05/0.01619, allocations: 12.11 kB / 384.7 MB, free: 12.19 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.595e-05/0.01626, allocations: 55.47 kB / 384.7 MB, free: 12.13 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.01626, allocations: 0 / 384.7 MB, free: 12.13 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001334/0.01639, allocations: 109 kB / 384.8 MB, free: 12.02 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.0164, allocations: 4 kB / 384.8 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.01641, allocations: 8.703 kB / 384.8 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.01642, allocations: 0 / 384.8 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.395e-05/0.01651, allocations: 23.98 kB / 384.9 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.354e-06/0.01652, allocations: 3.938 kB / 384.9 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.686e-05/0.01654, allocations: 4 kB / 384.9 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.01655, allocations: 0 / 384.9 MB, free: 11.98 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * 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.646e-05/0.01663, allocations: 164.5 kB / 385 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.621e-05/0.01666, allocations: 23.86 kB / 385 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001732/0.01684, allocations: 119.1 kB / 385.2 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.01684, allocations: 4 kB / 385.2 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-06/0.01684, allocations: 0 / 385.2 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.01684, allocations: 0 / 385.2 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004961/0.01734, allocations: 397.5 kB / 385.6 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.01734, allocations: 0 / 385.6 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.431e-05/0.01741, allocations: 31.92 kB / 385.6 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.01741, allocations: 0 / 385.6 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-06/0.01742, allocations: 4 kB / 385.6 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.01742, allocations: 4.031 kB / 385.6 MB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.01742, allocations: 0 / 385.6 MB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000152/0.01757, allocations: 263.4 kB / 385.8 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.388e-05/0.01759, allocations: 11.91 kB / 385.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.57e-05/0.0176, allocations: 7.984 kB / 385.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.344e-05/0.01765, allocations: 4 kB / 385.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.892e-05/0.01768, allocations: 15.97 kB / 385.9 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.01769, allocations: 7.938 kB / 385.9 MB, free: 10.86 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.064e-05/0.01777, allocations: 177 kB / 386.1 MB, free: 10.69 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01777, allocations: 0 / 386.1 MB, free: 10.69 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000235/0.01801, allocations: 23.94 kB / 386.1 MB, free: 10.67 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.003991/0.022, allocations: 440.5 kB / 386.5 MB, free: 10.36 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001227/0.02212, allocations: 51.66 kB / 386.6 MB, free: 10.31 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.02212, allocations: 4 kB / 386.6 MB, free: 10.3 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.398e-05/0.02217, allocations: 43.53 kB / 386.6 MB, free: 10.26 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000277/0.02244, allocations: 19.98 kB / 386.6 MB, free: 10.24 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000389/0.02283, allocations: 268.8 kB / 386.9 MB, free: 9.945 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.869e-05/0.02288, allocations: 75.27 kB / 387 MB, free: 9.852 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.414e-05/0.02294, allocations: 20.47 kB / 387 MB, free: 9.832 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.213e-05/0.02301, allocations: 90.19 kB / 387.1 MB, free: 9.742 MB / 362.7 MB Notification: Performance of SimCode: time 6.92e-07/0.02301, allocations: 0 / 387.1 MB, free: 9.742 MB / 362.7 MB Notification: Performance of Templates: time 0.006748/0.02976, allocations: 1.72 MB / 388.8 MB, free: 8.039 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.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.9164674980565906]