Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.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.001012/0.001012, 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.001483/0.001483, allocations: 161.9 kB / 25.61 MB, free: 8.586 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.053/1.053, allocations: 177 MB / 205.9 MB, free: 4.449 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.1787/0.1787, allocations: 34.88 MB / 297.4 MB, free: 13.33 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.Test32,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.Test32") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test32,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.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.156e-06/3.156e-06, allocations: 4 kB / 380 MB, free: 22.71 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.59e-05/2.905e-05, allocations: 2.312 kB / 380 MB, free: 22.71 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.003799/0.003828, allocations: 1.649 MB / 381.7 MB, free: 21.06 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001015/0.004843, allocations: 0.533 MB / 382.2 MB, free: 20.52 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.257e-05/0.004925, allocations: 0 / 382.2 MB, free: 20.52 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003517/0.005277, allocations: 103.7 kB / 382.3 MB, free: 20.42 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003951/0.005672, allocations: 123.5 kB / 382.4 MB, free: 20.3 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003625/0.006035, allocations: 99.58 kB / 382.5 MB, free: 20.2 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000215/0.00625, allocations: 87.75 kB / 382.6 MB, free: 20.12 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001262/0.006376, allocations: 15.97 kB / 382.6 MB, free: 20.1 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001049/0.006481, allocations: 47.89 kB / 382.7 MB, free: 20.05 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000138/0.006619, allocations: 67.86 kB / 382.7 MB, free: 19.99 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.941e-05/0.006638, allocations: 7.984 kB / 382.8 MB, free: 19.98 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.973e-05/0.006738, allocations: 47.86 kB / 382.8 MB, free: 19.93 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.465e-05/0.006793, allocations: 19.92 kB / 382.8 MB, free: 19.91 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.917e-05/0.006822, allocations: 15.94 kB / 382.8 MB, free: 19.9 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002059/0.007028, allocations: 103.6 kB / 382.9 MB, free: 19.8 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.007033, allocations: 0 / 382.9 MB, free: 19.8 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.007035, allocations: 4 kB / 382.9 MB, free: 19.79 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.007042, allocations: 0 / 382.9 MB, free: 19.79 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.0004369/0.007479, allocations: 463.7 kB / 383.4 MB, free: 19.3 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.007519, allocations: 8.031 kB / 383.4 MB, free: 19.29 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.176e-05/0.007571, allocations: 16.84 kB / 383.4 MB, free: 19.28 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001538/0.007725, allocations: 145.2 kB / 383.6 MB, free: 19.11 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.007736, allocations: 4.375 kB / 383.6 MB, free: 19.1 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.889e-05/0.007755, allocations: 4.312 kB / 383.6 MB, free: 19.1 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001157/0.00787, allocations: 70.92 kB / 383.6 MB, free: 19.02 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.007882, allocations: 192 / 383.6 MB, free: 19.02 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.584e-06/0.007889, allocations: 384 / 383.6 MB, free: 19.02 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.007895, allocations: 384 / 383.6 MB, free: 19.02 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.359e-05/0.007929, allocations: 19.86 kB / 383.7 MB, free: 19 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002823/0.008211, allocations: 264.4 kB / 383.9 MB, free: 18.71 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.198e-05/0.008283, allocations: 39.05 kB / 384 MB, free: 18.66 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.959e-05/0.008303, allocations: 15.69 kB / 384 MB, free: 18.64 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.008323, allocations: 3.984 kB / 384 MB, free: 18.64 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.743e-05/0.00835, allocations: 37.33 kB / 384 MB, free: 18.59 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 1.754e-06/0.008352, allocations: 0 / 384 MB, free: 18.59 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005763/0.008928, allocations: 165.4 kB / 384.2 MB, free: 18.43 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.653e-05/0.008955, allocations: 51.41 kB / 384.2 MB, free: 18.36 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001416/0.009097, allocations: 252.9 kB / 384.5 MB, free: 18.1 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.248e-05/0.009109, allocations: 33.7 kB / 384.5 MB, free: 18.06 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.57e-05/0.009165, allocations: 162.8 kB / 384.7 MB, free: 17.9 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.241e-05/0.009197, allocations: 31.73 kB / 384.7 MB, free: 17.87 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.119e-05/0.009238, allocations: 23.36 kB / 384.7 MB, free: 17.84 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.399e-05/0.009312, allocations: 0.504 MB / 385.2 MB, free: 17.32 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.867e-05/0.009331, allocations: 8 kB / 385.2 MB, free: 17.31 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.878e-05/0.00935, allocations: 7.984 kB / 385.2 MB, free: 17.3 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.486e-05/0.009405, allocations: 35.61 kB / 385.3 MB, free: 17.27 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.009406, allocations: 0 / 385.3 MB, free: 17.27 MB / 314.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001194/0.009526, allocations: 77.53 kB / 385.3 MB, free: 17.18 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.009542, allocations: 8 kB / 385.4 MB, free: 17.18 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.009548, allocations: 0 / 385.4 MB, free: 17.18 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.009559, allocations: 0 / 385.4 MB, free: 17.18 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.009665, allocations: 15.98 kB / 385.4 MB, free: 17.16 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.00967, allocations: 0 / 385.4 MB, free: 17.16 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.583e-05/0.009706, allocations: 8 kB / 385.4 MB, free: 17.15 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.829e-06/0.009716, allocations: 3.984 kB / 385.4 MB, free: 17.15 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 8.569e-05/0.009801, allocations: 168.5 kB / 385.5 MB, free: 16.97 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.823e-05/0.00984, allocations: 15.89 kB / 385.6 MB, free: 16.96 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001783/0.01002, allocations: 91.38 kB / 385.6 MB, free: 16.86 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.01002, allocations: 0 / 385.6 MB, free: 16.86 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.01003, allocations: 4 kB / 385.7 MB, free: 16.86 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.01003, allocations: 0 / 385.7 MB, free: 16.86 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003751/0.01041, allocations: 349.6 kB / 386 MB, free: 16.48 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.01041, allocations: 0 / 386 MB, free: 16.48 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.471e-05/0.01048, allocations: 24.02 kB / 386 MB, free: 16.45 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.439e-06/0.01049, allocations: 0 / 386 MB, free: 16.45 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.0105, allocations: 3.938 kB / 386 MB, free: 16.45 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.065e-06/0.0105, allocations: 0 / 386 MB, free: 16.45 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.0105, allocations: 4 kB / 386 MB, free: 16.45 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001495/0.01065, allocations: 231.5 kB / 386.3 MB, free: 16.2 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.699e-05/0.01067, allocations: 15.89 kB / 386.3 MB, free: 16.18 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.41e-05/0.01068, allocations: 4 kB / 386.3 MB, free: 16.18 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.614e-05/0.01075, allocations: 0 / 386.3 MB, free: 16.18 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.225e-05/0.01078, allocations: 7.984 kB / 386.3 MB, free: 16.17 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.585e-06/0.01079, allocations: 8 kB / 386.3 MB, free: 16.16 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.431e-05/0.01087, allocations: 179.1 kB / 386.5 MB, free: 15.98 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01087, allocations: 0 / 386.5 MB, free: 15.98 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002852/0.01116, allocations: 19.88 kB / 386.5 MB, free: 15.96 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.001387/0.01255, allocations: 426 kB / 386.9 MB, free: 15.72 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001283/0.01267, allocations: 35.67 kB / 386.9 MB, free: 15.68 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.01268, allocations: 4 kB / 386.9 MB, free: 15.68 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.092e-05/0.01272, allocations: 35.75 kB / 387 MB, free: 15.64 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003112/0.01303, allocations: 32.06 kB / 387 MB, free: 15.61 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004522/0.01348, allocations: 237.4 kB / 387.2 MB, free: 15.34 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.494e-05/0.01353, allocations: 75.27 kB / 387.3 MB, free: 15.25 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.81e-05/0.01358, allocations: 16.72 kB / 387.3 MB, free: 15.23 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.034e-05/0.01364, allocations: 78.2 kB / 387.4 MB, free: 15.15 MB / 314.7 MB Notification: Performance of SimCode: time 9.21e-07/0.01364, allocations: 0 / 387.4 MB, free: 15.15 MB / 314.7 MB Notification: Performance of Templates: time 0.003997/0.01763, allocations: 1.553 MB / 389 MB, free: 13.63 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.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.5898205400444567]