Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001082/0.001086, allocations: 115.8 kB / 17.33 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001241/0.001241, allocations: 213.8 kB / 18.27 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.386/1.386, allocations: 227.4 MB / 246.4 MB, free: 10.78 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.227/0.227, allocations: 46.1 MB / 343.8 MB, free: 11.76 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001403, allocations: 76.38 kB / 417 MB, free: 20.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1205, allocations: 62.45 MB / 479.5 MB, free: 5.605 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.003069/0.1236, allocations: 1.773 MB / 481.3 MB, free: 3.816 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001596/0.1252, allocations: 1.013 MB / 482.3 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.854e-05/0.1253, allocations: 4 kB / 482.3 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002968/0.1256, allocations: 31.91 kB / 482.3 MB, free: 2.762 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002986/0.126, allocations: 83.69 kB / 482.4 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002159/0.1262, allocations: 67.86 kB / 482.5 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001615/0.1264, allocations: 103.7 kB / 482.6 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.908e-05/0.1265, allocations: 15.97 kB / 482.6 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.794e-05/0.1266, allocations: 51.66 kB / 482.6 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.032e-05/0.1266, allocations: 31.8 kB / 482.7 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.608e-05/0.1267, allocations: 4 kB / 482.7 MB, free: 2.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.578e-05/0.1268, allocations: 47.97 kB / 482.7 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.043e-05/0.1268, allocations: 19.92 kB / 482.7 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.2e-05/0.1269, allocations: 39.73 kB / 482.8 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002157/0.1271, allocations: 119.8 kB / 482.9 MB, free: 2.188 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1271, allocations: 0 / 482.9 MB, free: 2.188 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1271, allocations: 0 / 482.9 MB, free: 2.188 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.614e-06/0.1271, allocations: 4 kB / 482.9 MB, free: 2.184 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.0005137/0.1277, allocations: 410.9 kB / 483.3 MB, free: 1.734 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.1277, allocations: 8.031 kB / 483.3 MB, free: 1.727 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.406e-05/0.1278, allocations: 16.84 kB / 483.3 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002111/0.128, allocations: 212.8 kB / 483.5 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.128, allocations: 384 / 483.5 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.147e-05/0.128, allocations: 12.06 kB / 483.5 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001424/0.1282, allocations: 57.61 kB / 483.6 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.527e-06/0.1282, allocations: 0 / 483.6 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.1282, allocations: 0 / 483.6 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-06/0.1282, allocations: 0 / 483.6 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.239e-05/0.1283, allocations: 23.98 kB / 483.6 MB, free: 1.367 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003456/0.1286, allocations: 288.8 kB / 483.9 MB, free: 1.035 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001663/0.1288, allocations: 62.61 kB / 484 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.346e-05/0.1289, allocations: 20.84 kB / 484 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.753e-05/0.1289, allocations: 4 kB / 484 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001927/0.1291, allocations: 67.39 kB / 484.1 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.1291, allocations: 0 / 484.1 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005293/0.1297, allocations: 173.2 kB / 484.2 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.746e-05/0.1297, allocations: 63.39 kB / 484.3 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001826/0.1299, allocations: 186.9 kB / 484.5 MB, free: 428 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/0.1299, allocations: 25.7 kB / 484.5 MB, free: 396 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.925e-05/0.13, allocations: 108.1 kB / 484.6 MB, free: 284 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.783e-05/0.13, allocations: 23.7 kB / 484.6 MB, free: 260 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.63e-05/0.1301, allocations: 21.72 kB / 484.6 MB, free: 232 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.1302, allocations: 326.8 kB / 485 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.938e-05/0.1303, allocations: 23.98 kB / 485 MB, free: 15.88 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.025e-05/0.1303, allocations: 41.58 kB / 485 MB, free: 15.83 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001145/0.1305, allocations: 61.7 kB / 485.1 MB, free: 15.76 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1305, allocations: 4 kB / 485.1 MB, free: 15.76 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001821/0.1307, allocations: 97.44 kB / 485.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.1307, allocations: 10.66 kB / 485.2 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.1307, allocations: 0 / 485.2 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.959e-06/0.1307, allocations: 0 / 485.2 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.367e-05/0.1308, allocations: 15.98 kB / 485.2 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.1308, allocations: 4 kB / 485.2 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.864e-05/0.1309, allocations: 7.938 kB / 485.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/0.1309, allocations: 4 kB / 485.2 MB, free: 15.62 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.0001111/0.131, allocations: 129.8 kB / 485.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.553e-05/0.131, allocations: 11.91 kB / 485.4 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.385e-05/0.1311, allocations: 17.39 kB / 485.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.1311, allocations: 0 / 485.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1311, allocations: 3.938 kB / 485.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.1311, allocations: 7.922 kB / 485.4 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004332/0.1316, allocations: 399.2 kB / 485.8 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.1316, allocations: 4.406 kB / 485.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.443e-05/0.1316, allocations: 11.98 kB / 485.8 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.1316, allocations: 4 kB / 485.8 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.1316, allocations: 7.938 kB / 485.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.634e-06/0.1316, allocations: 0 / 485.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1317, allocations: 0 / 485.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002247/0.1319, allocations: 200.3 kB / 486 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.159e-05/0.1319, allocations: 92.92 kB / 486.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.628e-05/0.132, allocations: 11.88 kB / 486.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.316e-05/0.1321, allocations: 3.984 kB / 486.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.245e-05/0.1321, allocations: 8 kB / 486.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.588e-05/0.1321, allocations: 4 kB / 486.1 MB, free: 14.61 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001312/0.1323, allocations: 152.7 kB / 486.3 MB, free: 14.46 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1323, allocations: 0 / 486.3 MB, free: 14.46 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002721/0.1325, allocations: 23.98 kB / 486.3 MB, free: 14.44 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.001016/0.1336, allocations: 459.2 kB / 486.7 MB, free: 14.14 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000189/0.1338, allocations: 59.92 kB / 486.8 MB, free: 14.08 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1338, allocations: 0 / 486.8 MB, free: 14.08 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.138e-05/0.1339, allocations: 31.98 kB / 486.8 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003679/0.1342, allocations: 35.84 kB / 486.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004449/0.1347, allocations: 255 kB / 487.1 MB, free: 13.74 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002789/0.135, allocations: 0.708 MB / 487.8 MB, free: 13.01 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.416e-05/0.135, allocations: 8.891 kB / 487.8 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.955e-05/0.1351, allocations: 19.42 kB / 487.9 MB, free: 12.98 MB / 366.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1351, allocations: 0 / 487.9 MB, free: 12.98 MB / 366.1 MB Notification: Performance of Templates: time 0.004333/0.1394, allocations: 1.711 MB / 489.6 MB, free: 11.28 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches