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.001122/0.001122, allocations: 103.2 kB / 17.59 MB, free: 5.43 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.001081/0.001081, allocations: 191.3 kB / 18.52 MB, free: 4.508 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.356/1.356, allocations: 222.9 MB / 242.2 MB, free: 15.27 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009717/0.0009718, allocations: 47.36 kB / 301.3 MB, free: 5.895 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08732/0.08831, allocations: 49.44 MB / 350.7 MB, free: 4.441 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.002641/0.09099, allocations: 1.501 MB / 352.2 MB, free: 2.926 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001868/0.09289, allocations: 0.859 MB / 353.1 MB, free: 2.062 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.899e-05/0.09296, allocations: 0 / 353.1 MB, free: 2.062 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 7.321e-05/0.09307, allocations: 15.86 kB / 353.1 MB, free: 2.047 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 6.271e-05/0.09314, allocations: 11.88 kB / 353.1 MB, free: 2.035 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002095/0.09336, allocations: 51.88 kB / 353.2 MB, free: 1.984 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001825/0.09355, allocations: 139.8 kB / 353.3 MB, free: 1.848 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.578e-05/0.09365, allocations: 28.14 kB / 353.3 MB, free: 1.816 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005188/0.09418, allocations: 0.5537 MB / 353.9 MB, free: 1.262 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001258/0.09431, allocations: 79.69 kB / 354 MB, free: 1.184 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.928e-05/0.09436, allocations: 8 kB / 354 MB, free: 1.176 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.554e-05/0.0944, allocations: 8 kB / 354 MB, free: 1.168 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.531e-05/0.09448, allocations: 63.77 kB / 354 MB, free: 1.105 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001123/0.0946, allocations: 119.1 kB / 354.1 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003328/0.09494, allocations: 370.6 kB / 354.5 MB, free: 0.625 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.09495, allocations: 0 / 354.5 MB, free: 0.625 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.09496, allocations: 0 / 354.5 MB, free: 0.625 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.09497, allocations: 0 / 354.5 MB, free: 0.625 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.0007009/0.09568, allocations: 0.7177 MB / 355.2 MB, free: 15.84 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.09572, allocations: 16.03 kB / 355.2 MB, free: 15.82 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.923e-05/0.09581, allocations: 40.47 kB / 355.3 MB, free: 15.78 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002848/0.0961, allocations: 278.3 kB / 355.6 MB, free: 15.47 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.962e-05/0.09613, allocations: 4.375 kB / 355.6 MB, free: 15.46 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.683e-05/0.09616, allocations: 12.38 kB / 355.6 MB, free: 15.45 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002979/0.09647, allocations: 129.9 kB / 355.7 MB, free: 15.32 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.09649, allocations: 0 / 355.7 MB, free: 15.32 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.257e-05/0.09651, allocations: 4 kB / 355.7 MB, free: 15.32 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.09653, allocations: 4 kB / 355.7 MB, free: 15.31 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001386/0.09667, allocations: 55.97 kB / 355.8 MB, free: 15.26 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006081/0.09729, allocations: 464.5 kB / 356.2 MB, free: 14.75 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000188/0.09749, allocations: 106.5 kB / 356.3 MB, free: 14.64 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001446/0.09764, allocations: 80.89 kB / 356.4 MB, free: 14.56 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.324e-06/0.09766, allocations: 4 kB / 356.4 MB, free: 14.55 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003479/0.09801, allocations: 213.5 kB / 356.6 MB, free: 14.32 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.603e-06/0.09803, allocations: 0 / 356.6 MB, free: 14.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007635/0.09879, allocations: 476 kB / 357.1 MB, free: 13.83 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.456e-05/0.09889, allocations: 166.2 kB / 357.2 MB, free: 13.63 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005793/0.09948, allocations: 0.513 MB / 357.7 MB, free: 13.11 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.199e-05/0.09952, allocations: 33.69 kB / 357.8 MB, free: 13.07 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.655e-05/0.09959, allocations: 105.2 kB / 357.9 MB, free: 12.96 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.271e-05/0.09964, allocations: 39.5 kB / 357.9 MB, free: 12.92 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001092/0.09975, allocations: 81.42 kB / 358 MB, free: 12.84 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.09989, allocations: 326.8 kB / 358.3 MB, free: 12.51 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001294/0.1, allocations: 55.97 kB / 358.4 MB, free: 12.45 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001421/0.1002, allocations: 77.66 kB / 358.5 MB, free: 12.37 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003339/0.1005, allocations: 347.3 kB / 358.8 MB, free: 11.98 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.1005, allocations: 0 / 358.8 MB, free: 11.98 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005258/0.1011, allocations: 387.6 kB / 359.2 MB, free: 11.57 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.433e-05/0.1011, allocations: 126.8 kB / 359.3 MB, free: 11.42 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.1012, allocations: 0 / 359.3 MB, free: 11.42 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.1012, allocations: 0 / 359.3 MB, free: 11.42 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.772e-05/0.1012, allocations: 0 / 359.3 MB, free: 11.42 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.1012, allocations: 4 kB / 359.3 MB, free: 11.42 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001341/0.1013, allocations: 15.91 kB / 359.3 MB, free: 11.4 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.817e-05/0.1014, allocations: 63.86 kB / 359.4 MB, free: 11.34 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.0003104/0.1017, allocations: 362.9 kB / 359.7 MB, free: 10.95 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.689e-05/0.1018, allocations: 39.62 kB / 359.8 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.531e-05/0.1019, allocations: 67.16 kB / 359.8 MB, free: 10.84 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.1019, allocations: 0 / 359.8 MB, free: 10.84 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.1019, allocations: 0 / 359.8 MB, free: 10.84 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.1019, allocations: 0 / 359.8 MB, free: 10.84 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009299/0.1029, allocations: 0.8173 MB / 360.7 MB, free: 9.941 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.1029, allocations: 0 / 360.7 MB, free: 9.941 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.003e-06/0.1029, allocations: 7.938 kB / 360.7 MB, free: 9.934 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.1029, allocations: 0 / 360.7 MB, free: 9.934 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.952e-05/0.1029, allocations: 19.98 kB / 360.7 MB, free: 9.914 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.1029, allocations: 0 / 360.7 MB, free: 9.914 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.103, allocations: 3.938 kB / 360.7 MB, free: 9.91 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006288/0.1036, allocations: 0.5367 MB / 361.2 MB, free: 9.332 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003049/0.1039, allocations: 240.5 kB / 361.5 MB, free: 9.078 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.69e-05/0.104, allocations: 12 kB / 361.5 MB, free: 9.066 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001354/0.1041, allocations: 15.98 kB / 361.5 MB, free: 9.051 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/0.1042, allocations: 31.86 kB / 361.5 MB, free: 9.02 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.8e-05/0.1043, allocations: 55.98 kB / 361.6 MB, free: 8.965 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004412/0.1048, allocations: 386.9 kB / 361.9 MB, free: 8.59 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.462e-06/0.1048, allocations: 0 / 361.9 MB, free: 8.59 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002908/0.1051, allocations: 47.84 kB / 362 MB, free: 8.543 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.0001328/0.1052, allocations: 126.8 kB / 362.1 MB, free: 8.41 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005295/0.1057, allocations: 441.5 kB / 362.5 MB, free: 7.93 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1057, allocations: 0 / 362.5 MB, free: 7.93 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003213/0.1061, allocations: 381.8 kB / 362.9 MB, free: 7.508 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006213/0.1067, allocations: 123.8 kB / 363 MB, free: 7.395 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001061/0.1078, allocations: 0.7022 MB / 363.7 MB, free: 6.664 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004086/0.1082, allocations: 0.7981 MB / 364.5 MB, free: 5.84 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.386e-05/0.1082, allocations: 15.44 kB / 364.6 MB, free: 5.824 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1082, allocations: 0 / 364.6 MB, free: 5.824 MB / 302.1 MB Notification: Performance of Templates: time 0.004222/0.1125, allocations: 2.69 MB / 367.2 MB, free: 3.086 MB / 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 -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