Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001239/0.001239, allocations: 149.1 kB / 23.93 MB, free: 0.6289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8933/0.8933, allocations: 173.4 MB / 200.4 MB, free: 9.438 MB / 186.7 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NRXFER,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Digital_Examples_NRXFER",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NRXFER,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Digital_Examples_NRXFER",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 318.4 MB, free: 6.367 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.089e-05/1.231e-05, allocations: 2.281 kB / 318.4 MB, free: 6.363 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.001551/0.001563, allocations: 1.467 MB / 319.9 MB, free: 4.883 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001184/0.002747, allocations: 0.8031 MB / 320.7 MB, free: 4.074 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.294e-05/0.00279, allocations: 0 / 320.7 MB, free: 4.074 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 8.727e-05/0.002877, allocations: 11.88 kB / 320.7 MB, free: 4.062 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.759e-05/0.002945, allocations: 19.84 kB / 320.7 MB, free: 4.043 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002213/0.003166, allocations: 51.83 kB / 320.8 MB, free: 3.992 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001608/0.003327, allocations: 135.6 kB / 320.9 MB, free: 3.859 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.793e-05/0.003415, allocations: 12.22 kB / 320.9 MB, free: 3.844 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004061/0.003821, allocations: 0.6004 MB / 321.5 MB, free: 3.242 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000107/0.003928, allocations: 67.8 kB / 321.6 MB, free: 3.176 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.935e-05/0.003957, allocations: 12 kB / 321.6 MB, free: 3.164 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.163e-05/0.003979, allocations: 8 kB / 321.6 MB, free: 3.156 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.443e-05/0.004043, allocations: 67.72 kB / 321.7 MB, free: 3.09 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.476e-05/0.004108, allocations: 51.8 kB / 321.7 MB, free: 3.039 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002432/0.004351, allocations: 390.7 kB / 322.1 MB, free: 2.656 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.714e-06/0.004353, allocations: 0 / 322.1 MB, free: 2.656 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.004354, allocations: 0 / 322.1 MB, free: 2.656 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.004358, allocations: 0 / 322.1 MB, free: 2.656 MB / 282.7 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.0006718/0.00503, allocations: 0.6475 MB / 322.8 MB, free: 1.953 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.005064, allocations: 8.922 kB / 322.8 MB, free: 1.945 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.97e-05/0.005094, allocations: 38.75 kB / 322.8 MB, free: 1.898 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.259e-05/0.005136, allocations: 40.7 kB / 322.8 MB, free: 1.859 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001774/0.005314, allocations: 224 kB / 323.1 MB, free: 1.613 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.005328, allocations: 8.375 kB / 323.1 MB, free: 1.605 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.699e-05/0.005345, allocations: 8.375 kB / 323.1 MB, free: 1.598 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002392/0.005585, allocations: 249 kB / 323.3 MB, free: 1.324 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.005592, allocations: 192 / 323.3 MB, free: 1.324 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.688e-05/0.005609, allocations: 8.125 kB / 323.3 MB, free: 1.316 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.005613, allocations: 0 / 323.3 MB, free: 1.316 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001196/0.005733, allocations: 178.8 kB / 323.5 MB, free: 1.117 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004308/0.006164, allocations: 411.7 kB / 323.9 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001471/0.006311, allocations: 197.2 kB / 324.1 MB, free: 456 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001138/0.006425, allocations: 183.7 kB / 324.3 MB, free: 244 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.176e-05/0.006436, allocations: 0 / 324.3 MB, free: 244 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002622/0.006698, allocations: 340.1 kB / 324.6 MB, free: 15.86 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 9.01e-07/0.006699, allocations: 0 / 324.6 MB, free: 15.86 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005767/0.007276, allocations: 0.7048 MB / 325.3 MB, free: 15.07 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.093e-05/0.007337, allocations: 162.2 kB / 325.5 MB, free: 14.88 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003838/0.007721, allocations: 0.5091 MB / 326 MB, free: 14.36 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.134e-05/0.007742, allocations: 37.69 kB / 326 MB, free: 14.32 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.748e-05/0.00779, allocations: 93.14 kB / 326.1 MB, free: 14.23 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.219e-05/0.007822, allocations: 43.66 kB / 326.2 MB, free: 14.18 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.049e-05/0.007892, allocations: 81.56 kB / 326.2 MB, free: 14.1 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.612e-05/0.007968, allocations: 318.8 kB / 326.5 MB, free: 13.78 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001158/0.008084, allocations: 182.8 kB / 326.7 MB, free: 13.57 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001144/0.008199, allocations: 192.5 kB / 326.9 MB, free: 13.36 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002069/0.008406, allocations: 359.4 kB / 327.3 MB, free: 12.95 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.008408, allocations: 0 / 327.3 MB, free: 12.95 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003573/0.008765, allocations: 0.5173 MB / 327.8 MB, free: 12.38 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.36e-05/0.008818, allocations: 118.8 kB / 327.9 MB, free: 12.24 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.008823, allocations: 0 / 327.9 MB, free: 12.24 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.008834, allocations: 4 kB / 327.9 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.688e-05/0.008851, allocations: 4.031 kB / 327.9 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.008855, allocations: 0 / 327.9 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.336e-05/0.008939, allocations: 11.98 kB / 327.9 MB, free: 12.22 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.331e-05/0.008982, allocations: 59.94 kB / 328 MB, free: 12.16 MB / 298.7 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.nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.t_next,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.y_old,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.x,$PRE.nRXFERGATE.inertialDelaySensitive.x,nRXFERGATE.yy,nRXFERGATE.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.0002048/0.009187, allocations: 362.6 kB / 328.3 MB, free: 11.77 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.974e-05/0.009217, allocations: 43.77 kB / 328.4 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.689e-05/0.009284, allocations: 71.06 kB / 328.4 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.009285, allocations: 112 / 328.4 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.009289, allocations: 3.938 kB / 328.4 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.009291, allocations: 8 kB / 328.5 MB, free: 11.63 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008231/0.01011, allocations: 0.8894 MB / 329.3 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.01012, allocations: 0 / 329.3 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.29e-06/0.01012, allocations: 3.938 kB / 329.3 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.01012, allocations: 0 / 329.3 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/0.01014, allocations: 12 kB / 329.4 MB, free: 10.63 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.01014, allocations: 3.984 kB / 329.4 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.01014, allocations: 0 / 329.4 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003992/0.01054, allocations: 0.6648 MB / 330 MB, free: 9.895 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002307/0.01077, allocations: 213.3 kB / 330.2 MB, free: 9.688 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.301e-05/0.0108, allocations: 12 kB / 330.2 MB, free: 9.676 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.425e-05/0.01088, allocations: 12 kB / 330.3 MB, free: 9.664 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.111e-05/0.01096, allocations: 27.97 kB / 330.3 MB, free: 9.637 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.651e-05/0.011, allocations: 59.92 kB / 330.3 MB, free: 9.578 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002739/0.01127, allocations: 386.9 kB / 330.7 MB, free: 9.199 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01127, allocations: 0 / 330.7 MB, free: 9.199 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000181/0.01145, allocations: 43.94 kB / 330.8 MB, free: 9.156 MB / 298.7 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,nRXFERGATE.nextstate,nRXFERGATE.yy,nRXFERGATE.inertialDelaySensitive.x,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.y_old,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,nRXFERGATE.yy,nRXFERGATE.nextstate,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.t_next,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,nRXFERGATE.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.0006055/0.01206, allocations: 1.212 MB / 332 MB, free: 7.867 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003661/0.01242, allocations: 0.6197 MB / 332.6 MB, free: 7.152 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.01242, allocations: 0 / 332.6 MB, free: 7.152 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001923/0.01262, allocations: 428.7 kB / 333 MB, free: 6.66 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003434/0.01296, allocations: 127.6 kB / 333.1 MB, free: 6.547 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002315/0.01528, allocations: 3.368 MB / 336.5 MB, free: 2.949 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001493/0.01542, allocations: 189.7 kB / 336.7 MB, free: 2.742 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.486e-05/0.01545, allocations: 8.719 kB / 336.7 MB, free: 2.734 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.919e-05/0.01549, allocations: 32.44 kB / 336.7 MB, free: 2.703 MB / 298.7 MB Notification: Performance of SimCode: time 4.21e-07/0.01549, allocations: 4 kB / 336.7 MB, free: 2.699 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01788/0.03337, allocations: 7.07 MB / 343.8 MB, free: 11.7 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.936/6.969, allocations: 11.98 kB / 343.8 MB, free: 11.69 MB / 314.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Digital_Examples_NRXFER_fmu --startTime=0 --stopTime=12 --stepSize=0.0023933 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Digital_Examples_NRXFER.fmu > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/NRXFER/NRXFER.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.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: 8.648554185405374]