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.001594/0.001594, allocations: 103.2 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001945/0.001945, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.371/1.371, allocations: 227.4 MB / 246.3 MB, free: 10.75 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001493, allocations: 62.61 kB / 306.3 MB, free: 1.051 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1037, allocations: 50.53 MB / 356.8 MB, free: 14.54 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.003039/0.1068, allocations: 1.58 MB / 358.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001887/0.1087, allocations: 0.9006 MB / 359.3 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.856e-05/0.1088, allocations: 4 kB / 359.3 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001084/0.109, allocations: 11.92 kB / 359.3 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.586e-05/0.1091, allocations: 15.86 kB / 359.3 MB, free: 12 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003249/0.1094, allocations: 51.27 kB / 359.3 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001925/0.1096, allocations: 103.8 kB / 359.4 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.1097, allocations: 20.2 kB / 359.5 MB, free: 11.83 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006186/0.1104, allocations: 0.5576 MB / 360 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001302/0.1105, allocations: 79.69 kB / 360.1 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.745e-05/0.1106, allocations: 4 kB / 360.1 MB, free: 11.19 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.586e-05/0.1106, allocations: 4 kB / 360.1 MB, free: 11.19 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.677e-05/0.1107, allocations: 59.77 kB / 360.2 MB, free: 11.13 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001183/0.1108, allocations: 107.1 kB / 360.3 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003463/0.1112, allocations: 362.6 kB / 360.6 MB, free: 10.67 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1112, allocations: 0 / 360.6 MB, free: 10.67 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.42e-07/0.1112, allocations: 0 / 360.6 MB, free: 10.67 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.767e-06/0.1112, allocations: 0 / 360.6 MB, free: 10.67 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.0008225/0.112, allocations: 0.7231 MB / 361.3 MB, free: 9.871 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.1121, allocations: 12.03 kB / 361.4 MB, free: 9.859 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000109/0.1122, allocations: 40.47 kB / 361.4 MB, free: 9.82 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003303/0.1125, allocations: 274.3 kB / 361.7 MB, free: 9.512 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.706e-05/0.1126, allocations: 8.375 kB / 361.7 MB, free: 9.504 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.11e-05/0.1126, allocations: 8.375 kB / 361.7 MB, free: 9.496 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003568/0.113, allocations: 129.9 kB / 361.8 MB, free: 9.363 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.113, allocations: 0 / 361.8 MB, free: 9.363 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.831e-05/0.113, allocations: 4 kB / 361.8 MB, free: 9.359 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.113, allocations: 0 / 361.8 MB, free: 9.359 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001542/0.1132, allocations: 55.97 kB / 361.9 MB, free: 9.305 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007102/0.1139, allocations: 468.5 kB / 362.3 MB, free: 8.797 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001986/0.1141, allocations: 98.55 kB / 362.4 MB, free: 8.691 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000154/0.1143, allocations: 81 kB / 362.5 MB, free: 8.609 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.107e-06/0.1143, allocations: 3.938 kB / 362.5 MB, free: 8.605 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003577/0.1147, allocations: 222.5 kB / 362.7 MB, free: 8.363 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.874e-06/0.1147, allocations: 0 / 362.7 MB, free: 8.363 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008583/0.1156, allocations: 480.1 kB / 363.2 MB, free: 7.863 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.331e-05/0.1157, allocations: 162.2 kB / 363.4 MB, free: 7.668 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000637/0.1163, allocations: 0.513 MB / 363.9 MB, free: 7.148 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.477e-05/0.1164, allocations: 33.7 kB / 363.9 MB, free: 7.109 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.535e-05/0.1164, allocations: 101 kB / 364 MB, free: 7.008 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.718e-05/0.1165, allocations: 39.56 kB / 364 MB, free: 6.969 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001152/0.1166, allocations: 77.42 kB / 364.1 MB, free: 6.887 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.1167, allocations: 326.8 kB / 364.4 MB, free: 6.559 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000146/0.1169, allocations: 59.97 kB / 364.5 MB, free: 6.5 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001368/0.117, allocations: 77.67 kB / 364.6 MB, free: 6.418 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003112/0.1174, allocations: 339.2 kB / 364.9 MB, free: 6.031 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.1174, allocations: 7.938 kB / 364.9 MB, free: 6.023 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005251/0.1179, allocations: 387.6 kB / 365.3 MB, free: 5.617 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.244e-05/0.118, allocations: 130.8 kB / 365.4 MB, free: 5.465 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.118, allocations: 0 / 365.4 MB, free: 5.465 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.118, allocations: 0 / 365.4 MB, free: 5.465 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.15e-05/0.1181, allocations: 4 kB / 365.4 MB, free: 5.461 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.1181, allocations: 3.938 kB / 365.4 MB, free: 5.457 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001472/0.1182, allocations: 11.98 kB / 365.4 MB, free: 5.445 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.971e-05/0.1183, allocations: 55.94 kB / 365.5 MB, free: 5.391 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.0003365/0.1187, allocations: 375.8 kB / 365.8 MB, free: 4.992 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.518e-05/0.1187, allocations: 35.62 kB / 365.9 MB, free: 4.957 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001041/0.1188, allocations: 67.14 kB / 365.9 MB, free: 4.883 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.1188, allocations: 3.984 kB / 366 MB, free: 4.879 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.1188, allocations: 0 / 366 MB, free: 4.879 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.1189, allocations: 0 / 366 MB, free: 4.879 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009801/0.1198, allocations: 0.821 MB / 366.8 MB, free: 3.977 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.1199, allocations: 3.938 kB / 366.8 MB, free: 3.973 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.382e-06/0.1199, allocations: 7.984 kB / 366.8 MB, free: 3.965 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.1199, allocations: 0 / 366.8 MB, free: 3.965 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.222e-05/0.1199, allocations: 16 kB / 366.8 MB, free: 3.949 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1199, allocations: 0 / 366.8 MB, free: 3.949 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.1199, allocations: 4.125 kB / 366.8 MB, free: 3.945 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006599/0.1206, allocations: 0.5292 MB / 367.3 MB, free: 3.375 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003702/0.121, allocations: 256.4 kB / 367.6 MB, free: 3.105 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.989e-05/0.121, allocations: 8 kB / 367.6 MB, free: 3.098 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001403/0.1212, allocations: 19.97 kB / 367.6 MB, free: 3.078 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.1213, allocations: 31.91 kB / 367.6 MB, free: 3.047 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.436e-05/0.1214, allocations: 55.94 kB / 367.7 MB, free: 2.992 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004389/0.1218, allocations: 382.9 kB / 368.1 MB, free: 2.617 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1218, allocations: 0 / 368.1 MB, free: 2.617 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002921/0.1221, allocations: 43.94 kB / 368.1 MB, free: 2.574 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.0001905/0.1223, allocations: 121.8 kB / 368.2 MB, free: 2.445 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005644/0.1229, allocations: 437.5 kB / 368.7 MB, free: 1.969 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1229, allocations: 0 / 368.7 MB, free: 1.969 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003319/0.1232, allocations: 377.6 kB / 369 MB, free: 1.551 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005778/0.1238, allocations: 112.2 kB / 369.1 MB, free: 1.445 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001145/0.125, allocations: 0.7492 MB / 369.9 MB, free: 0.668 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1571/0.2821, allocations: 0.7969 MB / 370.7 MB, free: 20.23 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.986e-05/0.2823, allocations: 9.562 kB / 370.7 MB, free: 20.23 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.549e-05/0.2823, allocations: 10.88 kB / 370.7 MB, free: 20.22 MB / 302.1 MB Notification: Performance of SimCode: time 6.21e-07/0.2823, allocations: 5.656 kB / 370.7 MB, free: 20.22 MB / 302.1 MB Notification: Performance of Templates: time 0.009546/0.2919, allocations: 4.391 MB / 375.1 MB, free: 19.79 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/NRXFER/NRXFER.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches