Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.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.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER") translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001311/0.00131, allocations: 114.4 kB / 17.69 MB, free: 5.312 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.001121/0.001121, allocations: 191 kB / 18.63 MB, free: 4.379 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.359/1.359, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001035/0.001035, allocations: 53.08 kB / 302.1 MB, free: 5.199 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09482/0.09587, allocations: 49.46 MB / 351.5 MB, free: 3.719 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.002394/0.09829, allocations: 1.493 MB / 353 MB, free: 2.215 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001632/0.09994, allocations: 0.8473 MB / 353.9 MB, free: 1.363 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.487e-05/0.1, allocations: 4 kB / 353.9 MB, free: 1.359 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 8.283e-05/0.1001, allocations: 11.86 kB / 353.9 MB, free: 1.348 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 6.679e-05/0.1002, allocations: 19.84 kB / 353.9 MB, free: 1.328 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002341/0.1004, allocations: 55.88 kB / 353.9 MB, free: 1.273 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001797/0.1006, allocations: 139.7 kB / 354.1 MB, free: 1.137 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.1007, allocations: 16.23 kB / 354.1 MB, free: 1.117 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005211/0.1012, allocations: 0.5654 MB / 354.7 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001228/0.1014, allocations: 75.7 kB / 354.7 MB, free: 488 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.592e-05/0.1014, allocations: 8 kB / 354.7 MB, free: 480 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.808e-05/0.1015, allocations: 12 kB / 354.8 MB, free: 468 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.856e-05/0.1015, allocations: 59.7 kB / 354.8 MB, free: 408 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001212/0.1017, allocations: 119.2 kB / 354.9 MB, free: 288 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000315/0.102, allocations: 378.6 kB / 355.3 MB, free: 15.91 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.102, allocations: 0 / 355.3 MB, free: 15.91 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.102, allocations: 0 / 355.3 MB, free: 15.91 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.29e-05/0.102, allocations: 0 / 355.3 MB, free: 15.91 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.0006603/0.1027, allocations: 0.7189 MB / 356 MB, free: 15.12 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.047e-05/0.1027, allocations: 8.031 kB / 356 MB, free: 15.11 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.567e-05/0.1028, allocations: 36.47 kB / 356.1 MB, free: 15.07 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002737/0.1031, allocations: 282.2 kB / 356.3 MB, free: 14.76 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.116e-05/0.1031, allocations: 8.375 kB / 356.3 MB, free: 14.75 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.756e-05/0.1031, allocations: 4.375 kB / 356.3 MB, free: 14.75 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002697/0.1034, allocations: 133.9 kB / 356.5 MB, free: 14.61 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.1034, allocations: 0 / 356.5 MB, free: 14.61 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.27e-05/0.1035, allocations: 8 kB / 356.5 MB, free: 14.6 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.1035, allocations: 4 kB / 356.5 MB, free: 14.6 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001373/0.1036, allocations: 59.91 kB / 356.5 MB, free: 14.54 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006408/0.1043, allocations: 460.6 kB / 357 MB, free: 14.04 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001726/0.1045, allocations: 94.55 kB / 357.1 MB, free: 13.94 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001413/0.1046, allocations: 88.83 kB / 357.2 MB, free: 13.85 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.33e-06/0.1046, allocations: 4 kB / 357.2 MB, free: 13.84 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002896/0.1049, allocations: 214.6 kB / 357.4 MB, free: 13.61 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.653e-06/0.1049, allocations: 0 / 357.4 MB, free: 13.61 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007688/0.1057, allocations: 471.9 kB / 357.9 MB, free: 13.12 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.161e-05/0.1058, allocations: 170.2 kB / 358 MB, free: 12.91 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005857/0.1064, allocations: 0.513 MB / 358.5 MB, free: 12.39 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.729e-05/0.1064, allocations: 29.7 kB / 358.6 MB, free: 12.36 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.133e-05/0.1065, allocations: 101 kB / 358.7 MB, free: 12.25 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.539e-05/0.1065, allocations: 31.64 kB / 358.7 MB, free: 12.22 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/0.1066, allocations: 85.42 kB / 358.8 MB, free: 12.13 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.364e-05/0.1067, allocations: 326.8 kB / 359.1 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001224/0.1069, allocations: 55.97 kB / 359.1 MB, free: 11.75 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000134/0.107, allocations: 77.67 kB / 359.2 MB, free: 11.67 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003008/0.1073, allocations: 346.4 kB / 359.6 MB, free: 11.28 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1073, allocations: 0 / 359.6 MB, free: 11.28 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005092/0.1079, allocations: 392.4 kB / 359.9 MB, free: 10.86 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.315e-05/0.1079, allocations: 126.8 kB / 360.1 MB, free: 10.71 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.1079, allocations: 0 / 360.1 MB, free: 10.71 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.108, allocations: 0 / 360.1 MB, free: 10.71 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.632e-05/0.108, allocations: 128 / 360.1 MB, free: 10.71 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.108, allocations: 0 / 360.1 MB, free: 10.71 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000127/0.1081, allocations: 23.94 kB / 360.1 MB, free: 10.69 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.513e-05/0.1082, allocations: 59.92 kB / 360.2 MB, free: 10.63 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.000315/0.1085, allocations: 362.8 kB / 360.5 MB, free: 10.25 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.803e-05/0.1086, allocations: 39.56 kB / 360.5 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.95e-05/0.1087, allocations: 67.14 kB / 360.6 MB, free: 10.13 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.1087, allocations: 4 kB / 360.6 MB, free: 10.13 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1087, allocations: 0 / 360.6 MB, free: 10.13 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.1087, allocations: 3.984 kB / 360.6 MB, free: 10.12 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009123/0.1096, allocations: 0.8212 MB / 361.4 MB, free: 9.223 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.1096, allocations: 0 / 361.4 MB, free: 9.223 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.138e-06/0.1097, allocations: 4 kB / 361.4 MB, free: 9.219 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1097, allocations: 0 / 361.4 MB, free: 9.219 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.72e-05/0.1097, allocations: 11.98 kB / 361.5 MB, free: 9.207 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.1097, allocations: 4 kB / 361.5 MB, free: 9.203 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.1097, allocations: 3.938 kB / 361.5 MB, free: 9.199 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000618/0.1103, allocations: 0.5407 MB / 362 MB, free: 8.617 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003165/0.1107, allocations: 244.5 kB / 362.2 MB, free: 8.359 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.328e-05/0.1107, allocations: 12 kB / 362.3 MB, free: 8.348 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000138/0.1109, allocations: 11.98 kB / 362.3 MB, free: 8.336 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.214e-05/0.111, allocations: 31.86 kB / 362.3 MB, free: 8.305 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.161e-05/0.111, allocations: 59.98 kB / 362.4 MB, free: 8.246 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004228/0.1115, allocations: 382.9 kB / 362.7 MB, free: 7.875 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1115, allocations: 3.938 kB / 362.7 MB, free: 7.871 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002829/0.1118, allocations: 47.91 kB / 362.8 MB, free: 7.824 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.000115/0.1119, allocations: 123.1 kB / 362.9 MB, free: 7.695 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004803/0.1124, allocations: 437.5 kB / 363.3 MB, free: 7.219 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.1124, allocations: 0 / 363.3 MB, free: 7.219 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003064/0.1127, allocations: 373.5 kB / 363.7 MB, free: 6.805 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006743/0.1134, allocations: 119.4 kB / 363.8 MB, free: 6.695 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009546/0.1143, allocations: 0.6497 MB / 364.5 MB, free: 6.023 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003827/0.1147, allocations: 0.8138 MB / 365.3 MB, free: 5.184 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.188e-05/0.1148, allocations: 4.672 kB / 365.3 MB, free: 5.18 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.801e-05/0.1148, allocations: 11.44 kB / 365.3 MB, free: 5.168 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1148, allocations: 0 / 365.3 MB, free: 5.168 MB / 302.1 MB Notification: Performance of Templates: time 0.007103/0.1219, allocations: 4.666 MB / 370 MB, free: 460 kB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Digital.Examples.NXFER.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches