Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.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.0009486/0.0009486, allocations: 85.91 kB / 22.22 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.001264/0.001264, allocations: 161.6 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 0.9898/0.9898, allocations: 177 MB / 205.9 MB, free: 4.418 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.1597/0.1597, allocations: 34.87 MB / 297.4 MB, free: 13.32 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.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.315e-06/2.315e-06, allocations: 0 / 380 MB, free: 22.71 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.441e-05/3.672e-05, allocations: 2.312 kB / 380 MB, free: 22.71 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.003806/0.003843, allocations: 1.706 MB / 381.7 MB, free: 21 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001224/0.005067, allocations: 0.5601 MB / 382.3 MB, free: 20.43 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001274/0.005195, allocations: 4 kB / 382.3 MB, free: 20.43 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000619/0.005813, allocations: 455 kB / 382.7 MB, free: 19.98 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005445/0.006358, allocations: 307.1 kB / 383 MB, free: 19.68 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005265/0.006885, allocations: 171.5 kB / 383.2 MB, free: 19.52 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002857/0.00717, allocations: 183.6 kB / 383.4 MB, free: 19.34 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.007283, allocations: 12.22 kB / 383.4 MB, free: 19.32 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001901/0.007474, allocations: 123.8 kB / 383.5 MB, free: 19.2 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002699/0.007743, allocations: 243.5 kB / 383.8 MB, free: 18.96 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.241e-05/0.007766, allocations: 4 kB / 383.8 MB, free: 18.96 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001231/0.007889, allocations: 59.89 kB / 383.8 MB, free: 18.9 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001143/0.008003, allocations: 83.72 kB / 383.9 MB, free: 18.82 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.07e-05/0.008054, allocations: 35.69 kB / 383.9 MB, free: 18.78 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003351/0.008389, allocations: 215.1 kB / 384.1 MB, free: 18.57 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.008394, allocations: 0 / 384.1 MB, free: 18.57 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.008396, allocations: 0 / 384.1 MB, free: 18.57 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.594e-06/0.008404, allocations: 0 / 384.1 MB, free: 18.57 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007151/0.009119, allocations: 0.7124 MB / 384.9 MB, free: 17.82 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.009164, allocations: 12.03 kB / 384.9 MB, free: 17.8 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.947e-05/0.009244, allocations: 48.59 kB / 384.9 MB, free: 17.76 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00023/0.009474, allocations: 244.9 kB / 385.2 MB, free: 17.49 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.009487, allocations: 8.375 kB / 385.2 MB, free: 17.48 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.145e-05/0.009509, allocations: 8.359 kB / 385.2 MB, free: 17.47 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001453/0.009654, allocations: 62.89 kB / 385.2 MB, free: 17.4 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/0.00967, allocations: 4.172 kB / 385.2 MB, free: 17.4 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.406e-06/0.009679, allocations: 384 / 385.2 MB, free: 17.4 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.804e-06/0.009686, allocations: 384 / 385.2 MB, free: 17.4 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.31e-05/0.009729, allocations: 15.92 kB / 385.3 MB, free: 17.38 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004063/0.01014, allocations: 348.2 kB / 385.6 MB, free: 17.02 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.91e-05/0.0102, allocations: 39.05 kB / 385.6 MB, free: 16.96 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.079e-05/0.01023, allocations: 11.69 kB / 385.6 MB, free: 16.95 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.01025, allocations: 4 kB / 385.7 MB, free: 16.95 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/0.01027, allocations: 41.41 kB / 385.7 MB, free: 16.89 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.01027, allocations: 4 kB / 385.7 MB, free: 16.89 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006633/0.01093, allocations: 197.2 kB / 385.9 MB, free: 16.69 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.654e-05/0.01096, allocations: 51.41 kB / 385.9 MB, free: 16.63 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004491/0.01141, allocations: 0.6001 MB / 386.5 MB, free: 16.01 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.339e-05/0.01142, allocations: 29.7 kB / 386.6 MB, free: 15.98 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00018/0.0116, allocations: 302.7 kB / 386.9 MB, free: 15.68 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.945e-05/0.01164, allocations: 31.73 kB / 386.9 MB, free: 15.64 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.814e-05/0.01169, allocations: 27.36 kB / 386.9 MB, free: 15.61 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.01182, allocations: 0.5586 MB / 387.5 MB, free: 15.04 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.348e-05/0.01185, allocations: 7.984 kB / 387.5 MB, free: 15.03 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.097e-05/0.01187, allocations: 8 kB / 387.5 MB, free: 15.02 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.478e-05/0.01192, allocations: 27.67 kB / 387.5 MB, free: 14.99 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.01192, allocations: 3.938 kB / 387.5 MB, free: 14.99 MB / 314.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001367/0.01206, allocations: 105.3 kB / 387.6 MB, free: 14.88 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.01208, allocations: 10.17 kB / 387.6 MB, free: 14.87 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.01209, allocations: 0 / 387.6 MB, free: 14.87 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.0121, allocations: 8 kB / 387.6 MB, free: 14.86 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.77e-05/0.01219, allocations: 16 kB / 387.7 MB, free: 14.85 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.156e-06/0.01219, allocations: 0 / 387.7 MB, free: 14.85 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.755e-05/0.01224, allocations: 7.984 kB / 387.7 MB, free: 14.84 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.01224, allocations: 0 / 387.7 MB, free: 14.84 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.886e-05/0.01233, allocations: 168.5 kB / 387.8 MB, free: 14.66 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.146e-05/0.0124, allocations: 51.67 kB / 387.9 MB, free: 14.61 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002019/0.01261, allocations: 113.8 kB / 388 MB, free: 14.49 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.01261, allocations: 4 kB / 388 MB, free: 14.49 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.01261, allocations: 4 kB / 388 MB, free: 14.48 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.01262, allocations: 0 / 388 MB, free: 14.48 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004801/0.0131, allocations: 429.6 kB / 388.4 MB, free: 14.03 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.726e-06/0.0131, allocations: 0 / 388.4 MB, free: 14.03 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.522e-05/0.01317, allocations: 15.98 kB / 388.4 MB, free: 14.01 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-06/0.01317, allocations: 4 kB / 388.4 MB, free: 14.01 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.827e-06/0.01318, allocations: 432 / 388.4 MB, free: 14.01 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.01319, allocations: 0 / 388.4 MB, free: 14.01 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.01319, allocations: 0 / 388.4 MB, free: 14.01 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002034/0.01339, allocations: 275.2 kB / 388.7 MB, free: 13.71 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.088e-05/0.01343, allocations: 39.73 kB / 388.8 MB, free: 13.68 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.44e-05/0.01346, allocations: 0 / 388.8 MB, free: 13.68 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.856e-05/0.01353, allocations: 7.984 kB / 388.8 MB, free: 13.67 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.932e-05/0.01357, allocations: 7.984 kB / 388.8 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.01358, allocations: 4 kB / 388.8 MB, free: 13.66 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002904/0.01387, allocations: 390.7 kB / 389.2 MB, free: 13.28 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.01387, allocations: 0 / 389.2 MB, free: 13.28 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003162/0.01419, allocations: 31.94 kB / 389.2 MB, free: 13.25 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.00138/0.01557, allocations: 446.3 kB / 389.6 MB, free: 12.98 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001238/0.01569, allocations: 35.66 kB / 389.7 MB, free: 12.94 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.01569, allocations: 0 / 389.7 MB, free: 12.94 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.853e-05/0.01573, allocations: 35.61 kB / 389.7 MB, free: 12.9 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003774/0.01611, allocations: 25.95 kB / 389.7 MB, free: 12.88 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008087/0.01692, allocations: 0.6021 MB / 390.3 MB, free: 12.24 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.383e-05/0.01701, allocations: 131 kB / 390.4 MB, free: 12.09 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.94e-05/0.01707, allocations: 17.03 kB / 390.5 MB, free: 12.07 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.559e-05/0.01714, allocations: 82.19 kB / 390.5 MB, free: 11.99 MB / 314.7 MB Notification: Performance of SimCode: time 1.062e-06/0.01714, allocations: 0 / 390.5 MB, free: 11.99 MB / 314.7 MB Notification: Performance of Templates: time 0.005424/0.02256, allocations: 1.803 MB / 392.3 MB, free: 10.21 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/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.4425132498145103]