Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.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.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER") translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001191/0.001191, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001124/0.001124, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.368/1.368, allocations: 227.4 MB / 247.5 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001146/0.001146, allocations: 58.81 kB / 308.4 MB, free: 15.92 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1063, allocations: 50.54 MB / 358.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.00278/0.1092, allocations: 1.506 MB / 360.4 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001904/0.1111, allocations: 0.8864 MB / 361.3 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.011e-05/0.1111, allocations: 4 kB / 361.3 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000109/0.1113, allocations: 7.875 kB / 361.3 MB, free: 10.95 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.832e-05/0.1114, allocations: 19.86 kB / 361.3 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002332/0.1116, allocations: 47.88 kB / 361.4 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002024/0.1118, allocations: 147.7 kB / 361.5 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.112, allocations: 28.2 kB / 361.5 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005205/0.1125, allocations: 0.5537 MB / 362.1 MB, free: 10.15 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001226/0.1126, allocations: 71.75 kB / 362.2 MB, free: 10.08 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.947e-05/0.1127, allocations: 8 kB / 362.2 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.871e-05/0.1127, allocations: 12 kB / 362.2 MB, free: 10.06 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.421e-05/0.1128, allocations: 63.7 kB / 362.2 MB, free: 9.996 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001165/0.1129, allocations: 111.2 kB / 362.4 MB, free: 9.887 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003211/0.1132, allocations: 382.6 kB / 362.7 MB, free: 9.512 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1133, allocations: 0 / 362.7 MB, free: 9.512 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1133, allocations: 0 / 362.7 MB, free: 9.512 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.1133, allocations: 0 / 362.7 MB, free: 9.512 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.0007156/0.114, allocations: 0.7305 MB / 363.5 MB, free: 8.707 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.235e-05/0.114, allocations: 8.031 kB / 363.5 MB, free: 8.699 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.138e-05/0.1141, allocations: 36.47 kB / 363.5 MB, free: 8.664 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002801/0.1144, allocations: 270.3 kB / 363.8 MB, free: 8.359 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.238e-05/0.1144, allocations: 12.38 kB / 363.8 MB, free: 8.348 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.639e-05/0.1145, allocations: 4.375 kB / 363.8 MB, free: 8.344 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002969/0.1148, allocations: 137.8 kB / 363.9 MB, free: 8.203 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.1148, allocations: 0 / 363.9 MB, free: 8.203 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.078e-05/0.1148, allocations: 7.938 kB / 363.9 MB, free: 8.195 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.1148, allocations: 4 kB / 363.9 MB, free: 8.191 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001367/0.115, allocations: 55.97 kB / 364 MB, free: 8.137 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006706/0.1156, allocations: 464.5 kB / 364.4 MB, free: 7.633 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001799/0.1158, allocations: 94.55 kB / 364.5 MB, free: 7.531 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001529/0.116, allocations: 88.89 kB / 364.6 MB, free: 7.441 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.077e-06/0.116, allocations: 0 / 364.6 MB, free: 7.441 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003453/0.1164, allocations: 213.6 kB / 364.8 MB, free: 7.211 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.433e-06/0.1164, allocations: 0 / 364.8 MB, free: 7.211 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007939/0.1172, allocations: 471.9 kB / 365.3 MB, free: 6.719 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.414e-05/0.1173, allocations: 166.2 kB / 365.4 MB, free: 6.52 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005978/0.1179, allocations: 0.5169 MB / 366 MB, free: 5.992 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.146e-05/0.1179, allocations: 33.7 kB / 366 MB, free: 5.953 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.781e-05/0.118, allocations: 97.05 kB / 366.1 MB, free: 5.855 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.988e-05/0.118, allocations: 31.62 kB / 366.1 MB, free: 5.824 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001121/0.1182, allocations: 81.42 kB / 366.2 MB, free: 5.738 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.1183, allocations: 334.7 kB / 366.5 MB, free: 5.402 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001319/0.1184, allocations: 55.97 kB / 366.6 MB, free: 5.348 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001338/0.1186, allocations: 77.67 kB / 366.7 MB, free: 5.266 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003374/0.1189, allocations: 347.4 kB / 367 MB, free: 4.871 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.1189, allocations: 0 / 367 MB, free: 4.871 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005426/0.1195, allocations: 391.8 kB / 367.4 MB, free: 4.461 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.993e-05/0.1196, allocations: 130.8 kB / 367.5 MB, free: 4.309 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.1196, allocations: 0 / 367.5 MB, free: 4.309 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.1196, allocations: 3.984 kB / 367.5 MB, free: 4.305 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.978e-05/0.1196, allocations: 0 / 367.5 MB, free: 4.305 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.1196, allocations: 8.031 kB / 367.5 MB, free: 4.297 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001304/0.1198, allocations: 11.98 kB / 367.5 MB, free: 4.285 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.166e-05/0.1198, allocations: 55.94 kB / 367.6 MB, free: 4.23 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.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.0003203/0.1202, allocations: 370.8 kB / 367.9 MB, free: 3.836 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.91e-05/0.1202, allocations: 35.62 kB / 368 MB, free: 3.801 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001044/0.1203, allocations: 67.09 kB / 368 MB, free: 3.727 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1203, allocations: 4 kB / 368.1 MB, free: 3.723 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.1204, allocations: 0 / 368.1 MB, free: 3.723 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.1204, allocations: 112 / 368.1 MB, free: 3.723 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009546/0.1213, allocations: 0.825 MB / 368.9 MB, free: 2.816 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.626e-06/0.1213, allocations: 4 kB / 368.9 MB, free: 2.812 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.044e-06/0.1214, allocations: 3.984 kB / 368.9 MB, free: 2.809 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.1214, allocations: 0 / 368.9 MB, free: 2.809 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.869e-05/0.1214, allocations: 12 kB / 368.9 MB, free: 2.797 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1214, allocations: 0 / 368.9 MB, free: 2.797 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.1214, allocations: 3.938 kB / 368.9 MB, free: 2.793 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000629/0.122, allocations: 0.5446 MB / 369.4 MB, free: 2.207 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003353/0.1224, allocations: 244.4 kB / 369.7 MB, free: 1.949 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.434e-05/0.1225, allocations: 12 kB / 369.7 MB, free: 1.938 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001394/0.1226, allocations: 11.98 kB / 369.7 MB, free: 1.926 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/0.1227, allocations: 31.91 kB / 369.7 MB, free: 1.895 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.989e-05/0.1228, allocations: 55.94 kB / 369.8 MB, free: 1.84 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.00052/0.1233, allocations: 382.9 kB / 370.2 MB, free: 1.469 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1233, allocations: 0 / 370.2 MB, free: 1.469 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003008/0.1236, allocations: 48 kB / 370.2 MB, free: 1.422 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,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.0001496/0.1238, allocations: 123.1 kB / 370.3 MB, free: 1.293 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005052/0.1243, allocations: 437.5 kB / 370.8 MB, free: 0.8164 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1243, allocations: 0 / 370.8 MB, free: 0.8164 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003057/0.1246, allocations: 373.6 kB / 371.1 MB, free: 412 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006027/0.1252, allocations: 122.8 kB / 371.2 MB, free: 304 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1518/0.277, allocations: 0.6494 MB / 371.9 MB, free: 20.61 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003049/0.2773, allocations: 0.7993 MB / 372.7 MB, free: 19.89 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.964e-05/0.2774, allocations: 10.36 kB / 372.7 MB, free: 19.88 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.21e-05/0.2774, allocations: 15.28 kB / 372.7 MB, free: 19.88 MB / 302.1 MB Notification: Performance of SimCode: time 7.61e-07/0.2774, allocations: 3.375 kB / 372.7 MB, free: 19.88 MB / 302.1 MB Notification: Performance of Templates: time 0.008244/0.2857, allocations: 4.664 MB / 377.4 MB, free: 19.45 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.makefile (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/NXFER/NXFER.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches