Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER") translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 109.2 kB / 18.4 MB, free: 4.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 188.5 kB / 19.34 MB, free: 3.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.257/1.257, allocations: 205.1 MB / 225.2 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 55.92 kB / 329.2 MB, free: 3.297 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07164/0.07284, allocations: 46.61 MB / 375.8 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.00238/0.07524, allocations: 1.509 MB / 377.3 MB, free: 3.055 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001791/0.07705, allocations: 0.8972 MB / 378.2 MB, free: 2.148 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.103e-05/0.07711, allocations: 0 / 378.2 MB, free: 2.148 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 8.632e-05/0.07721, allocations: 15.86 kB / 378.2 MB, free: 2.133 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.684e-05/0.0773, allocations: 15.86 kB / 378.3 MB, free: 2.117 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002206/0.07753, allocations: 47.88 kB / 378.3 MB, free: 2.07 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001938/0.07773, allocations: 143.7 kB / 378.4 MB, free: 1.93 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.516e-05/0.07784, allocations: 24.22 kB / 378.5 MB, free: 1.902 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005605/0.0784, allocations: 0.5693 MB / 379 MB, free: 1.332 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001344/0.07855, allocations: 75.69 kB / 379.1 MB, free: 1.258 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.454e-05/0.0786, allocations: 8 kB / 379.1 MB, free: 1.25 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.036e-05/0.07865, allocations: 12 kB / 379.1 MB, free: 1.238 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.85e-05/0.07873, allocations: 63.7 kB / 379.2 MB, free: 1.176 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001183/0.07885, allocations: 115.2 kB / 379.3 MB, free: 1.062 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003533/0.07921, allocations: 374.5 kB / 379.7 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.07923, allocations: 4 kB / 379.7 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.07923, allocations: 0 / 379.7 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.062e-06/0.07925, allocations: 0 / 379.7 MB, free: 0.6914 MB / 318.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.1434/0.2226, allocations: 0.7316 MB / 380.4 MB, free: 13.16 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.2227, allocations: 8.125 kB / 380.4 MB, free: 13.16 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.942e-05/0.2228, allocations: 40.05 kB / 380.5 MB, free: 13.14 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002321/0.223, allocations: 273 kB / 380.7 MB, free: 12.89 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.144e-05/0.2231, allocations: 5.125 kB / 380.7 MB, free: 12.89 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.108e-05/0.2231, allocations: 8.781 kB / 380.7 MB, free: 12.89 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002879/0.2234, allocations: 131.9 kB / 380.9 MB, free: 12.86 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.2234, allocations: 0 / 380.9 MB, free: 12.86 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.287e-05/0.2234, allocations: 7.781 kB / 380.9 MB, free: 12.86 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.2234, allocations: 0.9062 kB / 380.9 MB, free: 12.86 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001411/0.2236, allocations: 64.36 kB / 380.9 MB, free: 12.86 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005661/0.2242, allocations: 462.5 kB / 381.4 MB, free: 12.57 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001696/0.2243, allocations: 100.2 kB / 381.5 MB, free: 12.55 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001396/0.2245, allocations: 87.34 kB / 381.6 MB, free: 12.54 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.197e-05/0.2245, allocations: 2.312 kB / 381.6 MB, free: 12.54 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003317/0.2249, allocations: 203.6 kB / 381.8 MB, free: 12.43 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.954e-06/0.2249, allocations: 1.906 kB / 381.8 MB, free: 12.43 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007732/0.2256, allocations: 481.3 kB / 382.2 MB, free: 12.25 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.865e-05/0.2257, allocations: 167.8 kB / 382.4 MB, free: 12.06 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007266/0.2264, allocations: 0.5116 MB / 382.9 MB, free: 11.86 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.552e-05/0.2265, allocations: 33.2 kB / 383 MB, free: 11.83 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.139e-05/0.2265, allocations: 102.9 kB / 383.1 MB, free: 11.74 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.729e-05/0.2266, allocations: 31.81 kB / 383.1 MB, free: 11.73 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001421/0.2267, allocations: 86.98 kB / 383.2 MB, free: 11.7 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.409e-05/0.2268, allocations: 323.3 kB / 383.5 MB, free: 11.39 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001581/0.227, allocations: 56.3 kB / 383.5 MB, free: 11.39 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001626/0.2271, allocations: 75.39 kB / 383.6 MB, free: 11.37 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002997/0.2274, allocations: 348.1 kB / 384 MB, free: 11.06 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.2274, allocations: 3.562 kB / 384 MB, free: 11.06 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005181/0.228, allocations: 396.1 kB / 384.3 MB, free: 10.84 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.13e-05/0.228, allocations: 124.1 kB / 384.5 MB, free: 10.71 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.2281, allocations: 4.547 kB / 384.5 MB, free: 10.71 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.2281, allocations: 0 / 384.5 MB, free: 10.71 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.109e-05/0.2281, allocations: 2.922 kB / 384.5 MB, free: 10.71 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.2281, allocations: 0 / 384.5 MB, free: 10.71 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001379/0.2283, allocations: 11.31 kB / 384.5 MB, free: 10.71 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.759e-05/0.2283, allocations: 62.47 kB / 384.5 MB, free: 10.7 MB / 318.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.000269/0.2286, allocations: 365.5 kB / 384.9 MB, free: 10.41 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.877e-05/0.2287, allocations: 41.59 kB / 384.9 MB, free: 10.39 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.464e-05/0.2288, allocations: 64.2 kB / 385 MB, free: 10.35 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.2288, allocations: 0 / 385 MB, free: 10.35 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-06/0.2288, allocations: 1.125 kB / 385 MB, free: 10.35 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002585/0.229, allocations: 246.6 kB / 385.2 MB, free: 10.17 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.587e-05/0.2291, allocations: 11.97 kB / 385.3 MB, free: 10.16 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.2292, allocations: 9.281 kB / 385.3 MB, free: 10.16 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.871e-05/0.2293, allocations: 32.39 kB / 385.3 MB, free: 10.15 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000569/0.2299, allocations: 0.712 MB / 386 MB, free: 9.59 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000566/0.2305, allocations: 0.6092 MB / 386.6 MB, free: 9.168 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001801/0.2307, allocations: 149.5 kB / 386.8 MB, free: 9.094 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004289/0.2311, allocations: 387 kB / 387.1 MB, free: 8.891 MB / 318.1 MB Notification: Performance of Backend: time 3.4e-07/0.2311, allocations: 0 / 387.1 MB, free: 8.891 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006014/0.2317, allocations: 454 kB / 387.6 MB, free: 8.5 MB / 318.1 MB Notification: Performance of SimCode: time 0.001059/0.2328, allocations: 1.314 MB / 388.9 MB, free: 7.387 MB / 318.1 MB Notification: Performance of Templates: time 0.007274/0.2401, allocations: 4.122 MB / 393 MB, free: 6.891 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/NXFER/NXFER.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches