Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.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.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER") translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001105/0.001105, allocations: 114.8 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.001348/0.001348, allocations: 204 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.363/1.363, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001145/0.001145, allocations: 59.91 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2282/0.2293, allocations: 50.54 MB / 409.9 MB, free: 1.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.002489/0.2319, allocations: 1.515 MB / 411.5 MB, free: 28 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001795/0.2337, allocations: 0.8873 MB / 412.3 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.824e-05/0.2337, allocations: 0 / 412.3 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 7.579e-05/0.2338, allocations: 3.938 kB / 412.3 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.462e-05/0.2339, allocations: 19.86 kB / 412.4 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002324/0.2341, allocations: 51.88 kB / 412.4 MB, free: 15.06 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002027/0.2344, allocations: 139.7 kB / 412.5 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.2345, allocations: 27.72 kB / 412.6 MB, free: 14.9 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005946/0.2351, allocations: 0.5732 MB / 413.1 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000131/0.2352, allocations: 75.69 kB / 413.2 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.231e-05/0.2353, allocations: 12 kB / 413.2 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.888e-05/0.2353, allocations: 12 kB / 413.2 MB, free: 14.22 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.976e-05/0.2354, allocations: 59.77 kB / 413.3 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001283/0.2355, allocations: 119.1 kB / 413.4 MB, free: 14.05 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000346/0.2359, allocations: 374.2 kB / 413.8 MB, free: 13.68 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.2359, allocations: 0 / 413.8 MB, free: 13.68 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.2359, allocations: 0 / 413.8 MB, free: 13.68 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.2359, allocations: 0 / 413.8 MB, free: 13.68 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.0006889/0.2366, allocations: 0.7267 MB / 414.5 MB, free: 12.88 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.2367, allocations: 12.03 kB / 414.5 MB, free: 12.87 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.145e-05/0.2367, allocations: 40.7 kB / 414.6 MB, free: 12.83 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002828/0.237, allocations: 278.6 kB / 414.8 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.196e-05/0.2371, allocations: 8.375 kB / 414.8 MB, free: 12.51 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.605e-05/0.2371, allocations: 12.38 kB / 414.9 MB, free: 12.5 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003313/0.2374, allocations: 133.9 kB / 415 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.749e-06/0.2375, allocations: 0 / 415 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.296e-05/0.2375, allocations: 4 kB / 415 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.2375, allocations: 3.938 kB / 415 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001642/0.2377, allocations: 59.91 kB / 415.1 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006113/0.2383, allocations: 472.5 kB / 415.5 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001837/0.2385, allocations: 98.55 kB / 415.6 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001506/0.2386, allocations: 80.89 kB / 415.7 MB, free: 11.6 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.028e-05/0.2387, allocations: 3.938 kB / 415.7 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003349/0.239, allocations: 206.7 kB / 415.9 MB, free: 11.37 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.683e-06/0.239, allocations: 0 / 415.9 MB, free: 11.37 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008022/0.2398, allocations: 483.8 kB / 416.4 MB, free: 10.87 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.329e-05/0.2399, allocations: 170.2 kB / 416.5 MB, free: 10.66 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006029/0.2405, allocations: 0.5091 MB / 417 MB, free: 10.14 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.119e-05/0.2406, allocations: 29.7 kB / 417.1 MB, free: 10.11 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.814e-05/0.2407, allocations: 109 kB / 417.2 MB, free: 9.996 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.017e-05/0.2407, allocations: 31.77 kB / 417.2 MB, free: 9.965 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001226/0.2408, allocations: 81.56 kB / 417.3 MB, free: 9.879 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.241, allocations: 330.8 kB / 417.6 MB, free: 9.547 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001318/0.2411, allocations: 59.97 kB / 417.7 MB, free: 9.488 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001287/0.2412, allocations: 65.69 kB / 417.7 MB, free: 9.418 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000341/0.2416, allocations: 351.2 kB / 418.1 MB, free: 9.02 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.2416, allocations: 0 / 418.1 MB, free: 9.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000566/0.2422, allocations: 388.3 kB / 418.5 MB, free: 8.609 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.713e-05/0.2423, allocations: 129.8 kB / 418.6 MB, free: 8.461 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.2423, allocations: 0 / 418.6 MB, free: 8.461 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.2423, allocations: 3.984 kB / 418.6 MB, free: 8.457 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.971e-05/0.2423, allocations: 3.938 kB / 418.6 MB, free: 8.453 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.2423, allocations: 4 kB / 418.6 MB, free: 8.449 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001236/0.2425, allocations: 12 kB / 418.6 MB, free: 8.438 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.075e-05/0.2425, allocations: 59.92 kB / 418.7 MB, free: 8.379 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.nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.t_next,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.y_old,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.x,$PRE.nXFERGATE.inertialDelaySensitive.x,nXFERGATE.yy,nXFERGATE.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.0003308/0.2429, allocations: 358.8 kB / 419 MB, free: 7.996 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.342e-05/0.2429, allocations: 43.77 kB / 419.1 MB, free: 7.953 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.617e-05/0.243, allocations: 71.14 kB / 419.1 MB, free: 7.879 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.243, allocations: 0 / 419.1 MB, free: 7.879 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.2431, allocations: 3.984 kB / 419.1 MB, free: 7.875 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002868/0.2433, allocations: 240.6 kB / 419.4 MB, free: 7.621 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.591e-05/0.2434, allocations: 12.12 kB / 419.4 MB, free: 7.609 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.2435, allocations: 20.03 kB / 419.4 MB, free: 7.59 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.763e-05/0.2436, allocations: 27.91 kB / 419.4 MB, free: 7.562 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007089/0.2443, allocations: 0.7004 MB / 420.1 MB, free: 6.781 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00065/0.245, allocations: 0.6181 MB / 420.7 MB, free: 6.125 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001981/0.2452, allocations: 148 kB / 420.9 MB, free: 5.98 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004428/0.2457, allocations: 386.9 kB / 421.3 MB, free: 5.605 MB / 334.1 MB Notification: Performance of Backend: time 4.01e-07/0.2457, allocations: 0 / 421.3 MB, free: 5.605 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006558/0.2463, allocations: 455.8 kB / 421.7 MB, free: 5.105 MB / 334.1 MB Notification: Performance of SimCode: time 0.001314/0.2477, allocations: 1.315 MB / 423 MB, free: 3.695 MB / 334.1 MB Notification: Performance of Templates: time 0.007035/0.2547, allocations: 4.097 MB / 427.1 MB, free: 15.52 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.makefile (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/NXFER/NXFER.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches