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.001158/0.001158, allocations: 108.4 kB / 17.74 MB, free: 5.316 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.001145/0.001145, allocations: 187 kB / 18.67 MB, free: 4.395 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.316/1.316, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001116/0.001116, allocations: 43.92 kB / 352 MB, free: 3.234 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2445/0.2456, allocations: 49.44 MB / 401.4 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.002463/0.2481, allocations: 1.506 MB / 402.9 MB, free: 7.352 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001752/0.2499, allocations: 0.8482 MB / 403.8 MB, free: 6.5 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.763e-05/0.2499, allocations: 0 / 403.8 MB, free: 6.5 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 8.449e-05/0.25, allocations: 15.86 kB / 403.8 MB, free: 6.484 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.161e-05/0.2501, allocations: 15.86 kB / 403.8 MB, free: 6.469 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002412/0.2504, allocations: 47.88 kB / 403.8 MB, free: 6.422 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001983/0.2506, allocations: 147.7 kB / 404 MB, free: 6.277 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.2507, allocations: 24.22 kB / 404 MB, free: 6.25 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005815/0.2513, allocations: 0.5771 MB / 404.6 MB, free: 5.672 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001397/0.2514, allocations: 67.77 kB / 404.7 MB, free: 5.605 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.883e-05/0.2515, allocations: 12 kB / 404.7 MB, free: 5.594 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.758e-05/0.2515, allocations: 11.94 kB / 404.7 MB, free: 5.582 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.572e-05/0.2516, allocations: 63.75 kB / 404.7 MB, free: 5.52 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001176/0.2517, allocations: 119.2 kB / 404.9 MB, free: 5.402 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003232/0.2521, allocations: 370.6 kB / 405.2 MB, free: 5.039 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.2521, allocations: 4 kB / 405.2 MB, free: 5.035 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.2521, allocations: 0 / 405.2 MB, free: 5.035 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.2521, allocations: 0 / 405.2 MB, free: 5.035 MB / 318.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.0007425/0.2529, allocations: 0.7161 MB / 405.9 MB, free: 4.25 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.46e-05/0.2529, allocations: 8.031 kB / 405.9 MB, free: 4.242 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001025/0.253, allocations: 48.39 kB / 406 MB, free: 4.195 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002635/0.2533, allocations: 270.3 kB / 406.3 MB, free: 3.891 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/0.2533, allocations: 4.375 kB / 406.3 MB, free: 3.887 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.97e-05/0.2534, allocations: 12.36 kB / 406.3 MB, free: 3.875 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003059/0.2537, allocations: 137.8 kB / 406.4 MB, free: 3.734 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.2537, allocations: 0 / 406.4 MB, free: 3.734 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.495e-05/0.2537, allocations: 8 kB / 406.4 MB, free: 3.727 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.2537, allocations: 0 / 406.4 MB, free: 3.727 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001367/0.2539, allocations: 63.95 kB / 406.5 MB, free: 3.664 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005987/0.2545, allocations: 464.4 kB / 406.9 MB, free: 3.16 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001778/0.2547, allocations: 94.55 kB / 407 MB, free: 3.059 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001443/0.2548, allocations: 88.88 kB / 407.1 MB, free: 2.969 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.025e-05/0.2548, allocations: 112 / 407.1 MB, free: 2.969 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003471/0.2552, allocations: 209.1 kB / 407.3 MB, free: 2.742 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.232e-06/0.2552, allocations: 0 / 407.3 MB, free: 2.742 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007515/0.256, allocations: 480.1 kB / 407.8 MB, free: 2.242 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.609e-05/0.2561, allocations: 166.2 kB / 407.9 MB, free: 2.043 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005701/0.2566, allocations: 0.5207 MB / 408.5 MB, free: 1.508 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.137e-05/0.2567, allocations: 29.7 kB / 408.5 MB, free: 1.473 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.219e-05/0.2567, allocations: 97.12 kB / 408.6 MB, free: 1.375 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.982e-05/0.2568, allocations: 27.66 kB / 408.6 MB, free: 1.348 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001092/0.2569, allocations: 89.31 kB / 408.7 MB, free: 1.254 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.257, allocations: 326.8 kB / 409 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001401/0.2572, allocations: 55.97 kB / 409.1 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001295/0.2573, allocations: 77.69 kB / 409.2 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003147/0.2576, allocations: 341.5 kB / 409.5 MB, free: 412 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.2576, allocations: 0 / 409.5 MB, free: 412 kB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005293/0.2582, allocations: 388.2 kB / 409.9 MB, free: 15.99 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.983e-05/0.2583, allocations: 122.8 kB / 410 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.2583, allocations: 0 / 410 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.2583, allocations: 4 kB / 410 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.966e-05/0.2583, allocations: 0 / 410 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.2583, allocations: 32 / 410 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001378/0.2585, allocations: 19.92 kB / 410 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.477e-05/0.2586, allocations: 52 kB / 410.1 MB, free: 15.77 MB / 334.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.0003182/0.2589, allocations: 378.8 kB / 410.4 MB, free: 15.37 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.486e-05/0.2589, allocations: 39.53 kB / 410.5 MB, free: 15.33 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.581e-05/0.259, allocations: 67.14 kB / 410.5 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.2591, allocations: 0 / 410.5 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.2591, allocations: 0 / 410.5 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.2591, allocations: 0 / 410.5 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009495/0.26, allocations: 0.8213 MB / 411.4 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.26, allocations: 3.938 kB / 411.4 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.599e-06/0.26, allocations: 0 / 411.4 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.2601, allocations: 0 / 411.4 MB, free: 14.36 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.581e-05/0.2601, allocations: 12 kB / 411.4 MB, free: 14.35 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.2601, allocations: 0 / 411.4 MB, free: 14.35 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.2601, allocations: 7.922 kB / 411.4 MB, free: 14.34 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006256/0.2607, allocations: 0.5291 MB / 411.9 MB, free: 13.77 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003011/0.261, allocations: 256.3 kB / 412.2 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.997e-05/0.2611, allocations: 11.98 kB / 412.2 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/0.2613, allocations: 8 kB / 412.2 MB, free: 13.48 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/0.2614, allocations: 31.91 kB / 412.2 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.586e-05/0.2615, allocations: 59.94 kB / 412.3 MB, free: 13.39 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004328/0.2619, allocations: 390.9 kB / 412.6 MB, free: 13.01 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2619, allocations: 0 / 412.6 MB, free: 13.01 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002877/0.2622, allocations: 40 kB / 412.7 MB, free: 12.97 MB / 334.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.0001279/0.2623, allocations: 126.9 kB / 412.8 MB, free: 12.84 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000508/0.2628, allocations: 447.3 kB / 413.2 MB, free: 12.35 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2629, allocations: 0 / 413.2 MB, free: 12.35 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003201/0.2632, allocations: 377.6 kB / 413.6 MB, free: 11.93 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006301/0.2638, allocations: 107.5 kB / 413.7 MB, free: 11.84 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001075/0.2649, allocations: 0.6867 MB / 414.4 MB, free: 11.11 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000433/0.2654, allocations: 0.8175 MB / 415.2 MB, free: 10.27 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.523e-05/0.2654, allocations: 11.44 kB / 415.2 MB, free: 10.26 MB / 334.1 MB Notification: Performance of SimCode: time 1.703e-06/0.2654, allocations: 0 / 415.2 MB, free: 10.26 MB / 334.1 MB Notification: Performance of Templates: time 0.004754/0.2702, allocations: 2.684 MB / 417.9 MB, free: 7.527 MB / 334.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