Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.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.001139/0.001139, allocations: 91.5 kB / 21.19 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.0009906/0.0009906, allocations: 156.5 kB / 24.55 MB, free: 20 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.024/1.024, allocations: 177 MB / 204.8 MB, free: 5.613 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.2611/0.2611, allocations: 34.86 MB / 296.3 MB, free: 0.5312 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.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0 / 378.8 MB, free: 2.016 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.845e-05/2.021e-05, allocations: 2.312 kB / 378.9 MB, free: 2.012 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.002089/0.002109, allocations: 1.72 MB / 380.6 MB, free: 284 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001169/0.003278, allocations: 0.9969 MB / 381.6 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.771e-05/0.003345, allocations: 0 / 381.6 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002815/0.003627, allocations: 51.7 kB / 381.6 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002653/0.003892, allocations: 107.5 kB / 381.7 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001265/0.004019, allocations: 79.61 kB / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001386/0.004157, allocations: 103.6 kB / 381.9 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.315e-05/0.00419, allocations: 4.234 kB / 381.9 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.613e-05/0.004266, allocations: 55.83 kB / 382 MB, free: 14.88 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.563e-05/0.004332, allocations: 19.91 kB / 382 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.614e-05/0.004348, allocations: 8 kB / 382 MB, free: 14.85 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.269e-05/0.004411, allocations: 28 kB / 382 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.234e-05/0.004463, allocations: 35.84 kB / 382.1 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.751e-05/0.004501, allocations: 19.92 kB / 382.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001594/0.00466, allocations: 99.59 kB / 382.2 MB, free: 14.67 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.004662, allocations: 0 / 382.2 MB, free: 14.67 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.004663, allocations: 0 / 382.2 MB, free: 14.67 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.877e-06/0.004666, allocations: 0 / 382.2 MB, free: 14.67 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004338/0.0051, allocations: 471.6 kB / 382.6 MB, free: 14.18 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.005136, allocations: 12.03 kB / 382.6 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.653e-05/0.005182, allocations: 16.84 kB / 382.7 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001747/0.005357, allocations: 165.2 kB / 382.8 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.017e-05/0.005377, allocations: 4.375 kB / 382.8 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.41e-05/0.005391, allocations: 8.297 kB / 382.8 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001147/0.005506, allocations: 54.95 kB / 382.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.005514, allocations: 192 / 382.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.005523, allocations: 384 / 382.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.005534, allocations: 7.938 kB / 382.9 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.28e-05/0.005567, allocations: 7.984 kB / 382.9 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004384/0.006005, allocations: 164.6 kB / 383.1 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.783e-05/0.006103, allocations: 51.11 kB / 383.1 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.778e-05/0.006131, allocations: 11.69 kB / 383.1 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.541e-05/0.006146, allocations: 4 kB / 383.1 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.302e-05/0.006239, allocations: 61.05 kB / 383.2 MB, free: 13.52 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 2.064e-06/0.006241, allocations: 4 kB / 383.2 MB, free: 13.51 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001974/0.006438, allocations: 89.52 kB / 383.3 MB, free: 13.42 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.394e-05/0.006472, allocations: 59.34 kB / 383.3 MB, free: 13.35 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001673/0.00664, allocations: 273.6 kB / 383.6 MB, free: 13.06 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.006655, allocations: 25.7 kB / 383.6 MB, free: 13.03 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.536e-05/0.00672, allocations: 166.9 kB / 383.8 MB, free: 12.86 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.67e-05/0.006757, allocations: 19.89 kB / 383.8 MB, free: 12.84 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.886e-05/0.006786, allocations: 23.38 kB / 383.8 MB, free: 12.81 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.00691, allocations: 0.5001 MB / 384.3 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.098e-05/0.006931, allocations: 7.984 kB / 384.3 MB, free: 12.29 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.836e-05/0.006959, allocations: 27.38 kB / 384.4 MB, free: 12.26 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.931e-05/0.007009, allocations: 43.3 kB / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.007011, allocations: 0 / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.991e-05/0.007101, allocations: 73.53 kB / 384.5 MB, free: 12.13 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.007116, allocations: 12.03 kB / 384.5 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.007121, allocations: 0 / 384.5 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.007137, allocations: 0 / 384.5 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.916e-05/0.007206, allocations: 15.94 kB / 384.5 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.007215, allocations: 4 kB / 384.5 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.79e-05/0.007243, allocations: 0 / 384.5 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.007248, allocations: 4 kB / 384.5 MB, free: 12.09 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.998e-05/0.007318, allocations: 163.1 kB / 384.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.444e-05/0.007333, allocations: 15.91 kB / 384.7 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001231/0.007456, allocations: 87.08 kB / 384.8 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.007459, allocations: 7.984 kB / 384.8 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.007464, allocations: 11.94 kB / 384.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.007469, allocations: 4 kB / 384.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.953e-05/0.007568, allocations: 168.5 kB / 385 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.007569, allocations: 0 / 385 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.435e-05/0.007584, allocations: 8 kB / 385 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.007586, allocations: 0 / 385 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.181e-06/0.007592, allocations: 0 / 385 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.007593, allocations: 3.984 kB / 385 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.7e-07/0.007594, allocations: 0 / 385 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.501e-05/0.007689, allocations: 120.2 kB / 385.1 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.51e-05/0.007704, allocations: 19.91 kB / 385.1 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.625e-05/0.00772, allocations: 7.984 kB / 385.1 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.84e-05/0.007739, allocations: 0 / 385.1 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.089e-05/0.007769, allocations: 7.938 kB / 385.1 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.907e-06/0.007778, allocations: 0 / 385.1 MB, free: 11.41 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.793e-05/0.007866, allocations: 200.5 kB / 385.3 MB, free: 11.21 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.007866, allocations: 0 / 385.3 MB, free: 11.21 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001363/0.008003, allocations: 16 kB / 385.3 MB, free: 11.2 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0007628/0.008766, allocations: 380.1 kB / 385.7 MB, free: 10.94 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.685e-05/0.008862, allocations: 39.61 kB / 385.7 MB, free: 10.89 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.008864, allocations: 0 / 385.7 MB, free: 10.89 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.064e-05/0.008894, allocations: 27.67 kB / 385.8 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001795/0.009074, allocations: 24.05 kB / 385.8 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000352/0.009426, allocations: 242.5 kB / 386 MB, free: 10.57 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.111e-05/0.009467, allocations: 67.33 kB / 386.1 MB, free: 10.49 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.106e-05/0.009498, allocations: 16.73 kB / 386.1 MB, free: 10.47 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.404e-05/0.009532, allocations: 20.48 kB / 386.1 MB, free: 10.45 MB / 362.7 MB Notification: Performance of SimCode: time 5.11e-07/0.009532, allocations: 0 / 386.1 MB, free: 10.45 MB / 362.7 MB Notification: Performance of Templates: time 0.003264/0.0128, allocations: 1.674 MB / 387.8 MB, free: 8.805 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.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.4215030991472304]