Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001764/0.001764, allocations: 123.4 kB / 17.79 MB, free: 5.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00199/0.00199, allocations: 208.3 kB / 20.75 MB, free: 2.273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.526/1.526, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER") translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001547/0.001547, allocations: 55.91 kB / 373.5 MB, free: 9.711 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1038, allocations: 53.33 MB / 426.8 MB, free: 4.285 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.002861/0.1066, allocations: 1.53 MB / 428.3 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002028/0.1087, allocations: 0.8771 MB / 429.2 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.668e-05/0.1087, allocations: 4 kB / 429.2 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.514e-05/0.1088, allocations: 11.86 kB / 429.2 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.374e-05/0.1089, allocations: 23.84 kB / 429.2 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000237/0.1091, allocations: 47.89 kB / 429.3 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002275/0.1093, allocations: 127.7 kB / 429.4 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.29e-05/0.1094, allocations: 16.22 kB / 429.4 MB, free: 1.637 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006735/0.1101, allocations: 0.581 MB / 430 MB, free: 1.055 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001525/0.1103, allocations: 71.69 kB / 430.1 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.936e-05/0.1103, allocations: 12 kB / 430.1 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.889e-05/0.1103, allocations: 8 kB / 430.1 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.765e-05/0.1104, allocations: 63.77 kB / 430.2 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001392/0.1106, allocations: 119.1 kB / 430.3 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004341/0.111, allocations: 374.5 kB / 430.6 MB, free: 428 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.111, allocations: 4 kB / 430.7 MB, free: 424 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.111, allocations: 3.938 kB / 430.7 MB, free: 420 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.111, allocations: 0 / 430.7 MB, free: 420 kB / 350.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.2367/0.3477, allocations: 0.722 MB / 431.4 MB, free: 11.74 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.015e-05/0.3477, allocations: 9 kB / 431.4 MB, free: 11.74 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000115/0.3479, allocations: 39.14 kB / 431.4 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003051/0.3482, allocations: 274.8 kB / 431.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.9e-05/0.3482, allocations: 11.22 kB / 431.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.995e-05/0.3482, allocations: 9.125 kB / 431.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004447/0.3487, allocations: 125.5 kB / 431.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.3487, allocations: 0.75 kB / 431.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.8e-05/0.3487, allocations: 12.91 kB / 431.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.3487, allocations: 1 kB / 431.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002272/0.349, allocations: 59.19 kB / 431.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008756/0.3498, allocations: 460 kB / 432.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000266/0.3501, allocations: 78.98 kB / 432.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002133/0.3503, allocations: 66.44 kB / 432.5 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.536e-05/0.3503, allocations: 1.719 kB / 432.5 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004292/0.3508, allocations: 215.8 kB / 432.7 MB, free: 11.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 2.244e-06/0.3508, allocations: 0.6562 kB / 432.7 MB, free: 11.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001138/0.3519, allocations: 482.5 kB / 433.2 MB, free: 10.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.4e-05/0.352, allocations: 167.3 kB / 433.3 MB, free: 10.65 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008128/0.3528, allocations: 0.5102 MB / 433.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.211e-05/0.3528, allocations: 34.42 kB / 433.9 MB, free: 10.42 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.328e-05/0.3529, allocations: 94.62 kB / 434 MB, free: 10.34 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.665e-05/0.3529, allocations: 36.16 kB / 434 MB, free: 10.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001515/0.3531, allocations: 80.86 kB / 434.1 MB, free: 10.3 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.739e-05/0.3532, allocations: 327.9 kB / 434.4 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001855/0.3533, allocations: 55.38 kB / 434.5 MB, free: 9.969 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001972/0.3535, allocations: 80 kB / 434.6 MB, free: 9.934 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004008/0.3539, allocations: 348.8 kB / 434.9 MB, free: 9.625 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.3539, allocations: 0 / 434.9 MB, free: 9.625 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007562/0.3547, allocations: 394.6 kB / 435.3 MB, free: 9.402 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.79e-05/0.3548, allocations: 129.3 kB / 435.4 MB, free: 9.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.3548, allocations: 1.094 kB / 435.4 MB, free: 9.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.199e-05/0.3548, allocations: 1.031 kB / 435.4 MB, free: 9.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.691e-05/0.3548, allocations: 1.062 kB / 435.4 MB, free: 9.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.3548, allocations: 1.094 kB / 435.4 MB, free: 9.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002105/0.3551, allocations: 9.609 kB / 435.4 MB, free: 9.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001067/0.3552, allocations: 54.14 kB / 435.5 MB, free: 9.27 MB / 350.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.0004185/0.3556, allocations: 376.4 kB / 435.8 MB, free: 8.969 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.236e-05/0.3556, allocations: 38.73 kB / 435.9 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001379/0.3558, allocations: 66.58 kB / 435.9 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.3558, allocations: 4.219 kB / 435.9 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.3558, allocations: 1 kB / 435.9 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.3558, allocations: 2.797 kB / 435.9 MB, free: 8.906 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00108/0.3569, allocations: 0.8174 MB / 436.8 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.3569, allocations: 0.5625 kB / 436.8 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.138e-06/0.3569, allocations: 7.266 kB / 436.8 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.3569, allocations: 0.6094 kB / 436.8 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.561e-05/0.3569, allocations: 17.62 kB / 436.8 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.3569, allocations: 0 / 436.8 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.3569, allocations: 1.797 kB / 436.8 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006388/0.3576, allocations: 0.5428 MB / 437.3 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003217/0.3579, allocations: 243.1 kB / 437.6 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.15e-05/0.358, allocations: 10.28 kB / 437.6 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001405/0.3581, allocations: 15.56 kB / 437.6 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/0.3582, allocations: 22.05 kB / 437.6 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.628e-05/0.3583, allocations: 72.62 kB / 437.7 MB, free: 7.773 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000458/0.3587, allocations: 384.8 kB / 438.1 MB, free: 7.566 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3587, allocations: 3.469 kB / 438.1 MB, free: 7.566 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003126/0.359, allocations: 41.5 kB / 438.1 MB, free: 7.566 MB / 350.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.0001454/0.3592, allocations: 118.9 kB / 438.2 MB, free: 7.473 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000478/0.3597, allocations: 371.5 kB / 438.6 MB, free: 7.176 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3597, allocations: 1.25 kB / 438.6 MB, free: 7.176 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002442/0.3599, allocations: 307.7 kB / 438.9 MB, free: 6.895 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006319/0.3605, allocations: 118.2 kB / 439 MB, free: 6.875 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001068/0.3616, allocations: 0.6651 MB / 439.7 MB, free: 6.492 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003345/0.3619, allocations: 0.7953 MB / 440.5 MB, free: 5.766 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.718e-05/0.362, allocations: 8.562 kB / 440.5 MB, free: 5.762 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.631e-05/0.362, allocations: 11.81 kB / 440.5 MB, free: 5.754 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.362, allocations: 0 / 440.5 MB, free: 5.754 MB / 350.1 MB Notification: Performance of Templates: time 0.01111/0.3731, allocations: 4.673 MB / 445.2 MB, free: 5.254 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER.sim & ./Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/NXFER/NXFER.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.932728238403797]