Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001108/0.001108, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001191/0.001191, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.394/1.394, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2192/0.2192, allocations: 46.11 MB / 344.1 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 82.16 kB / 417.6 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1204, allocations: 62.43 MB / 480 MB, free: 5.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.003125/0.1236, allocations: 1.73 MB / 481.8 MB, free: 3.527 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002589/0.1262, allocations: 1.623 MB / 483.4 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.1263, allocations: 0 / 483.4 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003205/0.1266, allocations: 39.77 kB / 483.4 MB, free: 1.855 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003668/0.127, allocations: 99.59 kB / 483.5 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000224/0.1273, allocations: 71.67 kB / 483.6 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001854/0.1275, allocations: 115.6 kB / 483.7 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.1276, allocations: 15.98 kB / 483.7 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.558e-05/0.1277, allocations: 43.8 kB / 483.8 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001575/0.1278, allocations: 47.77 kB / 483.8 MB, free: 1.469 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.986e-05/0.1279, allocations: 4 kB / 483.8 MB, free: 1.465 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001912/0.1281, allocations: 107.9 kB / 483.9 MB, free: 1.359 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.263e-05/0.1281, allocations: 19.92 kB / 483.9 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.384e-05/0.1282, allocations: 35.78 kB / 484 MB, free: 1.305 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002619/0.1285, allocations: 171.8 kB / 484.1 MB, free: 1.137 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.1285, allocations: 0 / 484.1 MB, free: 1.137 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1285, allocations: 0 / 484.1 MB, free: 1.137 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.112e-06/0.1285, allocations: 0 / 484.1 MB, free: 1.137 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005833/0.1291, allocations: 423 kB / 484.5 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.1291, allocations: 11.97 kB / 484.6 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.276e-05/0.1292, allocations: 12.84 kB / 484.6 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002571/0.1295, allocations: 207.7 kB / 484.8 MB, free: 424 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/0.1295, allocations: 15.92 kB / 484.8 MB, free: 408 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.67e-05/0.1295, allocations: 8 kB / 484.8 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001874/0.1297, allocations: 67.39 kB / 484.9 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.1297, allocations: 0 / 484.9 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.1298, allocations: 0 / 484.9 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.1298, allocations: 0 / 484.9 MB, free: 320 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.116e-05/0.1298, allocations: 23.92 kB / 484.9 MB, free: 296 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004148/0.1303, allocations: 288.9 kB / 485.2 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001752/0.1305, allocations: 62.59 kB / 485.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.557e-05/0.1305, allocations: 20.84 kB / 485.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.1306, allocations: 0 / 485.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002237/0.1308, allocations: 71.33 kB / 485.3 MB, free: 15.78 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.1308, allocations: 4 kB / 485.3 MB, free: 15.78 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006154/0.1314, allocations: 181.1 kB / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.726e-05/0.1315, allocations: 81.05 kB / 485.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001806/0.1317, allocations: 158.5 kB / 485.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.319e-05/0.1317, allocations: 33.7 kB / 485.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.693e-05/0.1318, allocations: 92.14 kB / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.378e-05/0.1318, allocations: 27.64 kB / 485.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.49e-05/0.1319, allocations: 25.72 kB / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.1321, allocations: 322.8 kB / 486.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.179e-05/0.1321, allocations: 19.98 kB / 486.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.221e-05/0.1322, allocations: 46.56 kB / 486.3 MB, free: 14.74 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001172/0.1323, allocations: 61.58 kB / 486.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.1323, allocations: 0 / 486.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002145/0.1326, allocations: 101.6 kB / 486.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.1326, allocations: 11.94 kB / 486.5 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.373e-06/0.1326, allocations: 0 / 486.5 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.1326, allocations: 0 / 486.5 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.1327, allocations: 15.98 kB / 486.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.1327, allocations: 7.938 kB / 486.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.833e-05/0.1328, allocations: 0 / 486.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.237e-06/0.1328, allocations: 4.375 kB / 486.5 MB, free: 14.53 MB / 366.1 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 (10): * Single equations (assignments): 10 * 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.0001281/0.1329, allocations: 129.9 kB / 486.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.853e-05/0.133, allocations: 11.81 kB / 486.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.564e-05/0.133, allocations: 12.72 kB / 486.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.133, allocations: 0 / 486.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.14e-05/0.1331, allocations: 7.938 kB / 486.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.1331, allocations: 0 / 486.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004632/0.1335, allocations: 403.4 kB / 487 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1336, allocations: 0 / 487 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.617e-05/0.1336, allocations: 19.91 kB / 487.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1336, allocations: 0 / 487.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.774e-06/0.1336, allocations: 0 / 487.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.1336, allocations: 4.188 kB / 487.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1336, allocations: 0 / 487.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002209/0.1339, allocations: 200.2 kB / 487.3 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.514e-05/0.1339, allocations: 92.94 kB / 487.3 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.676e-05/0.1339, allocations: 8 kB / 487.4 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.481e-05/0.134, allocations: 4 kB / 487.4 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.062e-05/0.1341, allocations: 3.984 kB / 487.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.421e-05/0.1341, allocations: 4 kB / 487.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001049/0.1342, allocations: 134.2 kB / 487.5 MB, free: 13.41 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1342, allocations: 0 / 487.5 MB, free: 13.41 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002882/0.1345, allocations: 47.98 kB / 487.5 MB, free: 13.36 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 6 * 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.001197/0.1357, allocations: 0.5361 MB / 488.1 MB, free: 13.01 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002151/0.1359, allocations: 59.92 kB / 488.1 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1359, allocations: 0 / 488.1 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.497e-05/0.136, allocations: 31.97 kB / 488.2 MB, free: 12.92 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003464/0.1364, allocations: 36.03 kB / 488.2 MB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004873/0.1369, allocations: 206.7 kB / 488.4 MB, free: 12.65 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002775/0.1372, allocations: 0.7001 MB / 489.1 MB, free: 11.93 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.964e-05/0.1372, allocations: 16.88 kB / 489.1 MB, free: 11.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.784e-05/0.1373, allocations: 23.42 kB / 489.1 MB, free: 11.89 MB / 366.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1373, allocations: 0 / 489.1 MB, free: 11.89 MB / 366.1 MB Notification: Performance of Templates: time 0.005543/0.1428, allocations: 2.347 MB / 491.5 MB, free: 9.559 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test60.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches