Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 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.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER") translateModel(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_4.0.0_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.001176/0.001176, allocations: 105 kB / 17.59 MB, free: 5.418 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.001189/0.001189, allocations: 191.3 kB / 18.51 MB, free: 4.5 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.351/1.351, allocations: 222.9 MB / 242.2 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001056/0.001056, allocations: 47.5 kB / 301.3 MB, free: 5.871 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08195/0.08302, allocations: 49.45 MB / 350.7 MB, free: 4.414 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.00273/0.0858, allocations: 1.493 MB / 352.2 MB, free: 2.902 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001791/0.08762, allocations: 0.859 MB / 353.1 MB, free: 2.039 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.1e-05/0.08772, allocations: 4 kB / 353.1 MB, free: 2.035 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 9.169e-05/0.08785, allocations: 3.938 kB / 353.1 MB, free: 2.031 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.965e-05/0.08795, allocations: 23.78 kB / 353.1 MB, free: 2.008 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002538/0.08821, allocations: 47.89 kB / 353.2 MB, free: 1.961 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001944/0.08841, allocations: 139.7 kB / 353.3 MB, free: 1.824 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.08853, allocations: 24.22 kB / 353.3 MB, free: 1.797 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005272/0.08907, allocations: 0.5576 MB / 353.9 MB, free: 1.238 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001458/0.08922, allocations: 71.77 kB / 353.9 MB, free: 1.168 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.353e-05/0.08929, allocations: 8 kB / 354 MB, free: 1.16 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.102e-05/0.08933, allocations: 15.94 kB / 354 MB, free: 1.145 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.306e-05/0.08943, allocations: 59.75 kB / 354 MB, free: 1.086 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00013/0.08957, allocations: 115.2 kB / 354.1 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003356/0.08991, allocations: 370.6 kB / 354.5 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.08993, allocations: 4 kB / 354.5 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.08994, allocations: 0 / 354.5 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.219e-05/0.08995, allocations: 0 / 354.5 MB, free: 0.6055 MB / 286.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.0007791/0.09074, allocations: 0.7269 MB / 355.2 MB, free: 15.8 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.09078, allocations: 8.031 kB / 355.2 MB, free: 15.8 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.119e-05/0.09087, allocations: 44.45 kB / 355.3 MB, free: 15.75 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002657/0.09114, allocations: 270.3 kB / 355.6 MB, free: 15.45 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.284e-05/0.09117, allocations: 8.359 kB / 355.6 MB, free: 15.44 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.903e-05/0.09121, allocations: 8.375 kB / 355.6 MB, free: 15.43 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000321/0.09154, allocations: 133.9 kB / 355.7 MB, free: 15.3 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.09156, allocations: 3.938 kB / 355.7 MB, free: 15.29 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.739e-05/0.09159, allocations: 8 kB / 355.7 MB, free: 15.29 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.0916, allocations: 0 / 355.7 MB, free: 15.29 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001484/0.09176, allocations: 59.95 kB / 355.8 MB, free: 15.23 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006261/0.09239, allocations: 460.6 kB / 356.2 MB, free: 14.73 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001818/0.09259, allocations: 98.48 kB / 356.3 MB, free: 14.62 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001492/0.09274, allocations: 84.89 kB / 356.4 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.638e-06/0.09276, allocations: 0 / 356.4 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003512/0.09312, allocations: 202.7 kB / 356.6 MB, free: 14.31 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.533e-06/0.09313, allocations: 0 / 356.6 MB, free: 14.31 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007874/0.09393, allocations: 484 kB / 357.1 MB, free: 13.81 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.22e-05/0.09403, allocations: 170.2 kB / 357.2 MB, free: 13.61 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005998/0.09464, allocations: 0.5169 MB / 357.8 MB, free: 13.08 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.962e-05/0.09468, allocations: 29.7 kB / 357.8 MB, free: 13.04 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.648e-05/0.09475, allocations: 101.1 kB / 357.9 MB, free: 12.94 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.327e-05/0.0948, allocations: 35.58 kB / 357.9 MB, free: 12.91 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001113/0.09491, allocations: 85.41 kB / 358 MB, free: 12.82 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.09502, allocations: 326.8 kB / 358.3 MB, free: 12.49 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001347/0.09516, allocations: 55.97 kB / 358.4 MB, free: 12.43 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001495/0.09532, allocations: 81.62 kB / 358.5 MB, free: 12.35 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003374/0.09567, allocations: 346.5 kB / 358.8 MB, free: 11.96 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.09568, allocations: 3.938 kB / 358.8 MB, free: 11.95 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005443/0.09623, allocations: 384.3 kB / 359.2 MB, free: 11.55 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.132e-05/0.09632, allocations: 122.8 kB / 359.3 MB, free: 11.4 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.09634, allocations: 0 / 359.3 MB, free: 11.4 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.09635, allocations: 0 / 359.3 MB, free: 11.4 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.246e-05/0.09639, allocations: 12.02 kB / 359.3 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.0964, allocations: 0 / 359.3 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001424/0.09654, allocations: 11.91 kB / 359.3 MB, free: 11.38 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.561e-05/0.09662, allocations: 59.94 kB / 359.4 MB, free: 11.32 MB / 302.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.0003329/0.09696, allocations: 358.8 kB / 359.7 MB, free: 10.94 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.741e-05/0.09702, allocations: 43.61 kB / 359.8 MB, free: 10.89 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001018/0.09713, allocations: 59.16 kB / 359.8 MB, free: 10.83 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.09714, allocations: 0 / 359.8 MB, free: 10.83 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.09715, allocations: 4 kB / 359.8 MB, free: 10.82 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.09716, allocations: 0 / 359.8 MB, free: 10.82 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009411/0.09811, allocations: 0.829 MB / 360.7 MB, free: 9.914 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.09812, allocations: 0 / 360.7 MB, free: 9.914 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.201e-06/0.09813, allocations: 0 / 360.7 MB, free: 9.914 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.09814, allocations: 192 / 360.7 MB, free: 9.914 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.54e-05/0.09818, allocations: 19.98 kB / 360.7 MB, free: 9.895 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.09819, allocations: 0 / 360.7 MB, free: 9.895 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.0982, allocations: 3.938 kB / 360.7 MB, free: 9.891 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006116/0.09881, allocations: 0.5445 MB / 361.2 MB, free: 9.305 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002848/0.09911, allocations: 240.5 kB / 361.5 MB, free: 9.051 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.867e-05/0.09917, allocations: 8 kB / 361.5 MB, free: 9.043 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001493/0.09933, allocations: 11.98 kB / 361.5 MB, free: 9.031 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/0.09944, allocations: 31.91 kB / 361.5 MB, free: 9 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.173e-05/0.09951, allocations: 59.98 kB / 361.6 MB, free: 8.941 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000445/0.09996, allocations: 386.9 kB / 361.9 MB, free: 8.566 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.063e-06/0.09997, allocations: 0 / 361.9 MB, free: 8.566 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003015/0.1003, allocations: 51.84 kB / 362 MB, free: 8.516 MB / 302.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.0001407/0.1004, allocations: 117.8 kB / 362.1 MB, free: 8.395 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005261/0.101, allocations: 437.5 kB / 362.5 MB, free: 7.918 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.101, allocations: 0 / 362.5 MB, free: 7.918 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003214/0.1013, allocations: 381.6 kB / 362.9 MB, free: 7.496 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006112/0.1019, allocations: 123.2 kB / 363 MB, free: 7.383 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001092/0.103, allocations: 0.6983 MB / 363.7 MB, free: 6.656 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004174/0.1035, allocations: 0.8099 MB / 364.5 MB, free: 5.82 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.45e-05/0.1035, allocations: 11.44 kB / 364.5 MB, free: 5.809 MB / 302.1 MB Notification: Performance of SimCode: time 9.42e-07/0.1035, allocations: 0 / 364.5 MB, free: 5.809 MB / 302.1 MB Notification: Performance of Templates: time 0.004536/0.108, allocations: 2.695 MB / 367.2 MB, free: 3.062 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/NRXFER/NRXFER.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches