Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.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.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001014/0.001014, allocations: 92.89 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001636/0.001637, allocations: 203.3 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.459/1.459, allocations: 227.7 MB / 246.8 MB, free: 9.789 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2311/0.2311, allocations: 46.18 MB / 345.2 MB, free: 11.21 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000291/0.000291, allocations: 11.94 kB / 419.5 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.13, allocations: 63.56 MB / 483.1 MB, free: 4.152 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.001946/0.132, allocations: 1.442 MB / 484.5 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001596/0.1336, allocations: 1.002 MB / 485.5 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.15e-05/0.1337, allocations: 0 / 485.5 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002609/0.1339, allocations: 39.89 kB / 485.6 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002396/0.1342, allocations: 83.67 kB / 485.7 MB, free: 1.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001764/0.1344, allocations: 63.88 kB / 485.7 MB, free: 1.508 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001605/0.1345, allocations: 99.69 kB / 485.8 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.189e-05/0.1346, allocations: 8 kB / 485.8 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.312e-05/0.1347, allocations: 47.7 kB / 485.9 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.767e-05/0.1348, allocations: 31.8 kB / 485.9 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.293e-05/0.1348, allocations: 0 / 485.9 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.831e-05/0.1349, allocations: 47.98 kB / 485.9 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.042e-05/0.135, allocations: 23.91 kB / 486 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.752e-05/0.1351, allocations: 65.38 kB / 486 MB, free: 1.184 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001691/0.1352, allocations: 111.9 kB / 486.1 MB, free: 1.074 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.1352, allocations: 0 / 486.1 MB, free: 1.074 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1352, allocations: 0 / 486.1 MB, free: 1.074 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.128e-06/0.1353, allocations: 0 / 486.1 MB, free: 1.074 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.0004947/0.1358, allocations: 409.6 kB / 486.5 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.1358, allocations: 8.875 kB / 486.6 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.411e-05/0.1359, allocations: 16.84 kB / 486.6 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002152/0.1361, allocations: 216 kB / 486.8 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.1361, allocations: 384 / 486.8 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.144e-05/0.1361, allocations: 12.11 kB / 486.8 MB, free: 352 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/0.1363, allocations: 57.61 kB / 486.8 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.1363, allocations: 0 / 486.8 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.1363, allocations: 0 / 486.8 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.1363, allocations: 0 / 486.8 MB, free: 288 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.867e-05/0.1364, allocations: 19.98 kB / 486.9 MB, free: 268 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003984/0.1368, allocations: 289 kB / 487.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001608/0.137, allocations: 58.61 kB / 487.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.777e-05/0.1371, allocations: 16.86 kB / 487.2 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.082e-05/0.1371, allocations: 11.94 kB / 487.2 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001572/0.1372, allocations: 67.39 kB / 487.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.1373, allocations: 0 / 487.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005149/0.1378, allocations: 185 kB / 487.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.726e-05/0.1378, allocations: 51.41 kB / 487.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001988/0.138, allocations: 206.9 kB / 487.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/0.1381, allocations: 29.7 kB / 487.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.253e-05/0.1381, allocations: 100.1 kB / 487.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.424e-05/0.1382, allocations: 27.61 kB / 487.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.986e-05/0.1382, allocations: 21.72 kB / 487.9 MB, free: 15.1 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.1383, allocations: 330.7 kB / 488.2 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.678e-05/0.1384, allocations: 19.98 kB / 488.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.666e-05/0.1384, allocations: 41.64 kB / 488.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001169/0.1386, allocations: 53.7 kB / 488.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.1386, allocations: 0 / 488.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.00019/0.1388, allocations: 109.4 kB / 488.5 MB, free: 14.53 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.1388, allocations: 4 kB / 488.5 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.1388, allocations: 0 / 488.5 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.1388, allocations: 0 / 488.5 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.677e-05/0.1389, allocations: 19.98 kB / 488.5 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.1389, allocations: 0 / 488.5 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.972e-05/0.139, allocations: 7.938 kB / 488.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-06/0.139, allocations: 0 / 488.5 MB, free: 14.5 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.0001088/0.1391, allocations: 144.4 kB / 488.6 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.091e-05/0.1391, allocations: 11.89 kB / 488.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.538e-05/0.1392, allocations: 21.39 kB / 488.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.1392, allocations: 0 / 488.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1392, allocations: 0 / 488.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.1392, allocations: 3.938 kB / 488.7 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004317/0.1397, allocations: 391.3 kB / 489 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1397, allocations: 0 / 489 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.381e-05/0.1397, allocations: 20.02 kB / 489.1 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.1397, allocations: 4 kB / 489.1 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.978e-06/0.1397, allocations: 3.938 kB / 489.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1397, allocations: 0 / 489.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.1398, allocations: 4 kB / 489.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000222/0.14, allocations: 208.3 kB / 489.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.21e-05/0.1401, allocations: 96.91 kB / 489.4 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.243e-05/0.1401, allocations: 7.875 kB / 489.4 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.584e-05/0.1402, allocations: 8 kB / 489.4 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.203e-05/0.1402, allocations: 7.984 kB / 489.4 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/0.1402, allocations: 384 / 489.4 MB, free: 13.48 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001241/0.1403, allocations: 156.3 kB / 489.5 MB, free: 13.33 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1404, allocations: 0 / 489.5 MB, free: 13.33 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002613/0.1406, allocations: 20 kB / 489.6 MB, free: 13.31 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.001076/0.1417, allocations: 473.8 kB / 490 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001831/0.1419, allocations: 51.92 kB / 490.1 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1419, allocations: 0 / 490.1 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.565e-05/0.142, allocations: 36.05 kB / 490.1 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003548/0.1424, allocations: 19.98 kB / 490.1 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000448/0.1428, allocations: 274.2 kB / 490.4 MB, free: 12.6 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003115/0.1431, allocations: 0.7082 MB / 491.1 MB, free: 11.86 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.492e-05/0.1432, allocations: 12.88 kB / 491.1 MB, free: 11.85 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.991e-05/0.1433, allocations: 19.44 kB / 491.1 MB, free: 11.83 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1433, allocations: 0 / 491.1 MB, free: 11.83 MB / 366.1 MB Notification: Performance of Templates: time 0.004722/0.148, allocations: 1.648 MB / 492.8 MB, free: 10.2 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches