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.001519/0.001519, allocations: 115.8 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.001442/0.001442, allocations: 199.5 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.369/1.369, allocations: 227.4 MB / 247.5 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001232, allocations: 60.91 kB / 308.4 MB, free: 15.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1048, allocations: 50.53 MB / 358.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002961/0.1078, allocations: 1.51 MB / 360.4 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001965/0.1098, allocations: 0.8865 MB / 361.3 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.665e-05/0.1098, allocations: 0 / 361.3 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001039/0.11, allocations: 11.86 kB / 361.3 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.034e-05/0.1101, allocations: 15.86 kB / 361.3 MB, free: 10.92 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002774/0.1104, allocations: 47.89 kB / 361.4 MB, free: 10.87 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002198/0.1106, allocations: 147.7 kB / 361.5 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001291/0.1107, allocations: 24.22 kB / 361.5 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005965/0.1113, allocations: 0.5654 MB / 362.1 MB, free: 10.13 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001379/0.1115, allocations: 63.77 kB / 362.2 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.293e-05/0.1115, allocations: 16 kB / 362.2 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.779e-05/0.1116, allocations: 8 kB / 362.2 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001011/0.1117, allocations: 67.69 kB / 362.2 MB, free: 9.98 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001314/0.1118, allocations: 119.2 kB / 362.4 MB, free: 9.863 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003527/0.1122, allocations: 370.7 kB / 362.7 MB, free: 9.5 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1122, allocations: 0 / 362.7 MB, free: 9.5 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1122, allocations: 0 / 362.7 MB, free: 9.5 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.1122, allocations: 0 / 362.7 MB, free: 9.5 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.0006925/0.1129, allocations: 0.7227 MB / 363.4 MB, free: 8.703 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.1129, allocations: 11.97 kB / 363.5 MB, free: 8.691 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.653e-05/0.113, allocations: 44.47 kB / 363.5 MB, free: 8.648 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002723/0.1133, allocations: 270.3 kB / 363.8 MB, free: 8.344 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.073e-05/0.1133, allocations: 4.375 kB / 363.8 MB, free: 8.34 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.012e-05/0.1134, allocations: 12.36 kB / 363.8 MB, free: 8.328 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002843/0.1137, allocations: 129.9 kB / 363.9 MB, free: 8.195 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.1137, allocations: 0 / 363.9 MB, free: 8.195 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.348e-05/0.1137, allocations: 11.94 kB / 363.9 MB, free: 8.184 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.1137, allocations: 3.938 kB / 363.9 MB, free: 8.18 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001325/0.1138, allocations: 59.91 kB / 364 MB, free: 8.121 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006767/0.1145, allocations: 456.6 kB / 364.4 MB, free: 7.625 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001817/0.1147, allocations: 110.5 kB / 364.5 MB, free: 7.508 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001404/0.1149, allocations: 80.89 kB / 364.6 MB, free: 7.426 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.036e-05/0.1149, allocations: 0 / 364.6 MB, free: 7.426 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000352/0.1153, allocations: 214 kB / 364.8 MB, free: 7.195 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.463e-06/0.1153, allocations: 4 kB / 364.8 MB, free: 7.191 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007971/0.1161, allocations: 472 kB / 365.3 MB, free: 6.699 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001063/0.1162, allocations: 170.1 kB / 365.5 MB, free: 6.496 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006323/0.1168, allocations: 0.513 MB / 366 MB, free: 5.973 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.019e-05/0.1169, allocations: 29.7 kB / 366 MB, free: 5.938 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.934e-05/0.117, allocations: 101 kB / 366.1 MB, free: 5.836 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.878e-05/0.117, allocations: 27.66 kB / 366.1 MB, free: 5.809 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000118/0.1171, allocations: 85.41 kB / 366.2 MB, free: 5.719 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.1172, allocations: 330.8 kB / 366.5 MB, free: 5.387 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001232/0.1174, allocations: 55.97 kB / 366.6 MB, free: 5.332 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000132/0.1175, allocations: 73.69 kB / 366.7 MB, free: 5.254 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003027/0.1178, allocations: 343.4 kB / 367 MB, free: 4.863 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.1178, allocations: 0 / 367 MB, free: 4.863 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005142/0.1183, allocations: 396.2 kB / 367.4 MB, free: 4.445 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.053e-05/0.1184, allocations: 122.8 kB / 367.5 MB, free: 4.301 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1185, allocations: 4.031 kB / 367.5 MB, free: 4.297 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.1185, allocations: 0 / 367.5 MB, free: 4.297 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.235e-05/0.1185, allocations: 4 kB / 367.5 MB, free: 4.293 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.1185, allocations: 0 / 367.5 MB, free: 4.293 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001322/0.1186, allocations: 11.98 kB / 367.5 MB, free: 4.281 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.819e-05/0.1187, allocations: 59.94 kB / 367.6 MB, free: 4.223 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.0003286/0.1191, allocations: 371.9 kB / 367.9 MB, free: 3.828 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.614e-05/0.1191, allocations: 35.62 kB / 368 MB, free: 3.793 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.881e-05/0.1192, allocations: 71.12 kB / 368 MB, free: 3.715 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.1192, allocations: 0 / 368 MB, free: 3.715 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.1192, allocations: 0 / 368 MB, free: 3.715 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.1192, allocations: 112 / 368 MB, free: 3.715 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009309/0.1202, allocations: 0.8326 MB / 368.9 MB, free: 2.805 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1202, allocations: 0 / 368.9 MB, free: 2.805 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.618e-06/0.1202, allocations: 0 / 368.9 MB, free: 2.805 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1202, allocations: 0 / 368.9 MB, free: 2.805 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.008e-05/0.1202, allocations: 15.98 kB / 368.9 MB, free: 2.789 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1203, allocations: 0 / 368.9 MB, free: 2.789 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.1203, allocations: 7.938 kB / 368.9 MB, free: 2.781 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006613/0.1209, allocations: 0.533 MB / 369.4 MB, free: 2.207 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003416/0.1213, allocations: 256.3 kB / 369.7 MB, free: 1.938 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.498e-05/0.1213, allocations: 11.94 kB / 369.7 MB, free: 1.926 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/0.1215, allocations: 12 kB / 369.7 MB, free: 1.914 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.1216, allocations: 27.91 kB / 369.7 MB, free: 1.887 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.204e-05/0.1217, allocations: 63.92 kB / 369.8 MB, free: 1.824 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004517/0.1221, allocations: 390.9 kB / 370.2 MB, free: 1.445 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1221, allocations: 0 / 370.2 MB, free: 1.445 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002855/0.1224, allocations: 40 kB / 370.2 MB, free: 1.406 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.0001452/0.1226, allocations: 109.9 kB / 370.3 MB, free: 1.289 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005109/0.1231, allocations: 441.7 kB / 370.8 MB, free: 0.8086 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.1231, allocations: 0 / 370.8 MB, free: 0.8086 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002964/0.1234, allocations: 377.5 kB / 371.1 MB, free: 400 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005785/0.124, allocations: 122.6 kB / 371.2 MB, free: 292 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1592/0.2832, allocations: 0.6495 MB / 371.9 MB, free: 20.62 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003459/0.2835, allocations: 0.8031 MB / 372.7 MB, free: 19.89 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.444e-05/0.2836, allocations: 8.891 kB / 372.7 MB, free: 19.89 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.619e-05/0.2837, allocations: 11.91 kB / 372.7 MB, free: 19.88 MB / 302.1 MB Notification: Performance of SimCode: time 7.52e-07/0.2837, allocations: 0 / 372.7 MB, free: 19.88 MB / 302.1 MB Notification: Performance of Templates: time 0.009002/0.2927, allocations: 4.671 MB / 377.4 MB, free: 19.44 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 cvode -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