Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.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.001836/0.001836, allocations: 89.14 kB / 20.68 MB, free: 1.02 MB / 14.72 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.001865/0.001865, allocations: 158.8 kB / 23.95 MB, free: 4.152 MB / 14.72 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.491/1.491, allocations: 177 MB / 204.1 MB, free: 9.145 MB / 190.1 MB " [Timeout remaining time 178] 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.2237/0.2237, allocations: 34.26 MB / 294.8 MB, free: 14.51 MB / 286.1 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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 442.7 MB, free: 5.262 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.094e-05/3.274e-05, allocations: 2.281 kB / 442.7 MB, free: 5.258 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.003413/0.003446, allocations: 1.591 MB / 444.3 MB, free: 3.656 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001241/0.004687, allocations: 0.5176 MB / 444.8 MB, free: 3.137 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.795e-05/0.004765, allocations: 4 kB / 444.8 MB, free: 3.133 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002335/0.004998, allocations: 27.77 kB / 444.8 MB, free: 3.105 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003702/0.005368, allocations: 83.62 kB / 444.9 MB, free: 3.023 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000318/0.005686, allocations: 87.64 kB / 445 MB, free: 2.938 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001887/0.005875, allocations: 71.75 kB / 445.1 MB, free: 2.867 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.005985, allocations: 11.86 kB / 445.1 MB, free: 2.855 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.709e-05/0.006072, allocations: 35.84 kB / 445.1 MB, free: 2.82 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.488e-05/0.006137, allocations: 12 kB / 445.1 MB, free: 2.809 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.17e-05/0.006159, allocations: 4 kB / 445.1 MB, free: 2.805 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001316/0.006291, allocations: 35.91 kB / 445.2 MB, free: 2.77 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.755e-05/0.006348, allocations: 15.92 kB / 445.2 MB, free: 2.754 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.757e-05/0.006386, allocations: 15.94 kB / 445.2 MB, free: 2.738 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002111/0.006597, allocations: 83.7 kB / 445.3 MB, free: 2.656 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.0066, allocations: 0 / 445.3 MB, free: 2.656 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.126e-06/0.006603, allocations: 4 kB / 445.3 MB, free: 2.652 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.006607, allocations: 0 / 445.3 MB, free: 2.652 MB / 366.1 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.0005763/0.007184, allocations: 313.8 kB / 445.6 MB, free: 2.312 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.007226, allocations: 15.97 kB / 445.6 MB, free: 2.297 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.712e-05/0.007273, allocations: 12.83 kB / 445.6 MB, free: 2.285 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002133/0.007486, allocations: 134.2 kB / 445.7 MB, free: 2.129 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.007503, allocations: 8.375 kB / 445.7 MB, free: 2.121 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.463e-05/0.007527, allocations: 4.375 kB / 445.7 MB, free: 2.117 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.007687, allocations: 50.23 kB / 445.8 MB, free: 2.062 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.0077, allocations: 192 / 445.8 MB, free: 2.062 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/0.007715, allocations: 8.109 kB / 445.8 MB, free: 2.055 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.00772, allocations: 0 / 445.8 MB, free: 2.055 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001029/0.007823, allocations: 19.98 kB / 445.8 MB, free: 2.035 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003691/0.008192, allocations: 228.5 kB / 446 MB, free: 1.781 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002445/0.008436, allocations: 38.56 kB / 446.1 MB, free: 1.734 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.873e-05/0.008495, allocations: 20.94 kB / 446.1 MB, free: 1.711 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.459e-05/0.00852, allocations: 7.938 kB / 446.1 MB, free: 1.703 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/0.008548, allocations: 34.56 kB / 446.1 MB, free: 1.66 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.223e-06/0.008549, allocations: 0 / 446.1 MB, free: 1.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.000662/0.009211, allocations: 141.4 kB / 446.3 MB, free: 1.516 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.316e-05/0.009264, allocations: 55.39 kB / 446.3 MB, free: 1.449 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002213/0.009486, allocations: 178.5 kB / 446.5 MB, free: 1.262 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/0.009507, allocations: 29.7 kB / 446.5 MB, free: 1.227 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.469e-05/0.009582, allocations: 100.1 kB / 446.6 MB, free: 1.125 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.573e-05/0.009607, allocations: 11.91 kB / 446.7 MB, free: 1.113 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.359e-05/0.009651, allocations: 17.72 kB / 446.7 MB, free: 1.09 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.009796, allocations: 322.8 kB / 447 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.358e-05/0.00987, allocations: 19.92 kB / 447 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.758e-05/0.009937, allocations: 23.92 kB / 447 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001463/0.01008, allocations: 44.83 kB / 447.1 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.01008, allocations: 0 / 447.1 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002057/0.01029, allocations: 85.56 kB / 447.2 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.01031, allocations: 8 kB / 447.2 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.01031, allocations: 0 / 447.2 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.01033, allocations: 0 / 447.2 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.329e-05/0.0104, allocations: 15.92 kB / 447.2 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.01041, allocations: 0 / 447.2 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.382e-05/0.01045, allocations: 4 kB / 447.2 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.01046, allocations: 7.984 kB / 447.2 MB, free: 0.5508 MB / 366.1 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 0.0001039/0.01056, allocations: 121.8 kB / 447.3 MB, free: 432 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.063e-05/0.0106, allocations: 15.84 kB / 447.3 MB, free: 416 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002661/0.01087, allocations: 98.05 kB / 447.4 MB, free: 304 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.01087, allocations: 0 / 447.4 MB, free: 304 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/0.01088, allocations: 320 / 447.4 MB, free: 304 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.01088, allocations: 3.984 kB / 447.4 MB, free: 300 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2261/0.237, allocations: 294.1 kB / 447.7 MB, free: 18.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/0.237, allocations: 3.141 kB / 447.7 MB, free: 18.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.999e-05/0.2371, allocations: 13.88 kB / 447.7 MB, free: 18.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.813e-06/0.2371, allocations: 1.438 kB / 447.7 MB, free: 18.96 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.487e-05/0.2371, allocations: 0.7969 kB / 447.7 MB, free: 18.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.2371, allocations: 1.312 kB / 447.7 MB, free: 18.96 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.2371, allocations: 0 / 447.7 MB, free: 18.96 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002963/0.2374, allocations: 182.5 kB / 447.9 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.592e-05/0.2374, allocations: 10.66 kB / 447.9 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.557e-05/0.2375, allocations: 1.25 kB / 447.9 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.956e-05/0.2376, allocations: 3.906 kB / 447.9 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.648e-05/0.2376, allocations: 4.234 kB / 447.9 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.837e-06/0.2376, allocations: 2.219 kB / 447.9 MB, free: 18.84 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001275/0.2377, allocations: 135.8 kB / 448.1 MB, free: 18.76 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2377, allocations: 0 / 448.1 MB, free: 18.76 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003417/0.2381, allocations: 20.42 kB / 448.1 MB, free: 18.76 MB / 366.1 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.001712/0.2398, allocations: 426.8 kB / 448.5 MB, free: 18.6 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000249/0.24, allocations: 51.86 kB / 448.6 MB, free: 18.6 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.24, allocations: 0 / 448.6 MB, free: 18.6 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.572e-05/0.2401, allocations: 26.72 kB / 448.6 MB, free: 18.6 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004032/0.2405, allocations: 24.7 kB / 448.6 MB, free: 18.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005246/0.2411, allocations: 203.5 kB / 448.8 MB, free: 18.46 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.55e-05/0.2411, allocations: 78.75 kB / 448.9 MB, free: 18.39 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.197e-05/0.2412, allocations: 12.53 kB / 448.9 MB, free: 18.39 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.539e-05/0.2412, allocations: 17.06 kB / 448.9 MB, free: 18.38 MB / 366.1 MB Notification: Performance of SimCode: time 6.71e-07/0.2412, allocations: 0 / 448.9 MB, free: 18.38 MB / 366.1 MB Notification: Performance of Templates: time 0.004938/0.2462, allocations: 1.139 MB / 450 MB, free: 18.25 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.102750938385725]