Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.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.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER") translateModel(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 108 kB / 18.37 MB, free: 4.711 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.001156/0.001156, allocations: 188.5 kB / 19.3 MB, free: 3.789 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.438/1.438, allocations: 205.1 MB / 225.2 MB, free: 12.25 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.001229/0.001229, allocations: 47.94 kB / 329.2 MB, free: 3.348 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09734/0.09858, allocations: 46.61 MB / 375.8 MB, free: 4.625 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002473/0.1011, allocations: 1.505 MB / 377.3 MB, free: 3.109 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001835/0.103, allocations: 0.891 MB / 378.2 MB, free: 2.211 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.475e-05/0.103, allocations: 4 kB / 378.2 MB, free: 2.207 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.089e-05/0.1032, allocations: 11.86 kB / 378.2 MB, free: 2.195 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.658e-05/0.1032, allocations: 19.86 kB / 378.2 MB, free: 2.176 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002571/0.1035, allocations: 47.88 kB / 378.2 MB, free: 2.129 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002041/0.1037, allocations: 139.7 kB / 378.4 MB, free: 1.992 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.1038, allocations: 20.23 kB / 378.4 MB, free: 1.969 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005791/0.1044, allocations: 0.5654 MB / 379 MB, free: 1.402 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001534/0.1046, allocations: 71.75 kB / 379 MB, free: 1.332 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.186e-05/0.1046, allocations: 8 kB / 379 MB, free: 1.324 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.151e-05/0.1047, allocations: 12 kB / 379.1 MB, free: 1.312 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.715e-05/0.1048, allocations: 63.7 kB / 379.1 MB, free: 1.25 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001288/0.1049, allocations: 111.2 kB / 379.2 MB, free: 1.141 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003252/0.1052, allocations: 378.6 kB / 379.6 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.1052, allocations: 0 / 379.6 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.1053, allocations: 0 / 379.6 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.628e-06/0.1053, allocations: 7.938 kB / 379.6 MB, free: 0.7617 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.2186/0.3239, allocations: 0.717 MB / 380.3 MB, free: 13.87 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.85e-05/0.324, allocations: 10.12 kB / 380.3 MB, free: 13.87 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001026/0.3241, allocations: 39.25 kB / 380.4 MB, free: 13.86 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003067/0.3244, allocations: 269.8 kB / 380.6 MB, free: 13.62 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.254e-05/0.3244, allocations: 10.25 kB / 380.6 MB, free: 13.62 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.644e-05/0.3245, allocations: 7.219 kB / 380.6 MB, free: 13.62 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003661/0.3249, allocations: 127.1 kB / 380.8 MB, free: 13.59 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.3249, allocations: 1.375 kB / 380.8 MB, free: 13.59 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.648e-05/0.3249, allocations: 12.45 kB / 380.8 MB, free: 13.58 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.3249, allocations: 2.453 kB / 380.8 MB, free: 13.58 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001555/0.3251, allocations: 59.12 kB / 380.8 MB, free: 13.58 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006901/0.3258, allocations: 466.6 kB / 381.3 MB, free: 13.29 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002008/0.326, allocations: 96.09 kB / 381.4 MB, free: 13.25 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001577/0.3262, allocations: 86.84 kB / 381.5 MB, free: 13.21 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.114e-05/0.3262, allocations: 0 / 381.5 MB, free: 13.21 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003754/0.3266, allocations: 206.2 kB / 381.7 MB, free: 13.08 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.412e-06/0.3266, allocations: 1.969 kB / 381.7 MB, free: 13.08 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007793/0.3274, allocations: 483.5 kB / 382.2 MB, free: 12.84 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.65e-05/0.3274, allocations: 168 kB / 382.3 MB, free: 12.64 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007693/0.3282, allocations: 0.5161 MB / 382.8 MB, free: 12.36 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.888e-05/0.3283, allocations: 31.73 kB / 382.9 MB, free: 12.32 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.303e-05/0.3283, allocations: 95.83 kB / 383 MB, free: 12.23 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.14e-05/0.3284, allocations: 34.09 kB / 383 MB, free: 12.21 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001283/0.3285, allocations: 90.12 kB / 383.1 MB, free: 12.16 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.273e-05/0.3286, allocations: 325 kB / 383.4 MB, free: 11.84 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001532/0.3287, allocations: 59.27 kB / 383.5 MB, free: 11.82 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001619/0.3289, allocations: 74 kB / 383.5 MB, free: 11.79 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003212/0.3292, allocations: 344.2 kB / 383.9 MB, free: 11.48 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3292, allocations: 0 / 383.9 MB, free: 11.48 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005429/0.3298, allocations: 388.6 kB / 384.2 MB, free: 11.26 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.026e-05/0.3299, allocations: 127.9 kB / 384.4 MB, free: 11.13 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.3299, allocations: 0 / 384.4 MB, free: 11.13 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.3299, allocations: 4.625 kB / 384.4 MB, free: 11.13 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.281e-05/0.3299, allocations: 1.922 kB / 384.4 MB, free: 11.13 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.3299, allocations: 3.938 kB / 384.4 MB, free: 11.13 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001356/0.3301, allocations: 10.39 kB / 384.4 MB, free: 11.13 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.241e-05/0.3302, allocations: 62.41 kB / 384.4 MB, free: 11.12 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.nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.t_next,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.y_old,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.x,$PRE.nRXFERGATE.inertialDelaySensitive.x,nRXFERGATE.yy,nRXFERGATE.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.0002853/0.3305, allocations: 365.4 kB / 384.8 MB, free: 10.82 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.572e-05/0.3305, allocations: 42.53 kB / 384.8 MB, free: 10.8 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001005/0.3306, allocations: 64.22 kB / 384.9 MB, free: 10.76 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.3307, allocations: 1.812 kB / 384.9 MB, free: 10.76 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.3307, allocations: 1.969 kB / 384.9 MB, free: 10.76 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.3307, allocations: 0 / 384.9 MB, free: 10.76 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009477/0.3316, allocations: 0.8228 MB / 385.7 MB, free: 10.18 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.3316, allocations: 1 kB / 385.7 MB, free: 10.18 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.948e-06/0.3316, allocations: 0 / 385.7 MB, free: 10.18 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.3317, allocations: 1 kB / 385.7 MB, free: 10.18 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.216e-05/0.3317, allocations: 17.72 kB / 385.8 MB, free: 10.18 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.3317, allocations: 2.125 kB / 385.8 MB, free: 10.18 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3317, allocations: 1.219 kB / 385.8 MB, free: 10.18 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005928/0.3323, allocations: 0.5331 MB / 386.3 MB, free: 9.836 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002893/0.3326, allocations: 253.8 kB / 386.5 MB, free: 9.648 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.327e-05/0.3327, allocations: 8.047 kB / 386.5 MB, free: 9.648 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001266/0.3328, allocations: 13.78 kB / 386.6 MB, free: 9.645 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/0.3329, allocations: 25.3 kB / 386.6 MB, free: 9.637 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.164e-05/0.333, allocations: 66.61 kB / 386.7 MB, free: 9.625 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004547/0.3335, allocations: 388.1 kB / 387 MB, free: 9.422 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3335, allocations: 1.375 kB / 387 MB, free: 9.422 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002906/0.3338, allocations: 40.47 kB / 387.1 MB, free: 9.422 MB / 318.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,nRXFERGATE.nextstate,nRXFERGATE.yy,nRXFERGATE.inertialDelaySensitive.x,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.y_old,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,nRXFERGATE.yy,nRXFERGATE.nextstate,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.t_next,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,nRXFERGATE.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.0001397/0.3339, allocations: 122.5 kB / 387.2 MB, free: 9.32 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005219/0.3344, allocations: 440.7 kB / 387.6 MB, free: 8.98 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3344, allocations: 4 kB / 387.6 MB, free: 8.977 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002892/0.3347, allocations: 380.7 kB / 388 MB, free: 8.645 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006284/0.3354, allocations: 120.5 kB / 388.1 MB, free: 8.613 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001143/0.3365, allocations: 0.6981 MB / 388.8 MB, free: 8.199 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003401/0.3369, allocations: 0.8056 MB / 389.6 MB, free: 7.457 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.745e-05/0.3369, allocations: 15.97 kB / 389.6 MB, free: 7.445 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3369, allocations: 4 kB / 389.6 MB, free: 7.441 MB / 318.1 MB Notification: Performance of Templates: time 0.005932/0.3429, allocations: 2.684 MB / 392.3 MB, free: 7.098 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/NRXFER/NRXFER.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches