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.001385/0.001385, allocations: 116.9 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001651/0.001651, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.454/1.454, allocations: 227.4 MB / 247.5 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 65.55 kB / 308.4 MB, free: 15.92 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09925/0.1004, allocations: 50.53 MB / 358.9 MB, free: 13.37 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002791/0.1033, allocations: 1.513 MB / 360.4 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001936/0.1052, allocations: 0.8826 MB / 361.3 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.586e-05/0.1053, allocations: 4 kB / 361.3 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 9.563e-05/0.1054, allocations: 11.86 kB / 361.3 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.729e-05/0.1055, allocations: 19.84 kB / 361.3 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002491/0.1057, allocations: 43.89 kB / 361.4 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002021/0.106, allocations: 147.7 kB / 361.5 MB, free: 10.74 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.1061, allocations: 20.23 kB / 361.5 MB, free: 10.72 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005663/0.1066, allocations: 0.5615 MB / 362.1 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001284/0.1068, allocations: 75.7 kB / 362.2 MB, free: 10.08 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.492e-05/0.1068, allocations: 8 kB / 362.2 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.515e-05/0.1069, allocations: 8 kB / 362.2 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.126e-05/0.107, allocations: 63.77 kB / 362.2 MB, free: 10 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001178/0.1071, allocations: 119.1 kB / 362.4 MB, free: 9.887 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003319/0.1074, allocations: 370.7 kB / 362.7 MB, free: 9.523 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.1074, allocations: 0 / 362.7 MB, free: 9.523 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.1074, allocations: 0 / 362.7 MB, free: 9.523 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.712e-06/0.1075, allocations: 4 kB / 362.7 MB, free: 9.52 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.0007985/0.1083, allocations: 0.7227 MB / 363.4 MB, free: 8.723 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.1083, allocations: 12.03 kB / 363.5 MB, free: 8.711 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.94e-05/0.1084, allocations: 36.47 kB / 363.5 MB, free: 8.676 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003093/0.1087, allocations: 278.3 kB / 363.8 MB, free: 8.363 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.1087, allocations: 4.375 kB / 363.8 MB, free: 8.359 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.686e-05/0.1088, allocations: 8.375 kB / 363.8 MB, free: 8.352 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002903/0.1091, allocations: 133.8 kB / 363.9 MB, free: 8.215 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.1091, allocations: 0 / 363.9 MB, free: 8.215 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.325e-05/0.1091, allocations: 15.94 kB / 363.9 MB, free: 8.199 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.1091, allocations: 0 / 363.9 MB, free: 8.199 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001455/0.1093, allocations: 63.91 kB / 364 MB, free: 8.137 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007145/0.11, allocations: 456.6 kB / 364.4 MB, free: 7.641 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001804/0.1102, allocations: 90.55 kB / 364.5 MB, free: 7.543 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001553/0.1103, allocations: 88.83 kB / 364.6 MB, free: 7.453 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.22e-05/0.1104, allocations: 8 kB / 364.6 MB, free: 7.445 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003705/0.1108, allocations: 209.8 kB / 364.8 MB, free: 7.219 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.663e-06/0.1108, allocations: 4 kB / 364.8 MB, free: 7.215 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009097/0.1117, allocations: 472 kB / 365.3 MB, free: 6.723 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001382/0.1118, allocations: 170.2 kB / 365.5 MB, free: 6.52 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006813/0.1125, allocations: 0.5091 MB / 366 MB, free: 6 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.455e-05/0.1126, allocations: 33.69 kB / 366 MB, free: 5.961 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.853e-05/0.1127, allocations: 101 kB / 366.1 MB, free: 5.859 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.04e-05/0.1127, allocations: 31.64 kB / 366.1 MB, free: 5.828 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001185/0.1128, allocations: 85.42 kB / 366.2 MB, free: 5.738 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.113, allocations: 322.8 kB / 366.5 MB, free: 5.414 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001295/0.1131, allocations: 55.97 kB / 366.6 MB, free: 5.359 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001544/0.1133, allocations: 77.67 kB / 366.7 MB, free: 5.277 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003697/0.1137, allocations: 351.4 kB / 367 MB, free: 4.879 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.1137, allocations: 0 / 367 MB, free: 4.879 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005844/0.1143, allocations: 388.2 kB / 367.4 MB, free: 4.469 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001026/0.1144, allocations: 126.7 kB / 367.5 MB, free: 4.32 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.1144, allocations: 7.984 kB / 367.5 MB, free: 4.312 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.1144, allocations: 0 / 367.5 MB, free: 4.312 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.209e-05/0.1145, allocations: 0 / 367.5 MB, free: 4.312 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.1145, allocations: 0 / 367.5 MB, free: 4.312 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001218/0.1146, allocations: 8 kB / 367.5 MB, free: 4.305 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.208e-05/0.1147, allocations: 63.92 kB / 367.6 MB, free: 4.242 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.0003429/0.115, allocations: 371.9 kB / 367.9 MB, free: 3.848 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.796e-05/0.1151, allocations: 35.62 kB / 368 MB, free: 3.812 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001002/0.1152, allocations: 67.14 kB / 368 MB, free: 3.738 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.1152, allocations: 0 / 368 MB, free: 3.738 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.1152, allocations: 4 kB / 368 MB, free: 3.734 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.1152, allocations: 112 / 368 MB, free: 3.734 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009405/0.1162, allocations: 0.8283 MB / 368.9 MB, free: 2.828 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1162, allocations: 0 / 368.9 MB, free: 2.828 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.118e-06/0.1162, allocations: 4 kB / 368.9 MB, free: 2.824 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1162, allocations: 4 kB / 368.9 MB, free: 2.82 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.935e-05/0.1162, allocations: 11.98 kB / 368.9 MB, free: 2.809 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1162, allocations: 3.938 kB / 368.9 MB, free: 2.805 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.1163, allocations: 7.938 kB / 368.9 MB, free: 2.797 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006614/0.1169, allocations: 0.5369 MB / 369.4 MB, free: 2.219 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003569/0.1173, allocations: 244.4 kB / 369.7 MB, free: 1.961 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.545e-05/0.1174, allocations: 12 kB / 369.7 MB, free: 1.949 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000128/0.1175, allocations: 15.98 kB / 369.7 MB, free: 1.934 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.1176, allocations: 27.86 kB / 369.7 MB, free: 1.906 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.378e-05/0.1177, allocations: 67.92 kB / 369.8 MB, free: 1.84 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004525/0.1181, allocations: 378.9 kB / 370.2 MB, free: 1.473 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1181, allocations: 0 / 370.2 MB, free: 1.473 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002802/0.1184, allocations: 44 kB / 370.2 MB, free: 1.43 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.0001308/0.1186, allocations: 114 kB / 370.3 MB, free: 1.309 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004894/0.1191, allocations: 441.5 kB / 370.8 MB, free: 0.8281 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1191, allocations: 0 / 370.8 MB, free: 0.8281 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003083/0.1194, allocations: 377.5 kB / 371.1 MB, free: 420 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005688/0.12, allocations: 125.6 kB / 371.2 MB, free: 308 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1481/0.2681, allocations: 0.6472 MB / 371.9 MB, free: 20.63 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003241/0.2685, allocations: 0.797 MB / 372.7 MB, free: 19.91 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.55e-05/0.2686, allocations: 9.219 kB / 372.7 MB, free: 19.9 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.35e-05/0.2686, allocations: 12.09 kB / 372.7 MB, free: 19.89 MB / 302.1 MB Notification: Performance of SimCode: time 1.012e-06/0.2686, allocations: 0.5625 kB / 372.7 MB, free: 19.89 MB / 302.1 MB Notification: Performance of Templates: time 0.009182/0.2778, allocations: 4.669 MB / 377.4 MB, free: 19.47 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/NRXFER/NRXFER.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches