Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.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.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER") translateModel(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001004/0.001004, allocations: 90.98 kB / 18 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00119/0.00119, allocations: 201.2 kB / 18.93 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.33/1.33, allocations: 227.7 MB / 247.5 MB, free: 11.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002638/0.0002639, allocations: 8 kB / 308.4 MB, free: 0.8516 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09425/0.09453, allocations: 51.52 MB / 359.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.001707/0.09628, allocations: 1.226 MB / 361.1 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001877/0.09819, allocations: 0.8929 MB / 362 MB, free: 11.19 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.932e-05/0.09828, allocations: 4 kB / 362 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 9.075e-05/0.09838, allocations: 7.922 kB / 362 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.013e-05/0.09848, allocations: 15.91 kB / 362.1 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002598/0.09874, allocations: 43.91 kB / 362.1 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001575/0.09891, allocations: 103.8 kB / 362.2 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.09902, allocations: 24.16 kB / 362.2 MB, free: 10.99 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006214/0.09965, allocations: 0.5576 MB / 362.8 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001377/0.0998, allocations: 63.7 kB / 362.8 MB, free: 10.37 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.037e-05/0.09985, allocations: 4 kB / 362.8 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.731e-05/0.09988, allocations: 4 kB / 362.9 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000103/0.09999, allocations: 63.75 kB / 362.9 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000143/0.1001, allocations: 140.8 kB / 363.1 MB, free: 10.15 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002771/0.1004, allocations: 287.3 kB / 363.3 MB, free: 9.871 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1004, allocations: 3.938 kB / 363.3 MB, free: 9.867 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1004, allocations: 0 / 363.3 MB, free: 9.867 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.097e-05/0.1005, allocations: 4 kB / 363.3 MB, free: 9.863 MB / 302.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.0006921/0.1012, allocations: 0.6608 MB / 364 MB, free: 9.129 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.1012, allocations: 8.031 kB / 364 MB, free: 9.121 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.655e-05/0.1013, allocations: 40.47 kB / 364 MB, free: 9.082 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002675/0.1016, allocations: 274.3 kB / 364.3 MB, free: 8.773 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.074e-05/0.1016, allocations: 4.375 kB / 364.3 MB, free: 8.77 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.15e-05/0.1016, allocations: 12.38 kB / 364.3 MB, free: 8.758 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002976/0.1019, allocations: 133.8 kB / 364.5 MB, free: 8.621 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.463e-06/0.102, allocations: 4 kB / 364.5 MB, free: 8.617 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.358e-05/0.102, allocations: 4 kB / 364.5 MB, free: 8.613 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.102, allocations: 0 / 364.5 MB, free: 8.613 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001423/0.1021, allocations: 59.97 kB / 364.5 MB, free: 8.555 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006587/0.1028, allocations: 460.6 kB / 365 MB, free: 8.055 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001843/0.103, allocations: 102.5 kB / 365.1 MB, free: 7.945 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001447/0.1032, allocations: 80.89 kB / 365.2 MB, free: 7.863 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.217e-06/0.1032, allocations: 0 / 365.2 MB, free: 7.863 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003291/0.1035, allocations: 214.6 kB / 365.4 MB, free: 7.629 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.552e-06/0.1035, allocations: 0 / 365.4 MB, free: 7.629 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007915/0.1043, allocations: 480.1 kB / 365.8 MB, free: 7.129 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.492e-05/0.1044, allocations: 162.2 kB / 366 MB, free: 6.934 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006656/0.1051, allocations: 0.5208 MB / 366.5 MB, free: 6.406 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.243e-05/0.1051, allocations: 29.7 kB / 366.5 MB, free: 6.371 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.366e-05/0.1052, allocations: 101 kB / 366.6 MB, free: 6.27 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.303e-05/0.1053, allocations: 35.62 kB / 366.7 MB, free: 6.234 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.673e-05/0.1053, allocations: 21.72 kB / 366.7 MB, free: 6.207 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.1054, allocations: 326.8 kB / 367 MB, free: 5.879 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001232/0.1055, allocations: 55.91 kB / 367.1 MB, free: 5.824 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001791/0.1057, allocations: 77.67 kB / 367.1 MB, free: 5.742 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003192/0.1061, allocations: 346.7 kB / 367.5 MB, free: 5.352 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1061, allocations: 0 / 367.5 MB, free: 5.352 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005224/0.1066, allocations: 388.3 kB / 367.9 MB, free: 4.941 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.157e-05/0.1067, allocations: 122.8 kB / 368 MB, free: 4.797 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.1067, allocations: 4.109 kB / 368 MB, free: 4.793 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.1067, allocations: 3.938 kB / 368 MB, free: 4.789 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.869e-05/0.1067, allocations: 0 / 368 MB, free: 4.789 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.1068, allocations: 0 / 368 MB, free: 4.789 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001566/0.1069, allocations: 24.05 kB / 368 MB, free: 4.766 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.724e-05/0.107, allocations: 63.94 kB / 368.1 MB, free: 4.703 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.0003377/0.1073, allocations: 363.8 kB / 368.4 MB, free: 4.316 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.317e-05/0.1074, allocations: 39.62 kB / 368.5 MB, free: 4.277 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001064/0.1075, allocations: 67.08 kB / 368.5 MB, free: 4.203 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.1075, allocations: 3.938 kB / 368.5 MB, free: 4.199 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.1075, allocations: 0 / 368.5 MB, free: 4.199 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.1075, allocations: 3.984 kB / 368.5 MB, free: 4.195 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009214/0.1085, allocations: 0.825 MB / 369.4 MB, free: 3.289 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.1085, allocations: 0 / 369.4 MB, free: 3.289 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.791e-06/0.1085, allocations: 0 / 369.4 MB, free: 3.289 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.1085, allocations: 0 / 369.4 MB, free: 3.289 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.698e-05/0.1085, allocations: 12 kB / 369.4 MB, free: 3.277 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.1085, allocations: 0 / 369.4 MB, free: 3.277 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.1085, allocations: 3.938 kB / 369.4 MB, free: 3.273 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006955/0.1092, allocations: 0.5446 MB / 369.9 MB, free: 2.688 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002959/0.1096, allocations: 240.5 kB / 370.2 MB, free: 2.434 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.186e-05/0.1096, allocations: 12 kB / 370.2 MB, free: 2.422 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001381/0.1098, allocations: 15.98 kB / 370.2 MB, free: 2.406 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/0.1099, allocations: 27.91 kB / 370.2 MB, free: 2.379 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-05/0.1099, allocations: 63.94 kB / 370.3 MB, free: 2.316 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004494/0.1104, allocations: 378.9 kB / 370.7 MB, free: 1.945 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.1104, allocations: 0 / 370.7 MB, free: 1.945 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002904/0.1107, allocations: 55.84 kB / 370.7 MB, free: 1.891 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.0001438/0.1109, allocations: 118 kB / 370.8 MB, free: 1.766 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005322/0.1114, allocations: 437.5 kB / 371.3 MB, free: 1.289 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1114, allocations: 0 / 371.3 MB, free: 1.289 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003189/0.1117, allocations: 377.6 kB / 371.6 MB, free: 0.8711 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000632/0.1124, allocations: 108 kB / 371.7 MB, free: 0.7734 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1536/0.2659, allocations: 0.8015 MB / 372.5 MB, free: 19.78 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004011/0.2664, allocations: 0.7966 MB / 373.3 MB, free: 19.06 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.492e-05/0.2664, allocations: 11.34 kB / 373.3 MB, free: 19.05 MB / 302.1 MB Notification: Performance of SimCode: time 6.71e-07/0.2664, allocations: 1.156 kB / 373.3 MB, free: 19.05 MB / 302.1 MB Notification: Performance of Templates: time 0.006052/0.2725, allocations: 2.664 MB / 376 MB, free: 18.82 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.makefile (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Digital.Examples.NRXFER.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches