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.001396/0.001396, allocations: 117.6 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001267/0.001267, allocations: 204.7 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.435/1.435, allocations: 227.4 MB / 246.9 MB, free: 10.53 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001106/0.001106, allocations: 59.91 kB / 358.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3093/0.3104, allocations: 50.54 MB / 409.2 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.002946/0.3134, allocations: 1.518 MB / 410.8 MB, free: 64 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002198/0.3156, allocations: 0.8795 MB / 411.6 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.918e-05/0.3157, allocations: 0 / 411.6 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001053/0.3158, allocations: 11.86 kB / 411.7 MB, free: 15.17 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.058e-05/0.3159, allocations: 19.86 kB / 411.7 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002579/0.3162, allocations: 51.89 kB / 411.7 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002066/0.3164, allocations: 139.7 kB / 411.9 MB, free: 14.96 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.3165, allocations: 28.2 kB / 411.9 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006031/0.3172, allocations: 0.5732 MB / 412.5 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001486/0.3173, allocations: 67.77 kB / 412.5 MB, free: 14.29 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.813e-05/0.3174, allocations: 8 kB / 412.5 MB, free: 14.28 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.669e-05/0.3174, allocations: 16 kB / 412.6 MB, free: 14.27 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.32e-05/0.3175, allocations: 63.7 kB / 412.6 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001347/0.3177, allocations: 115.2 kB / 412.7 MB, free: 14.09 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000356/0.318, allocations: 374.7 kB / 413.1 MB, free: 13.72 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.3181, allocations: 0 / 413.1 MB, free: 13.72 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3181, allocations: 0 / 413.1 MB, free: 13.72 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.14e-05/0.3181, allocations: 0 / 413.1 MB, free: 13.72 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.0008836/0.319, allocations: 0.7238 MB / 413.8 MB, free: 12.93 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.3191, allocations: 8.031 kB / 413.8 MB, free: 12.92 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.799e-05/0.3192, allocations: 36.56 kB / 413.9 MB, free: 12.89 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003241/0.3195, allocations: 274.3 kB / 414.1 MB, free: 12.58 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.959e-05/0.3195, allocations: 16.38 kB / 414.1 MB, free: 12.56 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.441e-05/0.3196, allocations: 8.375 kB / 414.2 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003521/0.3199, allocations: 133.8 kB / 414.3 MB, free: 12.42 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.507e-06/0.32, allocations: 0 / 414.3 MB, free: 12.42 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.732e-05/0.32, allocations: 4 kB / 414.3 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.076e-05/0.32, allocations: 3.938 kB / 414.3 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001431/0.3202, allocations: 59.91 kB / 414.3 MB, free: 12.35 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006932/0.3209, allocations: 468.4 kB / 414.8 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001975/0.3211, allocations: 98.55 kB / 414.9 MB, free: 11.74 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001487/0.3212, allocations: 80.89 kB / 415 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.077e-05/0.3212, allocations: 0 / 415 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003855/0.3216, allocations: 206.7 kB / 415.2 MB, free: 11.43 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.804e-06/0.3216, allocations: 0 / 415.2 MB, free: 11.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008444/0.3225, allocations: 491.3 kB / 415.7 MB, free: 10.92 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.745e-05/0.3226, allocations: 166.2 kB / 415.8 MB, free: 10.72 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006118/0.3232, allocations: 0.5091 MB / 416.3 MB, free: 10.2 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.963e-05/0.3233, allocations: 37.69 kB / 416.4 MB, free: 10.16 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.648e-05/0.3234, allocations: 93.14 kB / 416.5 MB, free: 10.06 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.892e-05/0.3234, allocations: 23.7 kB / 416.5 MB, free: 10.04 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/0.3235, allocations: 85.33 kB / 416.6 MB, free: 9.949 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.3236, allocations: 330.7 kB / 416.9 MB, free: 9.617 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001285/0.3238, allocations: 63.97 kB / 417 MB, free: 9.555 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001328/0.3239, allocations: 73.67 kB / 417 MB, free: 9.477 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003216/0.3243, allocations: 339.3 kB / 417.4 MB, free: 9.09 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.3243, allocations: 0 / 417.4 MB, free: 9.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005446/0.3248, allocations: 388.4 kB / 417.7 MB, free: 8.68 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.474e-05/0.3249, allocations: 130.8 kB / 417.9 MB, free: 8.527 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.3249, allocations: 0 / 417.9 MB, free: 8.527 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.3249, allocations: 4.031 kB / 417.9 MB, free: 8.523 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.291e-05/0.325, allocations: 0 / 417.9 MB, free: 8.523 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.325, allocations: 4 kB / 417.9 MB, free: 8.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001406/0.3251, allocations: 11.94 kB / 417.9 MB, free: 8.508 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.027e-05/0.3252, allocations: 59.92 kB / 417.9 MB, free: 8.449 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.0003819/0.3256, allocations: 370.7 kB / 418.3 MB, free: 8.055 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.961e-05/0.3257, allocations: 35.53 kB / 418.3 MB, free: 8.02 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001018/0.3258, allocations: 71.09 kB / 418.4 MB, free: 7.945 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.3258, allocations: 4 kB / 418.4 MB, free: 7.941 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.3258, allocations: 0 / 418.4 MB, free: 7.941 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.3258, allocations: 128 / 418.4 MB, free: 7.941 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001032/0.3268, allocations: 0.8212 MB / 419.2 MB, free: 7.039 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.3269, allocations: 112 / 419.2 MB, free: 7.039 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.995e-06/0.3269, allocations: 3.938 kB / 419.2 MB, free: 7.035 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.3269, allocations: 0 / 419.2 MB, free: 7.035 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.086e-05/0.3269, allocations: 19.98 kB / 419.3 MB, free: 7.016 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.3269, allocations: 0 / 419.3 MB, free: 7.016 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.3269, allocations: 3.938 kB / 419.3 MB, free: 7.012 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006429/0.3276, allocations: 0.5444 MB / 419.8 MB, free: 6.43 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003458/0.328, allocations: 244.4 kB / 420 MB, free: 6.172 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.72e-05/0.328, allocations: 12 kB / 420.1 MB, free: 6.16 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001368/0.3282, allocations: 11.98 kB / 420.1 MB, free: 6.148 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/0.3283, allocations: 31.91 kB / 420.1 MB, free: 6.117 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.236e-05/0.3284, allocations: 59.92 kB / 420.2 MB, free: 6.059 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004592/0.3288, allocations: 386.9 kB / 420.5 MB, free: 5.684 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3288, allocations: 4 kB / 420.5 MB, free: 5.68 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003079/0.3291, allocations: 44 kB / 420.6 MB, free: 5.637 MB / 334.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,nXFERGATE.nextstate,nXFERGATE.yy,nXFERGATE.inertialDelaySensitive.x,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.y_old,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,nXFERGATE.yy,nXFERGATE.nextstate,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.t_next,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,nXFERGATE.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.0001642/0.3293, allocations: 115 kB / 420.7 MB, free: 5.516 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005774/0.3299, allocations: 437.5 kB / 421.1 MB, free: 5.039 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.3299, allocations: 0 / 421.1 MB, free: 5.039 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004264/0.3304, allocations: 373.6 kB / 421.5 MB, free: 4.625 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006373/0.331, allocations: 123.2 kB / 421.6 MB, free: 4.512 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001265/0.3323, allocations: 0.6462 MB / 422.3 MB, free: 3.836 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005426/0.3328, allocations: 0.8022 MB / 423.1 MB, free: 3.008 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.566e-05/0.3329, allocations: 8.656 kB / 423.1 MB, free: 3 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.597e-05/0.333, allocations: 11.44 kB / 423.1 MB, free: 2.988 MB / 334.1 MB Notification: Performance of SimCode: time 1.352e-06/0.333, allocations: 0 / 423.1 MB, free: 2.988 MB / 334.1 MB Notification: Performance of Templates: time 0.009136/0.3421, allocations: 4.666 MB / 427.7 MB, free: 14.25 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/NXFER/NXFER.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches