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.001223/0.001223, 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.001355/0.001355, 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.371/1.371, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002038/0.002038, allocations: 58.62 kB / 306.9 MB, free: 0.6641 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1166, allocations: 50.53 MB / 357.5 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002849/0.1195, allocations: 1.516 MB / 359 MB, free: 12.6 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00194/0.1215, allocations: 0.8826 MB / 359.9 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.949e-05/0.1216, allocations: 4 kB / 359.9 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 9.253e-05/0.1217, allocations: 15.86 kB / 359.9 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.236e-05/0.1218, allocations: 15.86 kB / 359.9 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000262/0.1221, allocations: 47.89 kB / 359.9 MB, free: 11.63 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002115/0.1223, allocations: 147.7 kB / 360.1 MB, free: 11.49 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.1224, allocations: 20.22 kB / 360.1 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005767/0.123, allocations: 0.5615 MB / 360.7 MB, free: 10.9 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001452/0.1232, allocations: 71.7 kB / 360.7 MB, free: 10.83 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.742e-05/0.1232, allocations: 8 kB / 360.7 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.842e-05/0.1233, allocations: 12 kB / 360.8 MB, free: 10.81 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.904e-05/0.1234, allocations: 63.7 kB / 360.8 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001439/0.1235, allocations: 111.2 kB / 360.9 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003534/0.1239, allocations: 370.6 kB / 361.3 MB, free: 10.28 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1239, allocations: 0 / 361.3 MB, free: 10.28 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1239, allocations: 0 / 361.3 MB, free: 10.28 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.594e-06/0.1239, allocations: 4 kB / 361.3 MB, free: 10.27 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.0007426/0.1247, allocations: 0.723 MB / 362 MB, free: 9.477 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.124e-05/0.1247, allocations: 8.031 kB / 362 MB, free: 9.469 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.364e-05/0.1248, allocations: 36.47 kB / 362.1 MB, free: 9.434 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002617/0.125, allocations: 274.3 kB / 362.3 MB, free: 9.125 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.306e-05/0.1251, allocations: 12.38 kB / 362.3 MB, free: 9.113 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.676e-05/0.1251, allocations: 8.359 kB / 362.3 MB, free: 9.105 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003018/0.1254, allocations: 133.9 kB / 362.5 MB, free: 8.969 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.1254, allocations: 0 / 362.5 MB, free: 8.969 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.316e-05/0.1255, allocations: 8 kB / 362.5 MB, free: 8.961 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.1255, allocations: 4 kB / 362.5 MB, free: 8.957 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001425/0.1256, allocations: 55.97 kB / 362.5 MB, free: 8.902 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006348/0.1263, allocations: 468.5 kB / 363 MB, free: 8.395 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001898/0.1265, allocations: 98.48 kB / 363.1 MB, free: 8.289 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001466/0.1266, allocations: 84.89 kB / 363.2 MB, free: 8.203 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.093e-05/0.1267, allocations: 4 kB / 363.2 MB, free: 8.199 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003511/0.127, allocations: 214.5 kB / 363.4 MB, free: 7.965 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.532e-06/0.127, allocations: 0 / 363.4 MB, free: 7.965 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008012/0.1278, allocations: 475.4 kB / 363.9 MB, free: 7.473 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.702e-05/0.1279, allocations: 166.2 kB / 364 MB, free: 7.273 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006168/0.1286, allocations: 0.513 MB / 364.5 MB, free: 6.75 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.219e-05/0.1286, allocations: 37.69 kB / 364.6 MB, free: 6.707 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.619e-05/0.1287, allocations: 101 kB / 364.7 MB, free: 6.605 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.993e-05/0.1287, allocations: 31.62 kB / 364.7 MB, free: 6.574 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001162/0.1288, allocations: 81.42 kB / 364.8 MB, free: 6.488 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.1289, allocations: 330.8 kB / 365.1 MB, free: 6.156 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001303/0.1291, allocations: 55.97 kB / 365.2 MB, free: 6.102 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001395/0.1292, allocations: 73.67 kB / 365.2 MB, free: 6.023 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003262/0.1296, allocations: 347.2 kB / 365.6 MB, free: 5.629 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.1296, allocations: 0 / 365.6 MB, free: 5.629 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005362/0.1301, allocations: 388.4 kB / 365.9 MB, free: 5.219 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.968e-05/0.1302, allocations: 133.8 kB / 366.1 MB, free: 5.066 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.1302, allocations: 0 / 366.1 MB, free: 5.066 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.1302, allocations: 0 / 366.1 MB, free: 5.066 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.025e-05/0.1303, allocations: 3.938 kB / 366.1 MB, free: 5.062 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.1303, allocations: 4 kB / 366.1 MB, free: 5.059 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000127/0.1304, allocations: 12.03 kB / 366.1 MB, free: 5.047 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.736e-05/0.1305, allocations: 59.92 kB / 366.2 MB, free: 4.988 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,nRXFERGATE.inertialDelaySensitive.t_next,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.y_old,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.x,$PRE.nRXFERGATE.inertialDelaySensitive.x,nRXFERGATE.yy,nRXFERGATE.nextstate,x_table.y,e_table.y,$whenCondition2,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003561/0.1309, allocations: 367.8 kB / 366.5 MB, free: 4.598 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.295e-05/0.1309, allocations: 31.62 kB / 366.5 MB, free: 4.566 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001022/0.131, allocations: 71.14 kB / 366.6 MB, free: 4.488 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.131, allocations: 0 / 366.6 MB, free: 4.488 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.131, allocations: 0 / 366.6 MB, free: 4.488 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1311, allocations: 0 / 366.6 MB, free: 4.488 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000973/0.132, allocations: 0.8328 MB / 367.4 MB, free: 3.574 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.132, allocations: 0 / 367.4 MB, free: 3.574 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.47e-06/0.1321, allocations: 0 / 367.4 MB, free: 3.574 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.1321, allocations: 0 / 367.4 MB, free: 3.574 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.903e-05/0.1321, allocations: 16.09 kB / 367.5 MB, free: 3.559 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.1321, allocations: 3.938 kB / 367.5 MB, free: 3.555 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.1321, allocations: 3.938 kB / 367.5 MB, free: 3.551 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006547/0.1328, allocations: 0.5324 MB / 368 MB, free: 2.98 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003044/0.1331, allocations: 252.4 kB / 368.2 MB, free: 2.715 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.248e-05/0.1332, allocations: 12 kB / 368.3 MB, free: 2.703 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001319/0.1333, allocations: 15.92 kB / 368.3 MB, free: 2.688 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/0.1334, allocations: 27.92 kB / 368.3 MB, free: 2.66 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.234e-05/0.1335, allocations: 64.05 kB / 368.4 MB, free: 2.598 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004497/0.1339, allocations: 386.9 kB / 368.7 MB, free: 2.223 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.1339, allocations: 0 / 368.7 MB, free: 2.223 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002967/0.1342, allocations: 44 kB / 368.8 MB, free: 2.18 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 (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.000186/0.1344, allocations: 125.8 kB / 368.9 MB, free: 2.047 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005142/0.135, allocations: 441.5 kB / 369.3 MB, free: 1.566 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.135, allocations: 0 / 369.3 MB, free: 1.566 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003276/0.1353, allocations: 373.5 kB / 369.7 MB, free: 1.152 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006342/0.1359, allocations: 118.4 kB / 369.8 MB, free: 1.047 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00106/0.137, allocations: 0.6537 MB / 370.5 MB, free: 376 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1629/0.2999, allocations: 0.8014 MB / 371.3 MB, free: 20.14 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.281e-05/0.3001, allocations: 5.578 kB / 371.3 MB, free: 20.14 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.767e-05/0.3001, allocations: 14.78 kB / 371.3 MB, free: 20.13 MB / 302.1 MB Notification: Performance of SimCode: time 8.92e-07/0.3001, allocations: 0 / 371.3 MB, free: 20.13 MB / 302.1 MB Notification: Performance of Templates: time 0.01022/0.3104, allocations: 4.669 MB / 376 MB, free: 19.69 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