Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_Modelica.Electrical.Digital.Examples.NXFER") translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_4.0.0_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.001206/0.001206, allocations: 111.5 kB / 17.06 MB, free: 5.973 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.001315/0.001315, allocations: 200 kB / 18.01 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.518/1.518, allocations: 222.9 MB / 241.7 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00114/0.00114, allocations: 47.92 kB / 351.3 MB, free: 3.281 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3064/0.3075, allocations: 49.44 MB / 400.7 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.002994/0.3106, allocations: 1.507 MB / 402.2 MB, free: 7.363 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002064/0.3127, allocations: 0.8481 MB / 403.1 MB, free: 6.512 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.06e-05/0.3128, allocations: 0 / 403.1 MB, free: 6.512 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001123/0.3129, allocations: 15.86 kB / 403.1 MB, free: 6.496 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001164/0.3131, allocations: 19.86 kB / 403.1 MB, free: 6.477 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003171/0.3134, allocations: 51.88 kB / 403.2 MB, free: 6.426 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000242/0.3136, allocations: 139.8 kB / 403.3 MB, free: 6.289 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.3138, allocations: 28.2 kB / 403.3 MB, free: 6.258 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007008/0.3145, allocations: 0.5848 MB / 403.9 MB, free: 5.672 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001585/0.3147, allocations: 63.77 kB / 404 MB, free: 5.609 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.634e-05/0.3147, allocations: 8 kB / 404 MB, free: 5.602 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.143e-05/0.3148, allocations: 12 kB / 404 MB, free: 5.59 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001053/0.3149, allocations: 63.7 kB / 404.1 MB, free: 5.527 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001352/0.315, allocations: 119.2 kB / 404.2 MB, free: 5.41 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003987/0.3154, allocations: 370.6 kB / 404.5 MB, free: 5.047 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.401e-06/0.3154, allocations: 0 / 404.5 MB, free: 5.047 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3154, allocations: 0 / 404.5 MB, free: 5.047 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.49e-05/0.3155, allocations: 0 / 404.5 MB, free: 5.047 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.0008937/0.3164, allocations: 0.7278 MB / 405.3 MB, free: 4.25 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.3164, allocations: 8.031 kB / 405.3 MB, free: 4.242 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.757e-05/0.3165, allocations: 40.47 kB / 405.3 MB, free: 4.203 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003043/0.3168, allocations: 270.3 kB / 405.6 MB, free: 3.898 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.863e-05/0.3169, allocations: 8.375 kB / 405.6 MB, free: 3.891 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.109e-05/0.3169, allocations: 8.375 kB / 405.6 MB, free: 3.883 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003335/0.3172, allocations: 129.9 kB / 405.7 MB, free: 3.75 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.3173, allocations: 3.938 kB / 405.7 MB, free: 3.746 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.416e-05/0.3173, allocations: 4 kB / 405.7 MB, free: 3.742 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.3173, allocations: 0 / 405.7 MB, free: 3.742 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001561/0.3175, allocations: 59.97 kB / 405.8 MB, free: 3.684 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007766/0.3182, allocations: 464.5 kB / 406.2 MB, free: 3.18 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001955/0.3184, allocations: 98.48 kB / 406.3 MB, free: 3.074 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001611/0.3186, allocations: 85 kB / 406.4 MB, free: 2.988 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.037e-05/0.3186, allocations: 3.938 kB / 406.4 MB, free: 2.984 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000376/0.319, allocations: 218.6 kB / 406.6 MB, free: 2.746 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.683e-06/0.319, allocations: 0 / 406.6 MB, free: 2.746 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008176/0.3199, allocations: 478.6 kB / 407.1 MB, free: 2.25 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001056/0.32, allocations: 166.2 kB / 407.3 MB, free: 2.051 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000675/0.3207, allocations: 0.5129 MB / 407.8 MB, free: 1.523 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.686e-05/0.3207, allocations: 37.69 kB / 407.8 MB, free: 1.48 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.574e-05/0.3208, allocations: 93.14 kB / 407.9 MB, free: 1.387 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.947e-05/0.3208, allocations: 27.7 kB / 407.9 MB, free: 1.359 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001233/0.321, allocations: 89.27 kB / 408 MB, free: 1.266 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.3211, allocations: 330.8 kB / 408.3 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001532/0.3213, allocations: 55.97 kB / 408.4 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001582/0.3215, allocations: 81.61 kB / 408.5 MB, free: 0.793 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004031/0.3219, allocations: 335.3 kB / 408.8 MB, free: 420 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.3219, allocations: 0 / 408.8 MB, free: 420 kB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006435/0.3225, allocations: 388.3 kB / 409.2 MB, free: 0 / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001344/0.3227, allocations: 133.1 kB / 409.3 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.3227, allocations: 0 / 409.3 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/0.3227, allocations: 0 / 409.3 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.87e-05/0.3228, allocations: 4 kB / 409.3 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.3228, allocations: 0 / 409.3 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001541/0.3229, allocations: 11.94 kB / 409.3 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.268e-05/0.323, allocations: 55.98 kB / 409.4 MB, free: 15.78 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.0005461/0.3236, allocations: 374.9 kB / 409.7 MB, free: 15.38 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.47e-05/0.3236, allocations: 39.53 kB / 409.8 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001785/0.3238, allocations: 63.16 kB / 409.9 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.3238, allocations: 0 / 409.9 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.822e-06/0.3238, allocations: 0 / 409.9 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.3239, allocations: 0 / 409.9 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001136/0.325, allocations: 0.8277 MB / 410.7 MB, free: 14.37 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.325, allocations: 0 / 410.7 MB, free: 14.37 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.981e-06/0.325, allocations: 0 / 410.7 MB, free: 14.37 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.325, allocations: 0 / 410.7 MB, free: 14.37 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.004e-05/0.3251, allocations: 19.98 kB / 410.7 MB, free: 14.35 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.3251, allocations: 0 / 410.7 MB, free: 14.35 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.881e-05/0.3251, allocations: 3.938 kB / 410.7 MB, free: 14.35 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007114/0.3258, allocations: 0.5369 MB / 411.2 MB, free: 13.77 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003633/0.3262, allocations: 244.4 kB / 411.5 MB, free: 13.51 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.059e-05/0.3263, allocations: 12 kB / 411.5 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/0.3264, allocations: 11.98 kB / 411.5 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/0.3265, allocations: 27.92 kB / 411.5 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.45e-05/0.3266, allocations: 63.92 kB / 411.6 MB, free: 13.39 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000452/0.3271, allocations: 386.9 kB / 412 MB, free: 13.02 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.3271, allocations: 0 / 412 MB, free: 13.02 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003022/0.3274, allocations: 44 kB / 412 MB, free: 12.98 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.0001542/0.3275, allocations: 127 kB / 412.1 MB, free: 12.84 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005533/0.3281, allocations: 441.5 kB / 412.6 MB, free: 12.36 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.3281, allocations: 0 / 412.6 MB, free: 12.36 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003801/0.3285, allocations: 377.6 kB / 412.9 MB, free: 11.95 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006701/0.3292, allocations: 117.1 kB / 413 MB, free: 11.84 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001215/0.3304, allocations: 0.642 MB / 413.7 MB, free: 11.17 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004631/0.3309, allocations: 0.8136 MB / 414.5 MB, free: 10.33 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.707e-05/0.331, allocations: 8.656 kB / 414.5 MB, free: 10.32 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.335e-05/0.331, allocations: 11.44 kB / 414.5 MB, free: 10.31 MB / 334.1 MB Notification: Performance of SimCode: time 2.7e-07/0.331, allocations: 4 kB / 414.5 MB, free: 10.31 MB / 334.1 MB Notification: Performance of Templates: time 0.007957/0.339, allocations: 4.663 MB / 419.2 MB, free: 5.586 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches