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.001628/0.001628, allocations: 110.3 kB / 17.75 MB, free: 5.359 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.002136/0.002136, allocations: 181.4 kB / 18.67 MB, free: 4.441 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.386/1.386, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001065/0.001065, allocations: 51.92 kB / 352 MB, free: 3.234 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2587/0.2598, allocations: 49.44 MB / 401.4 MB, free: 8.723 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.002541/0.2623, allocations: 1.504 MB / 402.9 MB, free: 7.332 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001887/0.2642, allocations: 0.852 MB / 403.8 MB, free: 6.477 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.132e-05/0.2643, allocations: 0 / 403.8 MB, free: 6.477 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 8.82e-05/0.2644, allocations: 3.938 kB / 403.8 MB, free: 6.473 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.583e-05/0.2645, allocations: 27.78 kB / 403.8 MB, free: 6.445 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000237/0.2648, allocations: 50.64 kB / 403.9 MB, free: 6.398 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002046/0.265, allocations: 143.7 kB / 404 MB, free: 6.258 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.2651, allocations: 32.2 kB / 404 MB, free: 6.223 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005514/0.2656, allocations: 0.5731 MB / 404.6 MB, free: 5.648 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001398/0.2658, allocations: 75.75 kB / 404.7 MB, free: 5.574 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.504e-05/0.2658, allocations: 8 kB / 404.7 MB, free: 5.566 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.612e-05/0.2659, allocations: 12 kB / 404.7 MB, free: 5.555 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.443e-05/0.266, allocations: 67.7 kB / 404.8 MB, free: 5.488 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001162/0.2661, allocations: 115.2 kB / 404.9 MB, free: 5.375 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003185/0.2664, allocations: 366.7 kB / 405.2 MB, free: 5.016 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.2664, allocations: 0 / 405.2 MB, free: 5.016 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.2664, allocations: 0 / 405.2 MB, free: 5.016 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.766e-06/0.2665, allocations: 0 / 405.2 MB, free: 5.016 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.000719/0.2672, allocations: 0.7239 MB / 405.9 MB, free: 4.223 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.2672, allocations: 8.031 kB / 406 MB, free: 4.215 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.128e-05/0.2673, allocations: 36.47 kB / 406 MB, free: 4.18 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002755/0.2676, allocations: 274.3 kB / 406.3 MB, free: 3.871 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.992e-05/0.2676, allocations: 8.375 kB / 406.3 MB, free: 3.863 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.857e-05/0.2677, allocations: 8.375 kB / 406.3 MB, free: 3.855 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003068/0.268, allocations: 137.8 kB / 406.4 MB, free: 3.715 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.268, allocations: 0 / 406.4 MB, free: 3.715 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.523e-05/0.268, allocations: 8 kB / 406.4 MB, free: 3.707 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.268, allocations: 4 kB / 406.4 MB, free: 3.703 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001402/0.2682, allocations: 59.91 kB / 406.5 MB, free: 3.645 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006617/0.2688, allocations: 460.5 kB / 406.9 MB, free: 3.145 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001834/0.269, allocations: 98.48 kB / 407 MB, free: 3.039 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001504/0.2692, allocations: 88.94 kB / 407.1 MB, free: 2.949 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.012e-05/0.2692, allocations: 4 kB / 407.1 MB, free: 2.945 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003428/0.2696, allocations: 202.7 kB / 407.3 MB, free: 2.723 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.743e-06/0.2696, allocations: 0 / 407.3 MB, free: 2.723 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007842/0.2704, allocations: 480.1 kB / 407.8 MB, free: 2.223 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.03e-05/0.2705, allocations: 170.2 kB / 408 MB, free: 2.02 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005964/0.2711, allocations: 0.5129 MB / 408.5 MB, free: 1.492 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.455e-05/0.2711, allocations: 29.7 kB / 408.5 MB, free: 1.457 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.98e-05/0.2712, allocations: 101.1 kB / 408.6 MB, free: 1.355 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.732e-05/0.2712, allocations: 23.72 kB / 408.6 MB, free: 1.332 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001219/0.2714, allocations: 93.31 kB / 408.7 MB, free: 1.234 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.2715, allocations: 322.8 kB / 409 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/0.2716, allocations: 59.97 kB / 409.1 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000131/0.2717, allocations: 73.69 kB / 409.2 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003432/0.2721, allocations: 349.3 kB / 409.5 MB, free: 388 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.2721, allocations: 0 / 409.5 MB, free: 388 kB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005292/0.2726, allocations: 388.3 kB / 409.9 MB, free: 15.97 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.072e-05/0.2727, allocations: 118.8 kB / 410 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.2727, allocations: 4 kB / 410 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.2728, allocations: 4.031 kB / 410 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.99e-05/0.2728, allocations: 0 / 410 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.2728, allocations: 3.984 kB / 410 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001457/0.273, allocations: 11.94 kB / 410 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-05/0.273, allocations: 56 kB / 410.1 MB, free: 15.75 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.0003232/0.2734, allocations: 362.9 kB / 410.4 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.477e-05/0.2734, allocations: 47.52 kB / 410.5 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.734e-05/0.2735, allocations: 67.12 kB / 410.5 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.2735, allocations: 0 / 410.5 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.2735, allocations: 8 kB / 410.5 MB, free: 15.24 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003063/0.2739, allocations: 240.5 kB / 410.8 MB, free: 14.99 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.993e-05/0.2739, allocations: 12 kB / 410.8 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.274, allocations: 11.92 kB / 410.8 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.546e-05/0.2741, allocations: 23.98 kB / 410.8 MB, free: 14.94 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006785/0.2748, allocations: 0.7082 MB / 411.5 MB, free: 14.15 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006428/0.2755, allocations: 0.6122 MB / 412.1 MB, free: 13.5 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001926/0.2757, allocations: 151.9 kB / 412.3 MB, free: 13.35 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004317/0.2761, allocations: 386.8 kB / 412.7 MB, free: 12.97 MB / 334.1 MB Notification: Performance of Backend: time 5.11e-07/0.2761, allocations: 4 kB / 412.7 MB, free: 12.97 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007156/0.2769, allocations: 451.9 kB / 413.1 MB, free: 12.47 MB / 334.1 MB Notification: Performance of SimCode: time 0.001308/0.2782, allocations: 1.307 MB / 414.4 MB, free: 11.07 MB / 334.1 MB Notification: Performance of Templates: time 0.006791/0.285, allocations: 4.103 MB / 418.5 MB, free: 6.898 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