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.001537/0.001538, allocations: 117.2 kB / 17.79 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002131/0.002131, allocations: 199.8 kB / 18.73 MB, free: 4.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.454/1.454, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 59.91 kB / 358.7 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3121/0.3133, allocations: 50.54 MB / 409.2 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.002728/0.316, allocations: 1.51 MB / 410.8 MB, free: 88 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00194/0.318, allocations: 0.8873 MB / 411.6 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.687e-05/0.3181, allocations: 0 / 411.6 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.923e-05/0.3182, allocations: 15.86 kB / 411.7 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.094e-05/0.3183, allocations: 19.86 kB / 411.7 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002592/0.3186, allocations: 51.88 kB / 411.7 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002145/0.3188, allocations: 135.7 kB / 411.9 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.3189, allocations: 24.22 kB / 411.9 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005661/0.3195, allocations: 0.5771 MB / 412.5 MB, free: 14.37 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001398/0.3196, allocations: 67.7 kB / 412.5 MB, free: 14.3 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.909e-05/0.3197, allocations: 12 kB / 412.5 MB, free: 14.29 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.736e-05/0.3197, allocations: 8 kB / 412.5 MB, free: 14.28 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.626e-05/0.3198, allocations: 71.75 kB / 412.6 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001281/0.32, allocations: 119.1 kB / 412.7 MB, free: 14.09 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003653/0.3203, allocations: 370.7 kB / 413.1 MB, free: 13.73 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.3203, allocations: 4 kB / 413.1 MB, free: 13.73 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3203, allocations: 0 / 413.1 MB, free: 13.73 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.845e-06/0.3204, allocations: 0 / 413.1 MB, free: 13.73 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.0007929/0.3212, allocations: 0.7121 MB / 413.8 MB, free: 12.95 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.3212, allocations: 12.03 kB / 413.8 MB, free: 12.93 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001034/0.3213, allocations: 36.56 kB / 413.9 MB, free: 12.9 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003113/0.3216, allocations: 274.3 kB / 414.1 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.431e-05/0.3217, allocations: 12.38 kB / 414.1 MB, free: 12.58 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.871e-05/0.3217, allocations: 8.375 kB / 414.1 MB, free: 12.57 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003337/0.322, allocations: 129.9 kB / 414.3 MB, free: 12.44 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.3221, allocations: 0 / 414.3 MB, free: 12.44 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.542e-05/0.3221, allocations: 4 kB / 414.3 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.84e-06/0.3221, allocations: 3.938 kB / 414.3 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001519/0.3223, allocations: 63.95 kB / 414.3 MB, free: 12.37 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006965/0.323, allocations: 468.4 kB / 414.8 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002185/0.3232, allocations: 94.55 kB / 414.9 MB, free: 11.76 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001822/0.3234, allocations: 84.88 kB / 415 MB, free: 11.67 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.042e-05/0.3234, allocations: 0 / 415 MB, free: 11.67 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003647/0.3238, allocations: 210.2 kB / 415.2 MB, free: 11.45 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 2.094e-06/0.3238, allocations: 0 / 415.2 MB, free: 11.45 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008223/0.3246, allocations: 483.9 kB / 415.7 MB, free: 10.94 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.322e-05/0.3247, allocations: 170.1 kB / 415.8 MB, free: 10.74 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006132/0.3254, allocations: 0.513 MB / 416.3 MB, free: 10.21 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.081e-05/0.3254, allocations: 33.7 kB / 416.4 MB, free: 10.17 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.896e-05/0.3255, allocations: 97.12 kB / 416.5 MB, free: 10.07 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.694e-05/0.3255, allocations: 27.66 kB / 416.5 MB, free: 10.05 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000112/0.3257, allocations: 85.31 kB / 416.6 MB, free: 9.957 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.3258, allocations: 326.8 kB / 416.9 MB, free: 9.629 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/0.3259, allocations: 59.97 kB / 416.9 MB, free: 9.57 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001809/0.3261, allocations: 77.67 kB / 417 MB, free: 9.488 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003309/0.3264, allocations: 339.3 kB / 417.4 MB, free: 9.102 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.3264, allocations: 3.938 kB / 417.4 MB, free: 9.098 MB / 334.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005168/0.327, allocations: 380.5 kB / 417.7 MB, free: 8.695 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.195e-05/0.3271, allocations: 130.8 kB / 417.9 MB, free: 8.543 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.3271, allocations: 0 / 417.9 MB, free: 8.543 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.3271, allocations: 8.031 kB / 417.9 MB, free: 8.535 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.037e-05/0.3271, allocations: 0 / 417.9 MB, free: 8.535 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.3271, allocations: 0 / 417.9 MB, free: 8.535 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000132/0.3273, allocations: 19.86 kB / 417.9 MB, free: 8.516 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.409e-05/0.3273, allocations: 55.94 kB / 417.9 MB, free: 8.461 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.0003091/0.3277, allocations: 374.8 kB / 418.3 MB, free: 8.062 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.66e-05/0.3277, allocations: 39.53 kB / 418.3 MB, free: 8.023 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.24e-05/0.3278, allocations: 63.16 kB / 418.4 MB, free: 7.957 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.3278, allocations: 0 / 418.4 MB, free: 7.957 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.3278, allocations: 7.984 kB / 418.4 MB, free: 7.949 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.3278, allocations: 4 kB / 418.4 MB, free: 7.945 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009224/0.3288, allocations: 0.8208 MB / 419.2 MB, free: 7.047 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3288, allocations: 3.938 kB / 419.2 MB, free: 7.043 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.591e-06/0.3288, allocations: 3.938 kB / 419.2 MB, free: 7.039 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.3288, allocations: 0 / 419.2 MB, free: 7.039 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.634e-05/0.3288, allocations: 12 kB / 419.3 MB, free: 7.027 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.3288, allocations: 0 / 419.3 MB, free: 7.027 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.3288, allocations: 3.938 kB / 419.3 MB, free: 7.023 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007555/0.3296, allocations: 0.5369 MB / 419.8 MB, free: 6.445 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002781/0.3299, allocations: 244.5 kB / 420 MB, free: 6.188 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.299e-05/0.33, allocations: 12 kB / 420 MB, free: 6.176 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000128/0.3301, allocations: 7.984 kB / 420.1 MB, free: 6.168 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.3302, allocations: 31.91 kB / 420.1 MB, free: 6.137 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.808e-05/0.3303, allocations: 55.94 kB / 420.1 MB, free: 6.082 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004383/0.3307, allocations: 390.9 kB / 420.5 MB, free: 5.703 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3307, allocations: 0 / 420.5 MB, free: 5.703 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002872/0.331, allocations: 48 kB / 420.6 MB, free: 5.656 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.0001306/0.3312, allocations: 119.1 kB / 420.7 MB, free: 5.531 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005012/0.3317, allocations: 437.5 kB / 421.1 MB, free: 5.055 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.3317, allocations: 0 / 421.1 MB, free: 5.055 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003106/0.332, allocations: 381.6 kB / 421.5 MB, free: 4.633 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006055/0.3326, allocations: 121.5 kB / 421.6 MB, free: 4.527 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001034/0.3337, allocations: 0.6576 MB / 422.3 MB, free: 3.84 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004051/0.3341, allocations: 0.7983 MB / 423.1 MB, free: 3.016 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.676e-05/0.3341, allocations: 8.656 kB / 423.1 MB, free: 3.008 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.503e-05/0.3342, allocations: 11.44 kB / 423.1 MB, free: 2.996 MB / 334.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3342, allocations: 0 / 423.1 MB, free: 2.996 MB / 334.1 MB Notification: Performance of Templates: time 0.007884/0.3421, allocations: 4.67 MB / 427.8 MB, free: 14.26 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