Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.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.001398/0.001398, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.001626/0.001626, allocations: 160.5 kB / 24.55 MB, free: 16 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 0.9649/0.9649, allocations: 177 MB / 204.8 MB, free: 5.586 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.2804/0.2804, allocations: 34.86 MB / 296.3 MB, free: 0.5625 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.Test8,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.CombiTable1Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test8,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.CombiTable1Dv.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 378.8 MB, free: 2.102 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.442e-05/2.635e-05, allocations: 3.578 kB / 378.8 MB, free: 2.098 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test8): time 0.002284/0.002311, allocations: 1.64 MB / 380.4 MB, free: 456 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007981/0.003109, allocations: 0.5408 MB / 381 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.106e-05/0.00316, allocations: 7.938 kB / 381 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002043/0.003364, allocations: 23.84 kB / 381 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002549/0.003619, allocations: 83.56 kB / 381.1 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002659/0.003885, allocations: 107.6 kB / 381.2 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001423/0.004027, allocations: 75.75 kB / 381.3 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.966e-05/0.004117, allocations: 7.859 kB / 381.3 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.652e-05/0.004173, allocations: 31.91 kB / 381.3 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.698e-05/0.00423, allocations: 19.92 kB / 381.3 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.413e-05/0.004244, allocations: 0 / 381.3 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.652e-05/0.004321, allocations: 35.98 kB / 381.3 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.654e-05/0.004368, allocations: 15.92 kB / 381.4 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.826e-05/0.004396, allocations: 11.94 kB / 381.4 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001436/0.004539, allocations: 71.73 kB / 381.4 MB, free: 15.42 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.004542, allocations: 0 / 381.4 MB, free: 15.42 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.004543, allocations: 7.938 kB / 381.5 MB, free: 15.41 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.004548, allocations: 0 / 381.5 MB, free: 15.41 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.0003892/0.004937, allocations: 412.1 kB / 381.9 MB, free: 14.97 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.004975, allocations: 8.031 kB / 381.9 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.265e-05/0.005017, allocations: 12.89 kB / 381.9 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001322/0.00515, allocations: 136.4 kB / 382 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.087e-06/0.005159, allocations: 8.375 kB / 382 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.213e-05/0.005181, allocations: 4.375 kB / 382 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001123/0.005293, allocations: 58.89 kB / 382.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.005303, allocations: 192 / 382.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.005314, allocations: 4.375 kB / 382.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.005321, allocations: 384 / 382.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.343e-05/0.005354, allocations: 23.84 kB / 382.1 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002796/0.005634, allocations: 275.8 kB / 382.4 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001552/0.005789, allocations: 35.06 kB / 382.4 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.581e-05/0.005815, allocations: 23.7 kB / 382.4 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.6e-05/0.005831, allocations: 4 kB / 382.4 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.022e-05/0.005851, allocations: 37.39 kB / 382.5 MB, free: 14.25 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 7.82e-07/0.005852, allocations: 0 / 382.5 MB, free: 14.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.000305/0.006157, allocations: 101.4 kB / 382.6 MB, free: 14.15 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.752e-05/0.006184, allocations: 51.41 kB / 382.6 MB, free: 14.09 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.006294, allocations: 209.9 kB / 382.8 MB, free: 13.86 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.021e-05/0.006304, allocations: 25.7 kB / 382.9 MB, free: 13.83 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.292e-05/0.006357, allocations: 146.8 kB / 383 MB, free: 13.68 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.79e-05/0.006375, allocations: 11.91 kB / 383 MB, free: 13.67 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.744e-05/0.006402, allocations: 23.38 kB / 383 MB, free: 13.64 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.00652, allocations: 0.4962 MB / 383.5 MB, free: 13.13 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.63e-05/0.006536, allocations: 4 kB / 383.5 MB, free: 13.13 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.392e-05/0.00655, allocations: 7.984 kB / 383.5 MB, free: 13.12 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.389e-05/0.006584, allocations: 23.69 kB / 383.6 MB, free: 13.09 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.006585, allocations: 0 / 383.6 MB, free: 13.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.239e-05/0.006657, allocations: 73.47 kB / 383.6 MB, free: 13.02 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.006668, allocations: 4 kB / 383.6 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.006672, allocations: 0 / 383.6 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.006684, allocations: 0 / 383.6 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.278e-05/0.006727, allocations: 12 kB / 383.6 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.738e-06/0.006732, allocations: 4 kB / 383.7 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.7e-05/0.006749, allocations: 3.984 kB / 383.7 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.006755, allocations: 4.25 kB / 383.7 MB, free: 12.99 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 6.202e-05/0.006817, allocations: 156.6 kB / 383.8 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.88e-05/0.006836, allocations: 11.89 kB / 383.8 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001071/0.006943, allocations: 74.08 kB / 383.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.006945, allocations: 0 / 383.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.006948, allocations: 3.938 kB / 383.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.006951, allocations: 0 / 383.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002165/0.007168, allocations: 325.4 kB / 384.2 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.007169, allocations: 4 kB / 384.2 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.673e-05/0.007196, allocations: 15.94 kB / 384.2 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.007198, allocations: 0 / 384.2 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-06/0.007204, allocations: 0 / 384.2 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.007206, allocations: 0 / 384.2 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.007207, allocations: 0 / 384.2 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001053/0.007312, allocations: 211.8 kB / 384.4 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.176e-06/0.00732, allocations: 7.938 kB / 384.5 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.112e-05/0.007331, allocations: 0 / 384.5 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.909e-05/0.00736, allocations: 4 kB / 384.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.61e-05/0.007387, allocations: 3.984 kB / 384.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-06/0.007391, allocations: 8 kB / 384.5 MB, free: 12.1 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.898e-05/0.00745, allocations: 152.1 kB / 384.6 MB, free: 11.95 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00745, allocations: 0 / 384.6 MB, free: 11.95 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001521/0.007602, allocations: 19.88 kB / 384.6 MB, free: 11.93 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.0008105/0.008412, allocations: 382.1 kB / 385 MB, free: 11.66 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.104e-05/0.008503, allocations: 27.67 kB / 385 MB, free: 11.63 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.008506, allocations: 4 kB / 385 MB, free: 11.63 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.408e-05/0.00853, allocations: 23.8 kB / 385.1 MB, free: 11.6 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002092/0.008739, allocations: 21.89 kB / 385.1 MB, free: 11.59 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003062/0.009045, allocations: 186.5 kB / 385.3 MB, free: 11.37 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.968e-05/0.009085, allocations: 67.34 kB / 385.3 MB, free: 11.29 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.461e-05/0.00912, allocations: 15.97 kB / 385.3 MB, free: 11.27 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.643e-05/0.009146, allocations: 16.5 kB / 385.4 MB, free: 11.25 MB / 362.7 MB Notification: Performance of SimCode: time 4.4e-07/0.009146, allocations: 0 / 385.4 MB, free: 11.25 MB / 362.7 MB Notification: Performance of Templates: time 0.002886/0.01203, allocations: 1.258 MB / 386.6 MB, free: 10.01 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test8/Test8.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.1053463560529053]