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.001107/0.001107, allocations: 108.4 kB / 18.4 MB, free: 4.699 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.001171/0.001171, allocations: 190.1 kB / 19.34 MB, free: 3.777 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.526/1.526, 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.001254/0.001254, allocations: 55.92 kB / 329.2 MB, free: 3.316 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1133, allocations: 46.62 MB / 375.8 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.003483/0.1168, allocations: 1.501 MB / 377.3 MB, free: 3.074 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002267/0.1191, allocations: 0.9011 MB / 378.2 MB, free: 2.164 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.699e-05/0.1192, allocations: 0 / 378.2 MB, free: 2.164 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.509e-05/0.1193, allocations: 7.922 kB / 378.2 MB, free: 2.156 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.009e-05/0.1194, allocations: 15.86 kB / 378.3 MB, free: 2.141 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002516/0.1197, allocations: 43.89 kB / 378.3 MB, free: 2.098 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002007/0.1199, allocations: 143.7 kB / 378.4 MB, free: 1.957 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.12, allocations: 28.2 kB / 378.5 MB, free: 1.926 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005998/0.1206, allocations: 0.5693 MB / 379 MB, free: 1.355 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001409/0.1208, allocations: 75.64 kB / 379.1 MB, free: 1.281 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.808e-05/0.1208, allocations: 8 kB / 379.1 MB, free: 1.273 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.975e-05/0.1209, allocations: 12 kB / 379.1 MB, free: 1.262 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001063/0.121, allocations: 59.77 kB / 379.2 MB, free: 1.203 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001354/0.1211, allocations: 115.1 kB / 379.3 MB, free: 1.09 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003739/0.1215, allocations: 374.7 kB / 379.7 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.1215, allocations: 0 / 379.7 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.1215, allocations: 4 kB / 379.7 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.208e-05/0.1215, allocations: 0 / 379.7 MB, free: 0.7188 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.222/0.3435, allocations: 0.7188 MB / 380.4 MB, free: 13.18 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.067e-05/0.3436, allocations: 9.734 kB / 380.4 MB, free: 13.18 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000106/0.3437, allocations: 34 kB / 380.4 MB, free: 13.16 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002892/0.344, allocations: 277.1 kB / 380.7 MB, free: 12.93 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.437e-05/0.3441, allocations: 4.844 kB / 380.7 MB, free: 12.93 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.526e-05/0.3441, allocations: 8.188 kB / 380.7 MB, free: 12.93 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003351/0.3444, allocations: 128.3 kB / 380.8 MB, free: 12.89 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.3445, allocations: 1.594 kB / 380.8 MB, free: 12.89 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.764e-05/0.3445, allocations: 10.91 kB / 380.8 MB, free: 12.89 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.3445, allocations: 1.719 kB / 380.8 MB, free: 12.89 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001491/0.3447, allocations: 56.34 kB / 380.9 MB, free: 12.89 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006454/0.3453, allocations: 467.2 kB / 381.4 MB, free: 12.6 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001846/0.3455, allocations: 95.27 kB / 381.5 MB, free: 12.58 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001534/0.3457, allocations: 87.89 kB / 381.5 MB, free: 12.57 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.227e-05/0.3457, allocations: 2.781 kB / 381.5 MB, free: 12.57 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003926/0.3461, allocations: 207.7 kB / 381.7 MB, free: 12.46 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.613e-06/0.3461, allocations: 0 / 381.7 MB, free: 12.46 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007614/0.3469, allocations: 484.3 kB / 382.2 MB, free: 12.29 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.744e-05/0.347, allocations: 166.2 kB / 382.4 MB, free: 12.1 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007302/0.3477, allocations: 0.5114 MB / 382.9 MB, free: 11.9 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.818e-05/0.3477, allocations: 29.67 kB / 382.9 MB, free: 11.87 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.034e-05/0.3478, allocations: 108.1 kB / 383 MB, free: 11.78 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.859e-05/0.3478, allocations: 35.12 kB / 383.1 MB, free: 11.76 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001622/0.348, allocations: 82 kB / 383.1 MB, free: 11.73 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.666e-05/0.3481, allocations: 322.1 kB / 383.5 MB, free: 11.42 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001735/0.3483, allocations: 56.03 kB / 383.5 MB, free: 11.42 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001723/0.3485, allocations: 76.56 kB / 383.6 MB, free: 11.4 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003405/0.3488, allocations: 356 kB / 383.9 MB, free: 11.09 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.3488, allocations: 2.078 kB / 383.9 MB, free: 11.09 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005568/0.3494, allocations: 386.2 kB / 384.3 MB, free: 10.87 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.73e-05/0.3495, allocations: 128 kB / 384.4 MB, free: 10.74 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.3495, allocations: 0 / 384.4 MB, free: 10.74 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.3495, allocations: 1.828 kB / 384.4 MB, free: 10.74 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.209e-05/0.3495, allocations: 1.094 kB / 384.4 MB, free: 10.74 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.727e-06/0.3496, allocations: 5.938 kB / 384.4 MB, free: 10.73 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001321/0.3497, allocations: 11.94 kB / 384.5 MB, free: 10.73 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.212e-05/0.3498, allocations: 57.94 kB / 384.5 MB, free: 10.73 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.0003234/0.3501, allocations: 363.9 kB / 384.9 MB, free: 10.43 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.209e-05/0.3502, allocations: 43.52 kB / 384.9 MB, free: 10.41 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001188/0.3503, allocations: 65.31 kB / 385 MB, free: 10.38 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.3503, allocations: 1.188 kB / 385 MB, free: 10.38 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.3503, allocations: 0.6094 kB / 385 MB, free: 10.38 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003095/0.3506, allocations: 249.8 kB / 385.2 MB, free: 10.19 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.705e-05/0.3507, allocations: 12.31 kB / 385.2 MB, free: 10.19 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.806e-05/0.3508, allocations: 11.47 kB / 385.2 MB, free: 10.19 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/0.3509, allocations: 29.22 kB / 385.3 MB, free: 10.18 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007027/0.3516, allocations: 0.7088 MB / 386 MB, free: 9.613 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006467/0.3523, allocations: 0.6057 MB / 386.6 MB, free: 9.195 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001964/0.3525, allocations: 145.3 kB / 386.7 MB, free: 9.125 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005186/0.353, allocations: 386.2 kB / 387.1 MB, free: 8.922 MB / 318.1 MB Notification: Performance of Backend: time 4.1e-07/0.353, allocations: 0 / 387.1 MB, free: 8.922 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007062/0.3537, allocations: 451.7 kB / 387.5 MB, free: 8.535 MB / 318.1 MB Notification: Performance of SimCode: time 0.001437/0.3552, allocations: 1.31 MB / 388.9 MB, free: 7.434 MB / 318.1 MB Notification: Performance of Templates: time 0.009697/0.3649, allocations: 4.2 MB / 393.1 MB, free: 6.91 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