Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.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.001926/0.001926, allocations: 99.53 kB / 20.97 MB, free: 3.457 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.002051/0.002051, allocations: 160.8 kB / 24.27 MB, free: 160 kB / 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 1.56/1.56, allocations: 177 MB / 204.5 MB, free: 5.637 MB / 186.7 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.3458/0.3458, allocations: 34.25 MB / 295.2 MB, free: 0.6445 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.CombiTable1Dv.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 377.2 MB, free: 2.902 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.976e-05/3.149e-05, allocations: 4.281 kB / 377.2 MB, free: 2.898 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test19): time 0.003884/0.003916, allocations: 1.611 MB / 378.8 MB, free: 1.273 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002804/0.00672, allocations: 1.266 MB / 380.1 MB, free: 4 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.654e-05/0.006797, allocations: 4 kB / 380.1 MB, free: 0 / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002746/0.007071, allocations: 23.89 kB / 380.1 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004162/0.007487, allocations: 91.38 kB / 380.2 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003305/0.007818, allocations: 107.7 kB / 380.3 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001861/0.008004, allocations: 71.78 kB / 380.4 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.008115, allocations: 7.984 kB / 380.4 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.455e-05/0.00821, allocations: 35.91 kB / 380.4 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001387/0.008348, allocations: 23.91 kB / 380.5 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.285e-05/0.008371, allocations: 8 kB / 380.5 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002149/0.008586, allocations: 95.75 kB / 380.6 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.221e-05/0.008648, allocations: 11.98 kB / 380.6 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.196e-05/0.00869, allocations: 15.92 kB / 380.6 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003317/0.009022, allocations: 147.5 kB / 380.7 MB, free: 15.37 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.009027, allocations: 0 / 380.7 MB, free: 15.37 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.009029, allocations: 0 / 380.7 MB, free: 15.37 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.172e-06/0.009035, allocations: 0 / 380.7 MB, free: 15.37 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006493/0.009684, allocations: 435.7 kB / 381.2 MB, free: 14.91 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.009729, allocations: 8.031 kB / 381.2 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.25e-05/0.009782, allocations: 8.891 kB / 381.2 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002192/0.01, allocations: 146.7 kB / 381.3 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.01001, allocations: 4.312 kB / 381.3 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.01004, allocations: 4.375 kB / 381.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001953/0.01023, allocations: 87.33 kB / 381.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.01024, allocations: 192 / 381.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.01025, allocations: 4.375 kB / 381.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.01026, allocations: 384 / 381.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.473e-05/0.01034, allocations: 19.92 kB / 381.4 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004481/0.01079, allocations: 287.7 kB / 381.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000228/0.01102, allocations: 54.98 kB / 381.8 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.183e-05/0.01107, allocations: 15.77 kB / 381.8 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.443e-05/0.0111, allocations: 7.984 kB / 381.8 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.535e-05/0.01114, allocations: 37.39 kB / 381.8 MB, free: 14.13 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.01114, allocations: 0 / 381.8 MB, free: 14.13 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005679/0.01171, allocations: 125.3 kB / 381.9 MB, free: 14 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.518e-05/0.01179, allocations: 85.11 kB / 382 MB, free: 13.9 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002184/0.012, allocations: 208.7 kB / 382.2 MB, free: 13.68 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/0.01203, allocations: 29.7 kB / 382.3 MB, free: 13.64 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00012/0.01215, allocations: 146.9 kB / 382.4 MB, free: 13.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.656e-05/0.01217, allocations: 15.91 kB / 382.4 MB, free: 13.48 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.323e-05/0.01223, allocations: 23.38 kB / 382.4 MB, free: 13.45 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003014/0.01253, allocations: 0.4923 MB / 382.9 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.758e-05/0.01258, allocations: 11.94 kB / 383 MB, free: 12.93 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000101/0.01269, allocations: 61.06 kB / 383 MB, free: 12.86 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001271/0.01281, allocations: 39.86 kB / 383 MB, free: 12.82 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.01282, allocations: 4 kB / 383.1 MB, free: 12.81 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001846/0.013, allocations: 81.59 kB / 383.1 MB, free: 12.73 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.489e-05/0.01303, allocations: 4 kB / 383.1 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.01303, allocations: 0 / 383.1 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.01305, allocations: 0 / 383.1 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.482e-05/0.01312, allocations: 19.92 kB / 383.2 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.738e-06/0.01313, allocations: 0 / 383.2 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.928e-05/0.01317, allocations: 4 kB / 383.2 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.01318, allocations: 4 kB / 383.2 MB, free: 12.7 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 (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.0001375/0.01331, allocations: 160.6 kB / 383.3 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.947e-05/0.01335, allocations: 11.89 kB / 383.3 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002429/0.0136, allocations: 86.08 kB / 383.4 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/0.0136, allocations: 4 kB / 383.4 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.01361, allocations: 0 / 383.4 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.01361, allocations: 0 / 383.4 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004846/0.0141, allocations: 345.3 kB / 383.8 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.0141, allocations: 0 / 383.8 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.495e-05/0.01415, allocations: 16 kB / 383.8 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.01415, allocations: 0 / 383.8 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.064e-06/0.01416, allocations: 3.938 kB / 383.8 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.01416, allocations: 4 kB / 383.8 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.01417, allocations: 3.984 kB / 383.8 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002702/0.01444, allocations: 224 kB / 384 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.998e-05/0.01446, allocations: 11.94 kB / 384 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.346e-05/0.01448, allocations: 8 kB / 384 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.153e-05/0.01454, allocations: 0 / 384 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/0.01458, allocations: 4 kB / 384 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-06/0.01458, allocations: 3.984 kB / 384 MB, free: 11.75 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001319/0.01471, allocations: 155.2 kB / 384.2 MB, free: 11.6 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01471, allocations: 4 kB / 384.2 MB, free: 11.59 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00029/0.015, allocations: 43.86 kB / 384.2 MB, free: 11.55 MB / 362.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.003186/0.01819, allocations: 0.5065 MB / 384.7 MB, free: 11.21 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000231/0.01842, allocations: 51.59 kB / 384.8 MB, free: 11.16 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.01842, allocations: 0 / 384.8 MB, free: 11.16 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.961e-05/0.0185, allocations: 31.67 kB / 384.8 MB, free: 11.12 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000327/0.01883, allocations: 22.73 kB / 384.8 MB, free: 11.1 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004951/0.01933, allocations: 177.9 kB / 385 MB, free: 10.9 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.745e-05/0.01942, allocations: 83.31 kB / 385.1 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.954e-05/0.01949, allocations: 15.97 kB / 385.1 MB, free: 10.78 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.841e-05/0.01954, allocations: 16.5 kB / 385.1 MB, free: 10.77 MB / 362.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01954, allocations: 0 / 385.1 MB, free: 10.77 MB / 362.7 MB Notification: Performance of Templates: time 0.005818/0.02536, allocations: 1.849 MB / 387 MB, free: 8.922 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test19/Test19.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test19.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: 4.966906624962576]