Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.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.0009669/0.0009669, 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.001021/0.001021, allocations: 164.6 kB / 25.61 MB, free: 8.473 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.9916/0.9916, allocations: 177 MB / 205.9 MB, free: 4.441 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.1621/0.1621, allocations: 34.87 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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.404e-06/2.404e-06, allocations: 0 / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.583e-05/2.823e-05, allocations: 2.312 kB / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.005361/0.005389, allocations: 1.633 MB / 381.7 MB, free: 21.09 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001288/0.006677, allocations: 1.27 MB / 382.9 MB, free: 19.82 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.66e-05/0.006744, allocations: 0 / 382.9 MB, free: 19.82 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000212/0.006956, allocations: 23.78 kB / 382.9 MB, free: 19.79 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002594/0.007215, allocations: 95.53 kB / 383 MB, free: 19.7 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001962/0.007411, allocations: 87.66 kB / 383.1 MB, free: 19.61 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003152/0.01056, allocations: 75.75 kB / 383.2 MB, free: 19.54 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.448e-05/0.01066, allocations: 8 kB / 383.2 MB, free: 19.53 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.965e-05/0.01072, allocations: 35.84 kB / 383.2 MB, free: 19.5 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.943e-05/0.01082, allocations: 23.91 kB / 383.3 MB, free: 19.47 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.509e-05/0.01083, allocations: 4 kB / 383.3 MB, free: 19.47 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001446/0.01098, allocations: 95.81 kB / 383.4 MB, free: 19.38 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.075e-05/0.01102, allocations: 15.92 kB / 383.4 MB, free: 19.36 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.359e-05/0.01104, allocations: 15.98 kB / 383.4 MB, free: 19.34 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002051/0.01125, allocations: 131.5 kB / 383.5 MB, free: 19.21 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.01125, allocations: 0 / 383.5 MB, free: 19.21 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.01125, allocations: 0 / 383.5 MB, free: 19.21 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.01125, allocations: 4 kB / 383.5 MB, free: 19.21 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003522/0.01161, allocations: 424 kB / 383.9 MB, free: 18.76 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.01164, allocations: 8.031 kB / 383.9 MB, free: 18.75 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.862e-05/0.01168, allocations: 12.89 kB / 384 MB, free: 18.74 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001275/0.01181, allocations: 138.3 kB / 384.1 MB, free: 18.58 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.576e-06/0.01182, allocations: 4.312 kB / 384.1 MB, free: 18.57 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.546e-05/0.01183, allocations: 4.375 kB / 384.1 MB, free: 18.57 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001014/0.01194, allocations: 108 kB / 384.2 MB, free: 18.44 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.01194, allocations: 192 / 384.2 MB, free: 18.44 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.522e-06/0.01195, allocations: 384 / 384.2 MB, free: 18.44 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.01195, allocations: 384 / 384.2 MB, free: 18.44 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.116e-05/0.01198, allocations: 7.938 kB / 384.2 MB, free: 18.43 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001872/0.01216, allocations: 256.4 kB / 384.5 MB, free: 18.16 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001246/0.01229, allocations: 54.95 kB / 384.5 MB, free: 18.09 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.392e-05/0.0123, allocations: 11.69 kB / 384.5 MB, free: 18.07 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.326e-05/0.01232, allocations: 0 / 384.5 MB, free: 18.07 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.522e-05/0.01233, allocations: 37.39 kB / 384.6 MB, free: 18.03 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 8.12e-07/0.01233, allocations: 0 / 384.6 MB, free: 18.03 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002729/0.0126, allocations: 89.53 kB / 384.7 MB, free: 17.93 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.322e-05/0.01263, allocations: 85.09 kB / 384.7 MB, free: 17.83 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.267e-05/0.01271, allocations: 191.4 kB / 384.9 MB, free: 17.63 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.141e-06/0.01272, allocations: 29.7 kB / 385 MB, free: 17.59 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.991e-05/0.01275, allocations: 146.8 kB / 385.1 MB, free: 17.45 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.659e-05/0.01276, allocations: 11.86 kB / 385.1 MB, free: 17.43 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.014e-05/0.01279, allocations: 23.38 kB / 385.1 MB, free: 17.4 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.962e-05/0.01283, allocations: 0.4923 MB / 385.6 MB, free: 16.9 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.205e-05/0.01284, allocations: 8 kB / 385.6 MB, free: 16.89 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.576e-05/0.01287, allocations: 49.06 kB / 385.7 MB, free: 16.83 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.14e-05/0.0129, allocations: 31.8 kB / 385.7 MB, free: 16.79 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.91e-07/0.0129, allocations: 4 kB / 385.7 MB, free: 16.79 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.205e-05/0.01297, allocations: 53.64 kB / 385.8 MB, free: 16.73 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.01299, allocations: 11.94 kB / 385.8 MB, free: 16.72 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.01299, allocations: 0 / 385.8 MB, free: 16.72 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.065e-06/0.013, allocations: 0 / 385.8 MB, free: 16.72 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.747e-05/0.01305, allocations: 8 kB / 385.8 MB, free: 16.71 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.545e-06/0.01305, allocations: 3.984 kB / 385.8 MB, free: 16.71 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.614e-05/0.01307, allocations: 7.984 kB / 385.8 MB, free: 16.7 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-06/0.01308, allocations: 8.031 kB / 385.8 MB, free: 16.69 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 (5): * Single equations (assignments): 5 * 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 3.982e-05/0.01312, allocations: 160.5 kB / 386 MB, free: 16.52 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.727e-05/0.01315, allocations: 7.953 kB / 386 MB, free: 16.52 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.854e-05/0.01325, allocations: 73.95 kB / 386 MB, free: 16.44 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.01325, allocations: 0 / 386 MB, free: 16.44 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.01325, allocations: 0 / 386 MB, free: 16.44 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.01325, allocations: 0 / 386 MB, free: 16.44 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002197/0.01347, allocations: 294 kB / 386.3 MB, free: 16.12 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.01347, allocations: 0 / 386.3 MB, free: 16.12 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.031e-05/0.01351, allocations: 11.98 kB / 386.3 MB, free: 16.11 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.01352, allocations: 11.94 kB / 386.4 MB, free: 16.09 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.39e-06/0.01352, allocations: 4 kB / 386.4 MB, free: 16.09 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.01353, allocations: 0 / 386.4 MB, free: 16.09 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.01353, allocations: 0 / 386.4 MB, free: 16.09 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.915e-05/0.01361, allocations: 204.1 kB / 386.6 MB, free: 15.87 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.025e-05/0.01362, allocations: 11.95 kB / 386.6 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.353e-05/0.01363, allocations: 7.984 kB / 386.6 MB, free: 15.85 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.008e-05/0.01368, allocations: 7.938 kB / 386.6 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.477e-05/0.0137, allocations: 4 kB / 386.6 MB, free: 15.84 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-06/0.01371, allocations: 0 / 386.6 MB, free: 15.84 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.249e-05/0.01375, allocations: 149.7 kB / 386.7 MB, free: 15.7 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01375, allocations: 0 / 386.7 MB, free: 15.7 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002635/0.01401, allocations: 35.92 kB / 386.8 MB, free: 15.66 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.001108/0.01512, allocations: 487.3 kB / 387.2 MB, free: 15.36 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.078e-05/0.01521, allocations: 27.67 kB / 387.3 MB, free: 15.32 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.01521, allocations: 4 kB / 387.3 MB, free: 15.32 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.22e-05/0.01524, allocations: 23.61 kB / 387.3 MB, free: 15.29 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002519/0.01549, allocations: 18.48 kB / 387.3 MB, free: 15.28 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002694/0.01576, allocations: 168 kB / 387.5 MB, free: 15.09 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.543e-05/0.01578, allocations: 67.2 kB / 387.5 MB, free: 15 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.202e-05/0.01583, allocations: 12 kB / 387.6 MB, free: 14.99 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.779e-05/0.01588, allocations: 86.19 kB / 387.6 MB, free: 14.9 MB / 314.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01588, allocations: 0 / 387.6 MB, free: 14.9 MB / 314.7 MB Notification: Performance of Templates: time 0.007364/0.02325, allocations: 2.045 MB / 389.7 MB, free: 12.88 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.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.3648332487791777]