Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.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.001363/0.001363, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.003165/0.003165, allocations: 161.9 kB / 24.99 MB, free: 8.262 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.9823/0.9823, allocations: 177 MB / 205.2 MB, free: 5.609 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.2639/0.2639, allocations: 34.87 MB / 296.6 MB, free: 0.5508 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.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 378.8 MB, free: 2.398 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.092e-05/3.235e-05, allocations: 4.703 kB / 378.8 MB, free: 2.395 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.002482/0.002514, allocations: 1.712 MB / 380.5 MB, free: 0.668 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008345/0.003349, allocations: 0.5524 MB / 381 MB, free: 116 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.966e-05/0.003409, allocations: 0 / 381 MB, free: 116 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004658/0.003874, allocations: 459.1 kB / 381.5 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004345/0.004309, allocations: 291.1 kB / 381.8 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002798/0.004589, allocations: 131.6 kB / 381.9 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002262/0.004815, allocations: 175.6 kB / 382.1 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.004919, allocations: 15.97 kB / 382.1 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001228/0.005042, allocations: 123.8 kB / 382.2 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002033/0.005245, allocations: 243.6 kB / 382.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.607e-05/0.005261, allocations: 4 kB / 382.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.66e-05/0.005358, allocations: 51.86 kB / 382.5 MB, free: 14.65 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.99e-05/0.005458, allocations: 91.69 kB / 382.6 MB, free: 14.56 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.177e-05/0.0055, allocations: 39.69 kB / 382.6 MB, free: 14.52 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000237/0.005737, allocations: 203.2 kB / 382.8 MB, free: 14.32 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.005741, allocations: 0 / 382.8 MB, free: 14.32 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.005741, allocations: 0 / 382.8 MB, free: 14.32 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.005746, allocations: 0 / 382.8 MB, free: 14.32 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005899/0.006336, allocations: 0.7008 MB / 383.5 MB, free: 13.58 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.006375, allocations: 8.031 kB / 383.5 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.345e-05/0.006438, allocations: 52.66 kB / 383.6 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002183/0.006656, allocations: 252.8 kB / 383.8 MB, free: 13.24 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.006667, allocations: 384 / 383.8 MB, free: 13.24 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.353e-05/0.00669, allocations: 12.31 kB / 383.8 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001318/0.006822, allocations: 62.94 kB / 383.9 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.006834, allocations: 8.125 kB / 383.9 MB, free: 13.15 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.006844, allocations: 4.359 kB / 383.9 MB, free: 13.15 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.006852, allocations: 384 / 383.9 MB, free: 13.15 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.671e-05/0.006889, allocations: 15.92 kB / 383.9 MB, free: 13.13 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005978/0.007487, allocations: 431.6 kB / 384.4 MB, free: 12.68 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.045e-05/0.007577, allocations: 51.08 kB / 384.4 MB, free: 12.61 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.35e-05/0.007601, allocations: 11.69 kB / 384.4 MB, free: 12.6 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.12e-05/0.007622, allocations: 3.938 kB / 384.4 MB, free: 12.59 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/0.007645, allocations: 33.39 kB / 384.5 MB, free: 12.55 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.503e-06/0.007647, allocations: 0 / 384.5 MB, free: 12.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006274/0.008274, allocations: 256.7 kB / 384.7 MB, free: 12.29 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.211e-05/0.008306, allocations: 59.33 kB / 384.8 MB, free: 12.22 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004223/0.008729, allocations: 0.6316 MB / 385.4 MB, free: 11.57 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.234e-05/0.008741, allocations: 29.7 kB / 385.4 MB, free: 11.54 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001387/0.00888, allocations: 286.7 kB / 385.7 MB, free: 11.25 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.655e-05/0.008906, allocations: 27.73 kB / 385.7 MB, free: 11.23 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.458e-05/0.008951, allocations: 27.38 kB / 385.8 MB, free: 11.19 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.009117, allocations: 0.5586 MB / 386.3 MB, free: 10.62 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.451e-05/0.009141, allocations: 8 kB / 386.3 MB, free: 10.61 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.959e-05/0.009161, allocations: 11.98 kB / 386.3 MB, free: 10.6 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.067e-05/0.009212, allocations: 31.69 kB / 386.4 MB, free: 10.57 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.009212, allocations: 0 / 386.4 MB, free: 10.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001108/0.009323, allocations: 113.3 kB / 386.5 MB, free: 10.45 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.009337, allocations: 4 kB / 386.5 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.009341, allocations: 4 kB / 386.5 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.009355, allocations: 0 / 386.5 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.092e-05/0.009435, allocations: 19.98 kB / 386.5 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.009441, allocations: 0 / 386.5 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.536e-05/0.009466, allocations: 0 / 386.5 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.273e-06/0.009474, allocations: 4 kB / 386.5 MB, free: 10.42 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.918e-05/0.009553, allocations: 160.5 kB / 386.7 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.686e-05/0.00959, allocations: 47.7 kB / 386.7 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001589/0.009749, allocations: 121.8 kB / 386.8 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.009751, allocations: 3.938 kB / 386.8 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.009755, allocations: 0 / 386.8 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.009757, allocations: 0 / 386.8 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003894/0.01015, allocations: 0.5087 MB / 387.3 MB, free: 9.516 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.01015, allocations: 0 / 387.3 MB, free: 9.516 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.318e-05/0.01019, allocations: 15.98 kB / 387.4 MB, free: 9.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.01019, allocations: 0 / 387.4 MB, free: 9.5 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.0102, allocations: 8 kB / 387.4 MB, free: 9.492 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.01021, allocations: 0 / 387.4 MB, free: 9.492 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.01021, allocations: 4.031 kB / 387.4 MB, free: 9.488 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001457/0.01035, allocations: 271.2 kB / 387.6 MB, free: 9.199 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.265e-05/0.01038, allocations: 36.12 kB / 387.7 MB, free: 9.164 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.848e-05/0.01039, allocations: 4 kB / 387.7 MB, free: 9.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.057e-05/0.01043, allocations: 0 / 387.7 MB, free: 9.16 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/0.01047, allocations: 15.92 kB / 387.7 MB, free: 9.145 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.16e-06/0.01048, allocations: 4 kB / 387.7 MB, free: 9.141 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002487/0.01073, allocations: 426.8 kB / 388.1 MB, free: 8.727 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01073, allocations: 0 / 388.1 MB, free: 8.727 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001812/0.01091, allocations: 27.94 kB / 388.1 MB, free: 8.699 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.0008898/0.0118, allocations: 430 kB / 388.6 MB, free: 8.406 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001104/0.01191, allocations: 47.59 kB / 388.6 MB, free: 8.355 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.01191, allocations: 0 / 388.6 MB, free: 8.355 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.074e-05/0.01194, allocations: 31.61 kB / 388.6 MB, free: 8.32 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000257/0.0122, allocations: 34.25 kB / 388.7 MB, free: 8.289 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006517/0.01285, allocations: 0.5978 MB / 389.3 MB, free: 7.656 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.237e-05/0.01292, allocations: 123.2 kB / 389.4 MB, free: 7.516 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.465e-05/0.01297, allocations: 12.73 kB / 389.4 MB, free: 7.5 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.026e-05/0.013, allocations: 16.5 kB / 389.4 MB, free: 7.484 MB / 362.7 MB Notification: Performance of SimCode: time 9.02e-07/0.013, allocations: 3.938 kB / 389.4 MB, free: 7.48 MB / 362.7 MB Notification: Performance of Templates: time 0.004155/0.01715, allocations: 1.609 MB / 391 MB, free: 5.879 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.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.0933166150934994]