Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.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) 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(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER") translateModel(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001266/0.001266, allocations: 96.84 kB / 16.99 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001623/0.001623, allocations: 198.6 kB / 17.9 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.433/1.433, allocations: 227.2 MB / 245.9 MB, free: 10.32 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002771/0.0002771, allocations: 8 kB / 306.6 MB, free: 1.418 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.118, allocations: 51.49 MB / 358.1 MB, free: 13.92 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.001725/0.1198, allocations: 1.19 MB / 359.3 MB, free: 12.72 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001736/0.1216, allocations: 0.8583 MB / 360.1 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.535e-05/0.1216, allocations: 4 kB / 360.1 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 8.94e-05/0.1217, allocations: 3.938 kB / 360.1 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000103/0.1219, allocations: 19.91 kB / 360.1 MB, free: 11.83 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003131/0.1222, allocations: 35.89 kB / 360.2 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001627/0.1223, allocations: 63.86 kB / 360.2 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.1225, allocations: 20.22 kB / 360.3 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005094/0.123, allocations: 423.3 kB / 360.7 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001367/0.1231, allocations: 75.81 kB / 360.7 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.191e-05/0.1232, allocations: 4 kB / 360.8 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.779e-05/0.1232, allocations: 4 kB / 360.8 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.249e-05/0.1233, allocations: 63.77 kB / 360.8 MB, free: 11.15 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.393e-05/0.1234, allocations: 77.45 kB / 360.9 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002742/0.1237, allocations: 287.3 kB / 361.2 MB, free: 10.79 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.1237, allocations: 0 / 361.2 MB, free: 10.79 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1237, allocations: 0 / 361.2 MB, free: 10.79 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.1237, allocations: 0 / 361.2 MB, free: 10.79 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006756/0.1244, allocations: 0.6608 MB / 361.8 MB, free: 10.05 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.1244, allocations: 11.97 kB / 361.8 MB, free: 10.04 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.23e-05/0.1245, allocations: 39.53 kB / 361.9 MB, free: 10 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000337/0.1248, allocations: 257.4 kB / 362.1 MB, free: 9.711 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.586e-05/0.1249, allocations: 11.95 kB / 362.1 MB, free: 9.699 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.062e-05/0.1249, allocations: 8 kB / 362.2 MB, free: 9.691 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003097/0.1252, allocations: 129.6 kB / 362.3 MB, free: 9.559 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.1253, allocations: 0 / 362.3 MB, free: 9.559 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.241e-05/0.1253, allocations: 4 kB / 362.3 MB, free: 9.555 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.1253, allocations: 4 kB / 362.3 MB, free: 9.551 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001277/0.1254, allocations: 59.91 kB / 362.3 MB, free: 9.492 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006574/0.1261, allocations: 460.6 kB / 362.8 MB, free: 8.992 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001768/0.1263, allocations: 98.48 kB / 362.9 MB, free: 8.887 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.066e-05/0.1263, allocations: 7.938 kB / 362.9 MB, free: 8.879 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003383/0.1266, allocations: 206.2 kB / 363.1 MB, free: 8.656 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.793e-06/0.1267, allocations: 0 / 363.1 MB, free: 8.656 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008184/0.1275, allocations: 0.6233 MB / 363.7 MB, free: 7.965 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.989e-05/0.1276, allocations: 170.2 kB / 363.9 MB, free: 7.762 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005877/0.1282, allocations: 0.5168 MB / 364.4 MB, free: 7.238 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.941e-05/0.1282, allocations: 29.7 kB / 364.4 MB, free: 7.203 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.192e-05/0.1283, allocations: 109 kB / 364.5 MB, free: 7.094 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.862e-05/0.1283, allocations: 31.64 kB / 364.6 MB, free: 7.062 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.512e-05/0.1284, allocations: 4 kB / 364.6 MB, free: 7.059 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.1285, allocations: 326.8 kB / 364.9 MB, free: 6.73 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001276/0.1286, allocations: 59.97 kB / 365 MB, free: 6.672 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001246/0.1287, allocations: 69.67 kB / 365 MB, free: 6.598 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001685/0.1289, allocations: 162.8 kB / 365.2 MB, free: 6.414 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.1289, allocations: 0 / 365.2 MB, free: 6.414 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005185/0.1295, allocations: 388.3 kB / 365.6 MB, free: 6.004 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000102/0.1296, allocations: 130.8 kB / 365.7 MB, free: 5.852 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.1296, allocations: 0 / 365.7 MB, free: 5.852 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.1296, allocations: 0 / 365.7 MB, free: 5.852 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.318e-05/0.1296, allocations: 0 / 365.7 MB, free: 5.852 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.1296, allocations: 4 kB / 365.7 MB, free: 5.848 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001507/0.1298, allocations: 11.98 kB / 365.7 MB, free: 5.836 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.426e-05/0.1299, allocations: 55.94 kB / 365.8 MB, free: 5.781 MB / 302.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: 15 ($PRE.nRXFERGATE.inertialDelaySensitive.y,$whenCondition1,$whenCondition2,e_table.y,x_table.y,nRXFERGATE.nextstate,nRXFERGATE.yy,$PRE.nRXFERGATE.inertialDelaySensitive.x,nRXFERGATE.inertialDelaySensitive.x,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.y_old,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.t_next) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003542/0.1302, allocations: 370.7 kB / 366.1 MB, free: 5.387 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.854e-05/0.1303, allocations: 43.47 kB / 366.2 MB, free: 5.344 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001254/0.1304, allocations: 63.16 kB / 366.2 MB, free: 5.273 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.1304, allocations: 0 / 366.2 MB, free: 5.273 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.1304, allocations: 0 / 366.2 MB, free: 5.273 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.1305, allocations: 3.984 kB / 366.2 MB, free: 5.27 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009683/0.1314, allocations: 0.8213 MB / 367.1 MB, free: 4.367 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.1314, allocations: 0 / 367.1 MB, free: 4.367 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.66e-06/0.1315, allocations: 3.984 kB / 367.1 MB, free: 4.363 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.1315, allocations: 4 kB / 367.1 MB, free: 4.359 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.691e-05/0.1315, allocations: 15.94 kB / 367.1 MB, free: 4.344 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.1315, allocations: 304 / 367.1 MB, free: 4.344 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1315, allocations: 3.938 kB / 367.1 MB, free: 4.34 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006026/0.1321, allocations: 0.5483 MB / 367.6 MB, free: 3.754 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003023/0.1324, allocations: 240.5 kB / 367.9 MB, free: 3.5 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.536e-05/0.1325, allocations: 12 kB / 367.9 MB, free: 3.488 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001377/0.1326, allocations: 19.98 kB / 367.9 MB, free: 3.469 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/0.1328, allocations: 23.97 kB / 367.9 MB, free: 3.445 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.106e-05/0.1328, allocations: 55.98 kB / 368 MB, free: 3.391 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004268/0.1333, allocations: 386.9 kB / 368.4 MB, free: 3.016 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1333, allocations: 0 / 368.4 MB, free: 3.016 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002797/0.1336, allocations: 51.91 kB / 368.4 MB, free: 2.965 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,nRXFERGATE.nextstate,nRXFERGATE.yy,nRXFERGATE.inertialDelaySensitive.x,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.y_old,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,nRXFERGATE.yy,nRXFERGATE.nextstate,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.t_next,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,nRXFERGATE.inertialDelaySensitive.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001522/0.1337, allocations: 113.8 kB / 368.5 MB, free: 2.844 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000505/0.1342, allocations: 441.5 kB / 368.9 MB, free: 2.363 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.1342, allocations: 0 / 368.9 MB, free: 2.363 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003287/0.1346, allocations: 381.6 kB / 369.3 MB, free: 1.941 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000496/0.1351, allocations: 101.5 kB / 369.4 MB, free: 1.848 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001128/0.1362, allocations: 0.731 MB / 370.1 MB, free: 1.09 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004175/0.1366, allocations: 0.8063 MB / 371 MB, free: 264 kB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.789e-05/0.1367, allocations: 8.656 kB / 371 MB, free: 256 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.101e-05/0.1367, allocations: 11.44 kB / 371 MB, free: 244 kB / 302.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1367, allocations: 4 kB / 371 MB, free: 240 kB / 302.1 MB Notification: Performance of Templates: time 0.2152/0.3519, allocations: 4.059 MB / 375 MB, free: 19.07 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.makefile (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/NRXFER/NRXFER.csv","../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches