Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.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.001076/0.001076, allocations: 84.34 kB / 22.21 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.001165/0.001165, allocations: 166.8 kB / 25.61 MB, free: 8.582 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.024/1.024, 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.1706/0.1706, allocations: 34.87 MB / 297.4 MB, free: 13.43 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.CombiTable1Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.694e-05/1.886e-05, allocations: 4.938 kB / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.002137/0.002156, allocations: 1.654 MB / 381.7 MB, free: 21.06 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.000737/0.002893, allocations: 0.5214 MB / 382.2 MB, free: 20.54 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.272e-05/0.002955, allocations: 3.938 kB / 382.2 MB, free: 20.54 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002998/0.003255, allocations: 127.6 kB / 382.3 MB, free: 20.41 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003212/0.003576, allocations: 131.4 kB / 382.5 MB, free: 20.28 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002553/0.003832, allocations: 87.72 kB / 382.5 MB, free: 20.2 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001582/0.00399, allocations: 107.7 kB / 382.7 MB, free: 20.09 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.623e-05/0.004086, allocations: 15.97 kB / 382.7 MB, free: 20.07 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.415e-05/0.00416, allocations: 47.89 kB / 382.7 MB, free: 20.03 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001242/0.004284, allocations: 91.81 kB / 382.8 MB, free: 19.94 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.581e-05/0.0043, allocations: 4 kB / 382.8 MB, free: 19.93 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.95e-05/0.00438, allocations: 43.92 kB / 382.8 MB, free: 19.89 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.787e-05/0.004438, allocations: 31.86 kB / 382.9 MB, free: 19.86 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.796e-05/0.004465, allocations: 15.91 kB / 382.9 MB, free: 19.84 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001477/0.004613, allocations: 111.5 kB / 383 MB, free: 19.73 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.754e-06/0.004615, allocations: 0 / 383 MB, free: 19.73 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.92e-07/0.004616, allocations: 0 / 383 MB, free: 19.73 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.00462, allocations: 4 kB / 383 MB, free: 19.73 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000308/0.004928, allocations: 459.7 kB / 383.5 MB, free: 19.24 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.004962, allocations: 16.02 kB / 383.5 MB, free: 19.23 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.809e-05/0.00499, allocations: 12.84 kB / 383.5 MB, free: 19.21 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001144/0.005105, allocations: 148.4 kB / 383.6 MB, free: 19.04 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.005116, allocations: 8.375 kB / 383.6 MB, free: 19.04 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.822e-05/0.005134, allocations: 4.312 kB / 383.6 MB, free: 19.03 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.806e-05/0.005222, allocations: 66.92 kB / 383.7 MB, free: 18.96 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.005232, allocations: 192 / 383.7 MB, free: 18.96 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.063e-06/0.005239, allocations: 4.375 kB / 383.7 MB, free: 18.95 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.005244, allocations: 384 / 383.7 MB, free: 18.95 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.204e-05/0.005266, allocations: 15.92 kB / 383.7 MB, free: 18.94 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002143/0.00548, allocations: 268.4 kB / 384 MB, free: 18.65 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.772e-05/0.005528, allocations: 42.98 kB / 384 MB, free: 18.59 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.618e-05/0.005544, allocations: 11.69 kB / 384 MB, free: 18.58 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.59e-05/0.00556, allocations: 0 / 384 MB, free: 18.58 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.915e-05/0.005579, allocations: 45.38 kB / 384.1 MB, free: 18.52 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.00558, allocations: 0 / 384.1 MB, free: 18.52 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004235/0.006004, allocations: 161.3 kB / 384.2 MB, free: 18.36 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.271e-05/0.006027, allocations: 59.34 kB / 384.3 MB, free: 18.29 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.006147, allocations: 270.7 kB / 384.6 MB, free: 18 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.799e-06/0.006157, allocations: 25.7 kB / 384.6 MB, free: 17.97 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.6e-05/0.006203, allocations: 166.8 kB / 384.8 MB, free: 17.8 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.297e-05/0.006226, allocations: 31.73 kB / 384.8 MB, free: 17.77 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.348e-05/0.006259, allocations: 31.36 kB / 384.8 MB, free: 17.73 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.153e-05/0.006331, allocations: 0.4962 MB / 385.3 MB, free: 17.23 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.426e-05/0.006345, allocations: 15.98 kB / 385.3 MB, free: 17.21 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.246e-05/0.006357, allocations: 4 kB / 385.3 MB, free: 17.21 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.933e-05/0.006397, allocations: 31.67 kB / 385.4 MB, free: 17.17 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.006398, allocations: 0 / 385.4 MB, free: 17.17 MB / 314.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.747e-05/0.006485, allocations: 85.45 kB / 385.4 MB, free: 17.08 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.006498, allocations: 9.562 kB / 385.5 MB, free: 17.07 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.006504, allocations: 0 / 385.5 MB, free: 17.07 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.686e-06/0.006513, allocations: 0 / 385.5 MB, free: 17.07 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.083e-05/0.006574, allocations: 15.98 kB / 385.5 MB, free: 17.06 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.637e-06/0.006578, allocations: 0 / 385.5 MB, free: 17.06 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.051e-05/0.006598, allocations: 8 kB / 385.5 MB, free: 17.05 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.942e-06/0.006604, allocations: 0 / 385.5 MB, free: 17.05 MB / 314.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 (8): * Single equations (assignments): 8 * 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 5.698e-05/0.006661, allocations: 160.6 kB / 385.6 MB, free: 16.88 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.41e-05/0.006685, allocations: 19.84 kB / 385.7 MB, free: 16.86 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001132/0.006798, allocations: 91.36 kB / 385.7 MB, free: 16.77 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.0068, allocations: 0 / 385.7 MB, free: 16.77 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.006803, allocations: 0 / 385.7 MB, free: 16.77 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.006808, allocations: 4 kB / 385.8 MB, free: 16.76 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002644/0.007072, allocations: 357.5 kB / 386.1 MB, free: 16.38 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.007074, allocations: 0 / 386.1 MB, free: 16.38 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.624e-05/0.007121, allocations: 16.03 kB / 386.1 MB, free: 16.36 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.007123, allocations: 0 / 386.1 MB, free: 16.36 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.124e-06/0.00713, allocations: 7.984 kB / 386.1 MB, free: 16.35 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.007131, allocations: 3.938 kB / 386.1 MB, free: 16.35 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.007132, allocations: 0 / 386.1 MB, free: 16.35 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.895e-05/0.007231, allocations: 239.4 kB / 386.4 MB, free: 16.09 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.035e-05/0.007242, allocations: 11.91 kB / 386.4 MB, free: 16.08 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.235e-05/0.007254, allocations: 4 kB / 386.4 MB, free: 16.07 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.507e-05/0.007289, allocations: 11.98 kB / 386.4 MB, free: 16.06 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.496e-05/0.007324, allocations: 4 kB / 386.4 MB, free: 16.06 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.007328, allocations: 4 kB / 386.4 MB, free: 16.05 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.868e-05/0.007387, allocations: 188.1 kB / 386.6 MB, free: 15.87 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007387, allocations: 0 / 386.6 MB, free: 15.87 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001652/0.007552, allocations: 23.92 kB / 386.6 MB, free: 15.85 MB / 314.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 (8): * Single equations (assignments): 8 * 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.0009272/0.008479, allocations: 425 kB / 387 MB, free: 15.6 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001051/0.008585, allocations: 39.61 kB / 387.1 MB, free: 15.56 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.008586, allocations: 0 / 387.1 MB, free: 15.56 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.806e-05/0.008614, allocations: 27.61 kB / 387.1 MB, free: 15.53 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000226/0.00884, allocations: 32.23 kB / 387.1 MB, free: 15.5 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003322/0.009172, allocations: 253.1 kB / 387.4 MB, free: 15.22 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.348e-05/0.009206, allocations: 79.19 kB / 387.4 MB, free: 15.12 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.406e-05/0.00924, allocations: 16.72 kB / 387.5 MB, free: 15.1 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.613e-05/0.009286, allocations: 86.19 kB / 387.5 MB, free: 15.02 MB / 314.7 MB Notification: Performance of SimCode: time 1.223e-06/0.009287, allocations: 0 / 387.5 MB, free: 15.02 MB / 314.7 MB Notification: Performance of Templates: time 0.002995/0.01228, allocations: 1.547 MB / 389.1 MB, free: 13.49 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.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.439086557831615]