Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.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.001634/0.001634, allocations: 85.91 kB / 22.22 MB, free: 2.281 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.001891/0.001891, allocations: 156.3 kB / 25.61 MB, free: 8.871 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.96/0.96, allocations: 177 MB / 205.9 MB, free: 4.457 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.1718/0.1718, 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.CombiTable1Dv.Test1,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.CombiTable1Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test1,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.CombiTable1Dv.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.422e-05/2.559e-05, allocations: 4.969 kB / 380 MB, free: 22.72 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.008474/0.0085, allocations: 1.63 MB / 381.6 MB, free: 21.09 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008302/0.00933, allocations: 0.5368 MB / 382.2 MB, free: 20.55 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.214e-05/0.009392, allocations: 0 / 382.2 MB, free: 20.55 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002192/0.009612, allocations: 27.8 kB / 382.2 MB, free: 20.52 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000273/0.009885, allocations: 83.55 kB / 382.3 MB, free: 20.44 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002662/0.01015, allocations: 107.6 kB / 382.4 MB, free: 20.33 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001284/0.01028, allocations: 67.83 kB / 382.5 MB, free: 20.27 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.784e-05/0.01037, allocations: 8 kB / 382.5 MB, free: 20.26 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.486e-05/0.01042, allocations: 35.89 kB / 382.5 MB, free: 20.22 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.282e-05/0.01047, allocations: 11.94 kB / 382.5 MB, free: 20.21 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.389e-05/0.01049, allocations: 4 kB / 382.5 MB, free: 20.21 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.596e-05/0.01055, allocations: 31.92 kB / 382.6 MB, free: 20.18 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.974e-05/0.01059, allocations: 19.86 kB / 382.6 MB, free: 20.16 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.218e-05/0.01062, allocations: 15.92 kB / 382.6 MB, free: 20.14 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000131/0.01075, allocations: 67.75 kB / 382.7 MB, free: 20.07 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.01075, allocations: 0 / 382.7 MB, free: 20.07 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.542e-06/0.01075, allocations: 4 kB / 382.7 MB, free: 20.07 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.01076, allocations: 0 / 382.7 MB, free: 20.07 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.0003066/0.01106, allocations: 408.2 kB / 383.1 MB, free: 19.63 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.0111, allocations: 8.031 kB / 383.1 MB, free: 19.62 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.212e-05/0.01113, allocations: 8.891 kB / 383.1 MB, free: 19.62 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/0.01124, allocations: 144.4 kB / 383.2 MB, free: 19.45 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.556e-06/0.01125, allocations: 384 / 383.2 MB, free: 19.45 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.608e-05/0.01127, allocations: 4.375 kB / 383.2 MB, free: 19.45 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.964e-05/0.01136, allocations: 50.95 kB / 383.3 MB, free: 19.39 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.01137, allocations: 192 / 383.3 MB, free: 19.39 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.003e-06/0.01137, allocations: 8.359 kB / 383.3 MB, free: 19.38 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.01138, allocations: 384 / 383.3 MB, free: 19.38 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.112e-05/0.0114, allocations: 11.94 kB / 383.3 MB, free: 19.37 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002043/0.0116, allocations: 248.4 kB / 383.5 MB, free: 19.1 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001248/0.01173, allocations: 47.05 kB / 383.6 MB, free: 19.04 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.622e-05/0.01175, allocations: 15.77 kB / 383.6 MB, free: 19.02 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.369e-05/0.01176, allocations: 3.938 kB / 383.6 MB, free: 19.02 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.425e-05/0.01177, allocations: 33.39 kB / 383.6 MB, free: 18.97 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.01177, allocations: 0 / 383.6 MB, free: 18.97 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.000274/0.01205, allocations: 101.4 kB / 383.7 MB, free: 18.87 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.932e-05/0.01207, allocations: 51.41 kB / 383.8 MB, free: 18.8 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.602e-05/0.01214, allocations: 205 kB / 384 MB, free: 18.59 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.761e-06/0.01215, allocations: 25.7 kB / 384 MB, free: 18.56 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.841e-05/0.01218, allocations: 138.9 kB / 384.1 MB, free: 18.42 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.002e-05/0.0122, allocations: 23.84 kB / 384.2 MB, free: 18.39 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.095e-05/0.01223, allocations: 23.36 kB / 384.2 MB, free: 18.36 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.416e-05/0.01227, allocations: 0.4884 MB / 384.7 MB, free: 17.86 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.379e-05/0.01229, allocations: 4 kB / 384.7 MB, free: 17.86 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.313e-05/0.0123, allocations: 11.94 kB / 384.7 MB, free: 17.85 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.264e-05/0.01233, allocations: 23.86 kB / 384.7 MB, free: 17.82 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.01233, allocations: 4 kB / 384.7 MB, free: 17.82 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.256e-05/0.01241, allocations: 49.66 kB / 384.8 MB, free: 17.76 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/0.01242, allocations: 11.94 kB / 384.8 MB, free: 17.75 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.01242, allocations: 0 / 384.8 MB, free: 17.75 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.987e-06/0.01243, allocations: 4 kB / 384.8 MB, free: 17.75 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.646e-05/0.01248, allocations: 15.98 kB / 384.8 MB, free: 17.73 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.204e-06/0.01248, allocations: 0 / 384.8 MB, free: 17.73 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.147e-05/0.0125, allocations: 7.938 kB / 384.8 MB, free: 17.72 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.169e-06/0.01251, allocations: 3.984 kB / 384.8 MB, free: 17.72 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 4.135e-05/0.01255, allocations: 156.6 kB / 385 MB, free: 17.55 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.433e-05/0.01257, allocations: 7.953 kB / 385 MB, free: 17.55 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000101/0.01267, allocations: 78.03 kB / 385 MB, free: 17.46 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.01267, allocations: 0 / 385 MB, free: 17.46 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-06/0.01268, allocations: 0 / 385 MB, free: 17.46 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.01268, allocations: 3.984 kB / 385 MB, free: 17.46 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001902/0.01287, allocations: 294 kB / 385.3 MB, free: 17.14 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.01287, allocations: 0 / 385.3 MB, free: 17.14 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.411e-05/0.0129, allocations: 8 kB / 385.3 MB, free: 17.13 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.01291, allocations: 3.938 kB / 385.3 MB, free: 17.13 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.01291, allocations: 4 kB / 385.4 MB, free: 17.12 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.01291, allocations: 4.188 kB / 385.4 MB, free: 17.12 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.01292, allocations: 3.938 kB / 385.4 MB, free: 17.12 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.517e-05/0.01299, allocations: 211.8 kB / 385.6 MB, free: 16.89 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.275e-06/0.013, allocations: 7.891 kB / 385.6 MB, free: 16.88 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.281e-05/0.01301, allocations: 7.984 kB / 385.6 MB, free: 16.88 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.721e-05/0.01306, allocations: 0 / 385.6 MB, free: 16.88 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.376e-05/0.01308, allocations: 8 kB / 385.6 MB, free: 16.87 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.417e-06/0.01309, allocations: 0 / 385.6 MB, free: 16.87 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.803e-05/0.01312, allocations: 149.5 kB / 385.7 MB, free: 16.72 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01312, allocations: 0 / 385.7 MB, free: 16.72 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000222/0.01335, allocations: 12 kB / 385.7 MB, free: 16.71 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.0009099/0.01426, allocations: 380 kB / 386.1 MB, free: 16.48 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.565e-05/0.01433, allocations: 27.67 kB / 386.1 MB, free: 16.45 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.01433, allocations: 0 / 386.1 MB, free: 16.45 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.036e-05/0.01435, allocations: 19.62 kB / 386.2 MB, free: 16.43 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002005/0.01455, allocations: 26.62 kB / 386.2 MB, free: 16.41 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002186/0.01477, allocations: 172.5 kB / 386.4 MB, free: 16.21 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.024e-05/0.01479, allocations: 67.2 kB / 386.4 MB, free: 16.12 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.629e-05/0.01482, allocations: 11.98 kB / 386.4 MB, free: 16.11 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.293e-05/0.01486, allocations: 82.19 kB / 386.5 MB, free: 16.03 MB / 314.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01486, allocations: 0 / 386.5 MB, free: 16.03 MB / 314.7 MB Notification: Performance of Templates: time 0.002486/0.01735, allocations: 1.292 MB / 387.8 MB, free: 14.75 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.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.3365567880682647]