Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.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.001143/0.001143, allocations: 81.81 kB / 21.42 MB, free: 3.078 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.00125/0.00125, allocations: 168.4 kB / 24.82 MB, free: 8.941 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.9445/0.9445, allocations: 177 MB / 205.1 MB, free: 5.445 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.258/0.258, allocations: 34.87 MB / 296.6 MB, free: 0.4961 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.CombiTable1Ds.Test21,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.CombiTable1Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,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.CombiTable1Ds.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 379.2 MB, free: 1.824 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.587e-05/1.743e-05, allocations: 4.844 kB / 379.2 MB, free: 1.82 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.002257/0.002275, allocations: 1.626 MB / 380.9 MB, free: 184 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001164/0.003438, allocations: 1.277 MB / 382.1 MB, free: 14.9 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.493e-05/0.003483, allocations: 7.938 kB / 382.2 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001468/0.00363, allocations: 15.86 kB / 382.2 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002219/0.003852, allocations: 91.48 kB / 382.3 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001725/0.004025, allocations: 91.69 kB / 382.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001005/0.004125, allocations: 71.72 kB / 382.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.102e-05/0.004186, allocations: 23.83 kB / 382.4 MB, free: 14.6 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.901e-05/0.004235, allocations: 27.92 kB / 382.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.886e-05/0.004304, allocations: 23.91 kB / 382.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.333e-05/0.004317, allocations: 7.984 kB / 382.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001147/0.004432, allocations: 87.89 kB / 382.6 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.317e-05/0.004465, allocations: 15.92 kB / 382.6 MB, free: 14.44 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 1.884e-05/0.004484, allocations: 11.98 kB / 382.6 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001657/0.00465, allocations: 131.5 kB / 382.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.543e-06/0.004651, allocations: 0 / 382.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.004652, allocations: 0 / 382.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.945e-06/0.004655, allocations: 4 kB / 382.7 MB, free: 14.3 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.0003186/0.004973, allocations: 427.9 kB / 383.2 MB, free: 13.84 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.005005, allocations: 12.03 kB / 383.2 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.653e-05/0.005032, allocations: 12.83 kB / 383.2 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.005143, allocations: 136.5 kB / 383.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.646e-06/0.005152, allocations: 4.375 kB / 383.3 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.285e-05/0.005164, allocations: 384 / 383.3 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001106/0.005275, allocations: 104 kB / 383.4 MB, free: 13.53 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.005284, allocations: 4.172 kB / 383.4 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.462e-06/0.005291, allocations: 384 / 383.4 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.005296, allocations: 4.375 kB / 383.4 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.229e-05/0.005319, allocations: 19.84 kB / 383.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002014/0.00552, allocations: 252.4 kB / 383.7 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001007/0.005621, allocations: 39.06 kB / 383.7 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.436e-05/0.005635, allocations: 15.77 kB / 383.8 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.603e-05/0.005651, allocations: 4 kB / 383.8 MB, free: 13.15 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.793e-05/0.005669, allocations: 37.33 kB / 383.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 6.91e-07/0.00567, allocations: 0 / 383.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002169/0.005887, allocations: 85.5 kB / 383.9 MB, free: 13.02 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.839e-05/0.005915, allocations: 89.05 kB / 384 MB, free: 12.91 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.111e-05/0.006006, allocations: 193.9 kB / 384.2 MB, free: 12.7 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.919e-06/0.006016, allocations: 29.7 kB / 384.2 MB, free: 12.67 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.402e-05/0.00606, allocations: 142.8 kB / 384.3 MB, free: 12.52 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.59e-05/0.006076, allocations: 11.84 kB / 384.3 MB, free: 12.51 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.625e-05/0.006102, allocations: 31.34 kB / 384.4 MB, free: 12.47 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.36e-05/0.006196, allocations: 0.4884 MB / 384.9 MB, free: 11.97 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.099e-05/0.006207, allocations: 7.984 kB / 384.9 MB, free: 11.96 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.566e-05/0.006232, allocations: 45.08 kB / 384.9 MB, free: 11.91 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.782e-05/0.00626, allocations: 27.88 kB / 384.9 MB, free: 11.88 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.006261, allocations: 0 / 384.9 MB, free: 11.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.702e-05/0.006318, allocations: 61.61 kB / 385 MB, free: 11.81 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.318e-06/0.006327, allocations: 7.938 kB / 385 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.106e-06/0.00633, allocations: 4 kB / 385 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.845e-06/0.006338, allocations: 0 / 385 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.396e-05/0.006372, allocations: 11.98 kB / 385 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.394e-06/0.006375, allocations: 0 / 385 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.417e-05/0.006399, allocations: 4 kB / 385 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.527e-06/0.006402, allocations: 0 / 385 MB, free: 11.78 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 5.28e-05/0.006455, allocations: 164.5 kB / 385.2 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.957e-05/0.006475, allocations: 15.94 kB / 385.2 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.423e-05/0.006549, allocations: 66.03 kB / 385.3 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.00655, allocations: 0 / 385.3 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-06/0.006551, allocations: 0 / 385.3 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.006553, allocations: 0 / 385.3 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001825/0.006736, allocations: 298.1 kB / 385.6 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.006737, allocations: 0 / 385.6 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.323e-05/0.00676, allocations: 8 kB / 385.6 MB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.006763, allocations: 3.938 kB / 385.6 MB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.00677, allocations: 11.98 kB / 385.6 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.006771, allocations: 0 / 385.6 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.006771, allocations: 7.938 kB / 385.6 MB, free: 11.17 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.166e-05/0.006853, allocations: 204.1 kB / 385.8 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.577e-06/0.006861, allocations: 11.89 kB / 385.8 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.227e-06/0.006871, allocations: 0 / 385.8 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.103e-05/0.006902, allocations: 0 / 385.8 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.85e-05/0.00692, allocations: 11.98 kB / 385.8 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.923e-06/0.006922, allocations: 0 / 385.8 MB, free: 10.93 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.834e-05/0.00697, allocations: 145.5 kB / 386 MB, free: 10.79 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006971, allocations: 0 / 386 MB, free: 10.79 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001735/0.007144, allocations: 39.86 kB / 386 MB, free: 10.75 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.0008643/0.008008, allocations: 484.8 kB / 386.5 MB, free: 10.41 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 6.789e-05/0.008076, allocations: 31.59 kB / 386.5 MB, free: 10.37 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.132e-06/0.008077, allocations: 0 / 386.5 MB, free: 10.37 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.652e-05/0.008094, allocations: 19.81 kB / 386.5 MB, free: 10.35 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000171/0.008265, allocations: 26.95 kB / 386.5 MB, free: 10.32 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000219/0.008484, allocations: 169.9 kB / 386.7 MB, free: 10.13 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.038e-05/0.008514, allocations: 67.28 kB / 386.8 MB, free: 10.04 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.861e-05/0.008543, allocations: 7.984 kB / 386.8 MB, free: 10.04 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.669e-05/0.0086, allocations: 86.19 kB / 386.9 MB, free: 9.949 MB / 362.7 MB Notification: Performance of SimCode: time 3.8e-07/0.0086, allocations: 0 / 386.9 MB, free: 9.949 MB / 362.7 MB Notification: Performance of Templates: time 0.003161/0.01176, allocations: 2.022 MB / 388.9 MB, free: 7.949 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.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: 2.86634856229648]