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.001111/0.001111, allocations: 112.1 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001193/0.001193, allocations: 206.8 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.365/1.365, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001134/0.001134, allocations: 55.91 kB / 359.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.227/0.2282, allocations: 50.53 MB / 409.9 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002277/0.2305, allocations: 1.526 MB / 411.5 MB, free: 68 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001783/0.2323, allocations: 0.8834 MB / 412.3 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.431e-05/0.2323, allocations: 4 kB / 412.3 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.956e-05/0.2324, allocations: 7.938 kB / 412.3 MB, free: 15.17 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.544e-05/0.2325, allocations: 19.86 kB / 412.4 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002606/0.2328, allocations: 51.88 kB / 412.4 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000204/0.233, allocations: 139.7 kB / 412.6 MB, free: 14.96 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.2331, allocations: 16.22 kB / 412.6 MB, free: 14.94 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005713/0.2337, allocations: 0.5771 MB / 413.1 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001351/0.2339, allocations: 79.69 kB / 413.2 MB, free: 14.28 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.746e-05/0.2339, allocations: 8 kB / 413.2 MB, free: 14.27 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.961e-05/0.2339, allocations: 12 kB / 413.2 MB, free: 14.26 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.146e-05/0.234, allocations: 63.75 kB / 413.3 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001187/0.2342, allocations: 115.1 kB / 413.4 MB, free: 14.09 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000345/0.2345, allocations: 378.6 kB / 413.8 MB, free: 13.71 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.2345, allocations: 0 / 413.8 MB, free: 13.71 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2345, allocations: 0 / 413.8 MB, free: 13.71 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.328e-06/0.2345, allocations: 0 / 413.8 MB, free: 13.71 MB / 334.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.000763/0.2353, allocations: 0.7121 MB / 414.5 MB, free: 12.93 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.2354, allocations: 16.03 kB / 414.5 MB, free: 12.92 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.509e-05/0.2354, allocations: 32.56 kB / 414.5 MB, free: 12.89 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002839/0.2357, allocations: 278.3 kB / 414.8 MB, free: 12.57 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/0.2358, allocations: 4.375 kB / 414.8 MB, free: 12.57 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.199e-05/0.2358, allocations: 8.375 kB / 414.8 MB, free: 12.56 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002872/0.2361, allocations: 133.9 kB / 415 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.2361, allocations: 0 / 415 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.113e-05/0.2361, allocations: 7.938 kB / 415 MB, free: 12.42 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.2361, allocations: 0 / 415 MB, free: 12.42 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001441/0.2363, allocations: 63.91 kB / 415 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000595/0.2369, allocations: 472.4 kB / 415.5 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001729/0.2371, allocations: 94.55 kB / 415.6 MB, free: 11.74 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001464/0.2372, allocations: 80.89 kB / 415.7 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.207e-06/0.2373, allocations: 0 / 415.7 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003249/0.2376, allocations: 214.6 kB / 415.9 MB, free: 11.43 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.493e-06/0.2376, allocations: 0 / 415.9 MB, free: 11.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007675/0.2384, allocations: 479.9 kB / 416.3 MB, free: 10.93 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.764e-05/0.2385, allocations: 162.2 kB / 416.5 MB, free: 10.73 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006166/0.2391, allocations: 0.5169 MB / 417 MB, free: 10.2 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.85e-05/0.2391, allocations: 29.7 kB / 417 MB, free: 10.16 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.018e-05/0.2392, allocations: 105.1 kB / 417.1 MB, free: 10.06 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.243e-05/0.2392, allocations: 27.7 kB / 417.2 MB, free: 10.03 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/0.2394, allocations: 85.33 kB / 417.3 MB, free: 9.941 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.2395, allocations: 326.8 kB / 417.6 MB, free: 9.613 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001288/0.2396, allocations: 55.97 kB / 417.6 MB, free: 9.559 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001248/0.2397, allocations: 73.69 kB / 417.7 MB, free: 9.48 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003193/0.2401, allocations: 354.7 kB / 418.1 MB, free: 9.082 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.2401, allocations: 0 / 418.1 MB, free: 9.082 MB / 334.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005172/0.2406, allocations: 384.5 kB / 418.4 MB, free: 8.676 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.72e-05/0.2407, allocations: 122.8 kB / 418.5 MB, free: 8.531 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.2407, allocations: 0 / 418.5 MB, free: 8.531 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.2407, allocations: 7.984 kB / 418.6 MB, free: 8.523 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.001e-05/0.2407, allocations: 3.938 kB / 418.6 MB, free: 8.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.2408, allocations: 0 / 418.6 MB, free: 8.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001263/0.2409, allocations: 15.94 kB / 418.6 MB, free: 8.504 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.217e-05/0.241, allocations: 59.92 kB / 418.6 MB, free: 8.445 MB / 334.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.0003172/0.2413, allocations: 374.7 kB / 419 MB, free: 8.047 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.92e-05/0.2413, allocations: 43.56 kB / 419 MB, free: 8.004 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001059/0.2415, allocations: 63.16 kB / 419.1 MB, free: 7.938 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.237e-06/0.2415, allocations: 0 / 419.1 MB, free: 7.938 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2415, allocations: 0 / 419.1 MB, free: 7.938 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002905/0.2418, allocations: 244.5 kB / 419.3 MB, free: 7.68 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.408e-05/0.2418, allocations: 8 kB / 419.3 MB, free: 7.672 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.2419, allocations: 16.03 kB / 419.4 MB, free: 7.656 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/0.2421, allocations: 31.91 kB / 419.4 MB, free: 7.625 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006861/0.2427, allocations: 0.6965 MB / 420.1 MB, free: 6.848 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006537/0.2434, allocations: 0.6143 MB / 420.7 MB, free: 6.191 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002008/0.2436, allocations: 152 kB / 420.9 MB, free: 6.043 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004256/0.2441, allocations: 382.9 kB / 421.2 MB, free: 5.672 MB / 334.1 MB Notification: Performance of Backend: time 4.51e-07/0.2441, allocations: 3.938 kB / 421.2 MB, free: 5.668 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006576/0.2447, allocations: 455 kB / 421.7 MB, free: 5.172 MB / 334.1 MB Notification: Performance of SimCode: time 0.001286/0.246, allocations: 1.319 MB / 423 MB, free: 3.762 MB / 334.1 MB Notification: Performance of Templates: time 0.006497/0.2525, allocations: 4.094 MB / 427.1 MB, free: 15.59 MB / 350.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/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