Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.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.001006/0.001006, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.0009643/0.0009643, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 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.029/1.029, allocations: 177 MB / 204.8 MB, free: 5.562 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.2668/0.2668, allocations: 34.86 MB / 296.3 MB, free: 0.543 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.CombiTable1Ds.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test30,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.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.245e-06/2.245e-06, allocations: 0 / 378.8 MB, free: 2.082 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.402e-05/3.627e-05, allocations: 3.016 kB / 378.8 MB, free: 2.078 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.002684/0.00272, allocations: 1.667 MB / 380.4 MB, free: 408 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008812/0.003601, allocations: 0.5331 MB / 381 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.057e-05/0.003682, allocations: 0 / 381 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003089/0.003991, allocations: 83.64 kB / 381.1 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003609/0.004352, allocations: 99.58 kB / 381.2 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003176/0.004669, allocations: 99.56 kB / 381.3 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001819/0.004851, allocations: 79.77 kB / 381.3 MB, free: 15.51 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.004976, allocations: 19.91 kB / 381.4 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.608e-05/0.005052, allocations: 39.91 kB / 381.4 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001121/0.005165, allocations: 63.86 kB / 381.5 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.569e-05/0.00518, allocations: 0 / 381.5 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.938e-05/0.00528, allocations: 51.91 kB / 381.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.625e-05/0.005336, allocations: 19.92 kB / 381.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.366e-05/0.00537, allocations: 11.94 kB / 381.5 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001942/0.005564, allocations: 87.66 kB / 381.6 MB, free: 15.22 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.005568, allocations: 4 kB / 381.6 MB, free: 15.21 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.005569, allocations: 0 / 381.6 MB, free: 15.21 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.005575, allocations: 0 / 381.6 MB, free: 15.21 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004471/0.006022, allocations: 447.9 kB / 382.1 MB, free: 14.74 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.006065, allocations: 8.031 kB / 382.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.421e-05/0.006119, allocations: 16.84 kB / 382.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001541/0.006273, allocations: 145.1 kB / 382.2 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.006285, allocations: 4.375 kB / 382.2 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.89e-05/0.006314, allocations: 384 / 382.2 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001367/0.006451, allocations: 58.95 kB / 382.3 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.006461, allocations: 192 / 382.3 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.006472, allocations: 4.375 kB / 382.3 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.006479, allocations: 384 / 382.3 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.744e-05/0.006517, allocations: 19.86 kB / 382.3 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003612/0.006878, allocations: 295.7 kB / 382.6 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.95e-05/0.006958, allocations: 43.12 kB / 382.6 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.612e-05/0.006984, allocations: 19.56 kB / 382.7 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.857e-05/0.007012, allocations: 0 / 382.7 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.112e-05/0.007043, allocations: 45.33 kB / 382.7 MB, free: 13.99 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.223e-06/0.007045, allocations: 0 / 382.7 MB, free: 13.99 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005829/0.007628, allocations: 169.7 kB / 382.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.882e-05/0.007656, allocations: 51.41 kB / 382.9 MB, free: 13.76 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001368/0.007793, allocations: 246.4 kB / 383.2 MB, free: 13.5 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.054e-05/0.007804, allocations: 25.7 kB / 383.2 MB, free: 13.47 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.786e-05/0.007862, allocations: 158.8 kB / 383.3 MB, free: 13.31 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.41e-05/0.007886, allocations: 23.81 kB / 383.4 MB, free: 13.29 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.432e-05/0.00792, allocations: 27.36 kB / 383.4 MB, free: 13.25 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.008035, allocations: 0.4962 MB / 383.9 MB, free: 12.74 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.445e-05/0.008059, allocations: 8 kB / 383.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.915e-05/0.008078, allocations: 11.98 kB / 383.9 MB, free: 12.72 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.906e-05/0.008127, allocations: 35.62 kB / 383.9 MB, free: 12.68 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.008128, allocations: 0 / 383.9 MB, free: 12.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.332e-05/0.008222, allocations: 89.52 kB / 384 MB, free: 12.59 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.008235, allocations: 4 kB / 384 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.00824, allocations: 0 / 384 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.008254, allocations: 0 / 384 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.168e-05/0.008346, allocations: 15.98 kB / 384.1 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.008351, allocations: 320 / 384.1 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.867e-05/0.00837, allocations: 4 kB / 384.1 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.826e-06/0.008379, allocations: 11.94 kB / 384.1 MB, free: 12.55 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 (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 7.59e-05/0.008455, allocations: 160.5 kB / 384.2 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.749e-05/0.008482, allocations: 23.84 kB / 384.3 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001399/0.008622, allocations: 87.12 kB / 384.3 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.008624, allocations: 0 / 384.3 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.00863, allocations: 8 kB / 384.3 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.008633, allocations: 0 / 384.3 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003108/0.008944, allocations: 377 kB / 384.7 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.008946, allocations: 3.938 kB / 384.7 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.927e-05/0.008996, allocations: 15.94 kB / 384.7 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.008999, allocations: 0 / 384.7 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.009007, allocations: 7.984 kB / 384.7 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.009009, allocations: 0 / 384.7 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.009011, allocations: 4.031 kB / 384.7 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001289/0.00914, allocations: 235.5 kB / 385 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.034e-05/0.00915, allocations: 7.953 kB / 385 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/0.009163, allocations: 0 / 385 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.608e-05/0.009199, allocations: 7.984 kB / 385 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003032/0.009502, allocations: 11.94 kB / 385 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-06/0.009506, allocations: 0 / 385 MB, free: 11.54 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.31e-05/0.009589, allocations: 171.1 kB / 385.2 MB, free: 11.37 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.009589, allocations: 0 / 385.2 MB, free: 11.37 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001723/0.009762, allocations: 23.94 kB / 385.2 MB, free: 11.35 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 (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.0009486/0.01071, allocations: 431 kB / 385.6 MB, free: 11.05 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001173/0.01083, allocations: 47.59 kB / 385.7 MB, free: 11 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.01083, allocations: 0 / 385.7 MB, free: 11 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.977e-05/0.01086, allocations: 27.66 kB / 385.7 MB, free: 10.97 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002252/0.01108, allocations: 27.94 kB / 385.7 MB, free: 10.95 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003784/0.01146, allocations: 225.8 kB / 385.9 MB, free: 10.69 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.348e-05/0.01151, allocations: 79.31 kB / 386 MB, free: 10.59 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.136e-05/0.01154, allocations: 12.8 kB / 386 MB, free: 10.58 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.397e-05/0.01157, allocations: 24.48 kB / 386 MB, free: 10.56 MB / 362.7 MB Notification: Performance of SimCode: time 9.72e-07/0.01157, allocations: 0 / 386 MB, free: 10.56 MB / 362.7 MB Notification: Performance of Templates: time 0.003152/0.01472, allocations: 1.363 MB / 387.4 MB, free: 9.207 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.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.3460832498967648]