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.001355/0.001355, allocations: 98.23 kB / 17 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001326/0.001326, allocations: 192.2 kB / 17.9 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.444/1.444, allocations: 227.7 MB / 246.4 MB, free: 11.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003045/0.0003047, allocations: 8 kB / 307.1 MB, free: 1.18 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1188, allocations: 51.53 MB / 358.6 MB, free: 13.65 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.001636/0.1205, allocations: 1.198 MB / 359.8 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001721/0.1222, allocations: 0.8504 MB / 360.7 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.36e-05/0.1223, allocations: 0 / 360.7 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 8.532e-05/0.1224, allocations: 3.938 kB / 360.7 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.766e-05/0.1225, allocations: 15.91 kB / 360.7 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002435/0.1228, allocations: 35.91 kB / 360.7 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001423/0.1229, allocations: 103.7 kB / 360.8 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.123, allocations: 16.22 kB / 360.8 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006013/0.1236, allocations: 499.1 kB / 361.3 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001492/0.1238, allocations: 71.81 kB / 361.4 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.869e-05/0.1238, allocations: 4 kB / 361.4 MB, free: 10.85 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.835e-05/0.1239, allocations: 4 kB / 361.4 MB, free: 10.85 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.072e-05/0.124, allocations: 63.77 kB / 361.5 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.295e-05/0.1241, allocations: 77.52 kB / 361.6 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003818/0.1244, allocations: 295.3 kB / 361.8 MB, free: 10.41 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.1245, allocations: 0 / 361.8 MB, free: 10.41 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.1245, allocations: 0 / 361.8 MB, free: 10.41 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.045e-05/0.1245, allocations: 0 / 361.8 MB, free: 10.41 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.0008124/0.1253, allocations: 0.6646 MB / 362.5 MB, free: 9.676 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.1254, allocations: 8.031 kB / 362.5 MB, free: 9.668 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.928e-05/0.1254, allocations: 39.53 kB / 362.6 MB, free: 9.629 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002679/0.1257, allocations: 253.4 kB / 362.8 MB, free: 9.34 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.304e-05/0.1257, allocations: 12 kB / 362.8 MB, free: 9.328 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.094e-05/0.1258, allocations: 15.95 kB / 362.8 MB, free: 9.312 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003018/0.1261, allocations: 129.5 kB / 363 MB, free: 9.18 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.1261, allocations: 0 / 363 MB, free: 9.18 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.269e-05/0.1261, allocations: 11.88 kB / 363 MB, free: 9.168 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.1262, allocations: 0 / 363 MB, free: 9.168 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000137/0.1263, allocations: 59.97 kB / 363 MB, free: 9.109 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006312/0.1269, allocations: 460.7 kB / 363.5 MB, free: 8.609 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001767/0.1271, allocations: 94.48 kB / 363.6 MB, free: 8.508 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000138/0.1273, allocations: 80.89 kB / 363.6 MB, free: 8.426 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.075e-05/0.1273, allocations: 4 kB / 363.6 MB, free: 8.422 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003026/0.1276, allocations: 214.6 kB / 363.9 MB, free: 8.188 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.333e-06/0.1276, allocations: 4 kB / 363.9 MB, free: 8.184 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007459/0.1284, allocations: 479.9 kB / 364.3 MB, free: 7.684 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.633e-05/0.1285, allocations: 162.2 kB / 364.5 MB, free: 7.488 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006326/0.1291, allocations: 0.509 MB / 365 MB, free: 6.973 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.579e-05/0.1292, allocations: 33.7 kB / 365 MB, free: 6.934 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.79e-05/0.1292, allocations: 101 kB / 365.1 MB, free: 6.832 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.932e-05/0.1293, allocations: 27.66 kB / 365.2 MB, free: 6.805 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.552e-05/0.1293, allocations: 4 kB / 365.2 MB, free: 6.801 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.1294, allocations: 330.8 kB / 365.5 MB, free: 6.469 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001214/0.1295, allocations: 55.97 kB / 365.5 MB, free: 6.414 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001319/0.1297, allocations: 81.61 kB / 365.6 MB, free: 6.328 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001582/0.1298, allocations: 158.8 kB / 365.8 MB, free: 6.148 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1298, allocations: 0 / 365.8 MB, free: 6.148 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004983/0.1303, allocations: 391.6 kB / 366.2 MB, free: 5.738 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.807e-05/0.1304, allocations: 126.8 kB / 366.3 MB, free: 5.59 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.1304, allocations: 0 / 366.3 MB, free: 5.59 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.1305, allocations: 4.031 kB / 366.3 MB, free: 5.586 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.354e-05/0.1305, allocations: 3.938 kB / 366.3 MB, free: 5.582 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.1305, allocations: 4 kB / 366.3 MB, free: 5.578 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001527/0.1307, allocations: 15.89 kB / 366.3 MB, free: 5.562 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.293e-05/0.1307, allocations: 55.94 kB / 366.4 MB, free: 5.508 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.0003286/0.1311, allocations: 367.8 kB / 366.7 MB, free: 5.117 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.667e-05/0.1311, allocations: 35.62 kB / 366.8 MB, free: 5.082 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001049/0.1313, allocations: 63.16 kB / 366.8 MB, free: 5.012 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.1313, allocations: 11.97 kB / 366.8 MB, free: 5 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.1313, allocations: 0 / 366.8 MB, free: 5 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.1313, allocations: 112 / 366.8 MB, free: 5 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008952/0.1322, allocations: 0.8289 MB / 367.7 MB, free: 4.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.1322, allocations: 192 / 367.7 MB, free: 4.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.733e-06/0.1322, allocations: 4 kB / 367.7 MB, free: 4.086 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.1322, allocations: 0 / 367.7 MB, free: 4.086 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.762e-05/0.1323, allocations: 12 kB / 367.7 MB, free: 4.074 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.1323, allocations: 0 / 367.7 MB, free: 4.074 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1323, allocations: 0 / 367.7 MB, free: 4.074 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000626/0.1329, allocations: 0.5484 MB / 368.2 MB, free: 3.484 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002858/0.1332, allocations: 236.5 kB / 368.5 MB, free: 3.234 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.983e-05/0.1333, allocations: 15.98 kB / 368.5 MB, free: 3.219 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001352/0.1334, allocations: 12 kB / 368.5 MB, free: 3.207 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/0.1335, allocations: 23.97 kB / 368.5 MB, free: 3.184 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.824e-05/0.1336, allocations: 63.86 kB / 368.6 MB, free: 3.121 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004389/0.134, allocations: 390.9 kB / 368.9 MB, free: 2.738 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.134, allocations: 0 / 368.9 MB, free: 2.738 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002878/0.1343, allocations: 51.91 kB / 369 MB, free: 2.688 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.0001468/0.1345, allocations: 113.8 kB / 369.1 MB, free: 2.566 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005077/0.135, allocations: 437.5 kB / 369.5 MB, free: 2.09 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.135, allocations: 0 / 369.5 MB, free: 2.09 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002999/0.1353, allocations: 385.5 kB / 369.9 MB, free: 1.664 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000535/0.1359, allocations: 105 kB / 370 MB, free: 1.566 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001061/0.1369, allocations: 0.731 MB / 370.7 MB, free: 0.8086 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1851/0.3221, allocations: 0.7986 MB / 371.5 MB, free: 19.29 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001042/0.3222, allocations: 3.734 kB / 371.5 MB, free: 19.28 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.423e-05/0.3222, allocations: 11.06 kB / 371.6 MB, free: 19.27 MB / 302.1 MB Notification: Performance of SimCode: time 9.42e-07/0.3223, allocations: 3.828 kB / 371.6 MB, free: 19.27 MB / 302.1 MB Notification: Performance of Templates: time 0.0113/0.3336, allocations: 4.07 MB / 375.6 MB, free: 18.84 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches