Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.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.0009014/0.0009014, allocations: 87.62 kB / 21.43 MB, free: 3.137 MB / 18.57 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.00378/0.00378, allocations: 159.4 kB / 24.69 MB, free: 9.422 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9105/0.9105, allocations: 158.6 MB / 186.5 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NRXFER,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Digital_Examples_NRXFER",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NRXFER,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Digital_Examples_NRXFER",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 298.4 MB, free: 3.527 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.264e-05/1.412e-05, allocations: 6.281 kB / 298.4 MB, free: 3.52 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002374/0.002388, allocations: 1.466 MB / 299.9 MB, free: 2.039 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001716/0.004104, allocations: 0.8514 MB / 300.8 MB, free: 1.18 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.852e-05/0.004163, allocations: 0 / 300.8 MB, free: 1.18 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 9.309e-05/0.004256, allocations: 11.86 kB / 300.8 MB, free: 1.168 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.08e-05/0.004337, allocations: 19.86 kB / 300.8 MB, free: 1.148 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002705/0.004607, allocations: 55.81 kB / 300.8 MB, free: 1.094 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001986/0.004806, allocations: 127.7 kB / 301 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001/0.004906, allocations: 12.22 kB / 301 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005739/0.00548, allocations: 0.5927 MB / 301.6 MB, free: 368 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001272/0.005607, allocations: 71.75 kB / 301.6 MB, free: 296 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.637e-05/0.005643, allocations: 16 kB / 301.7 MB, free: 280 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.225e-05/0.005676, allocations: 8 kB / 301.7 MB, free: 272 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.785e-05/0.005754, allocations: 67.72 kB / 301.7 MB, free: 204 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.107e-05/0.005835, allocations: 59.72 kB / 301.8 MB, free: 144 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1519/0.1577, allocations: 366.2 kB / 302.1 MB, free: 13.86 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/0.1578, allocations: 1.125 kB / 302.1 MB, free: 13.86 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1578, allocations: 0.5469 kB / 302.1 MB, free: 13.86 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.37e-05/0.1578, allocations: 0 / 302.1 MB, free: 13.86 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.0007632/0.1585, allocations: 0.6523 MB / 302.8 MB, free: 13.33 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.1586, allocations: 12.98 kB / 302.8 MB, free: 13.33 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.553e-05/0.1586, allocations: 39.91 kB / 302.9 MB, free: 13.29 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.306e-05/0.1587, allocations: 43.2 kB / 302.9 MB, free: 13.27 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002205/0.1589, allocations: 219.6 kB / 303.1 MB, free: 13.09 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.107e-05/0.1589, allocations: 8.469 kB / 303.1 MB, free: 13.09 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.311e-05/0.1589, allocations: 7.75 kB / 303.1 MB, free: 13.09 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003066/0.1592, allocations: 249.5 kB / 303.4 MB, free: 12.93 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.1593, allocations: 192 / 303.4 MB, free: 12.93 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.996e-05/0.1593, allocations: 4.688 kB / 303.4 MB, free: 12.93 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.1593, allocations: 4.938 kB / 303.4 MB, free: 12.93 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001352/0.1594, allocations: 178.1 kB / 303.6 MB, free: 12.8 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005841/0.16, allocations: 410.1 kB / 304 MB, free: 12.54 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001906/0.1602, allocations: 200.4 kB / 304.1 MB, free: 12.39 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001189/0.1603, allocations: 183.6 kB / 304.3 MB, free: 12.26 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.29e-05/0.1603, allocations: 0 / 304.3 MB, free: 12.26 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003748/0.1607, allocations: 329.4 kB / 304.7 MB, free: 12.02 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 2.806e-06/0.1607, allocations: 0 / 304.7 MB, free: 12.02 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006566/0.1614, allocations: 0.7104 MB / 305.4 MB, free: 11.6 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.068e-05/0.1614, allocations: 170.1 kB / 305.5 MB, free: 11.41 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005173/0.1619, allocations: 0.5126 MB / 306 MB, free: 11.21 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.287e-05/0.162, allocations: 33.45 kB / 306.1 MB, free: 11.18 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.228e-05/0.162, allocations: 99.72 kB / 306.2 MB, free: 11.1 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.915e-05/0.162, allocations: 30.78 kB / 306.2 MB, free: 11.08 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.989e-05/0.1621, allocations: 85.86 kB / 306.3 MB, free: 11.05 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.161e-05/0.1622, allocations: 322.6 kB / 306.6 MB, free: 10.74 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001192/0.1623, allocations: 178.5 kB / 306.8 MB, free: 10.61 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001242/0.1624, allocations: 194.3 kB / 307 MB, free: 10.47 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002044/0.1626, allocations: 353.1 kB / 307.3 MB, free: 10.21 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.1626, allocations: 5.078 kB / 307.3 MB, free: 10.2 MB / 282.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003995/0.163, allocations: 0.508 MB / 307.8 MB, free: 9.852 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.709e-05/0.1631, allocations: 126.9 kB / 307.9 MB, free: 9.719 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.1631, allocations: 1.828 kB / 307.9 MB, free: 9.719 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.1631, allocations: 4.375 kB / 308 MB, free: 9.719 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.413e-05/0.1631, allocations: 0.7031 kB / 308 MB, free: 9.719 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.086e-06/0.1632, allocations: 7.719 kB / 308 MB, free: 9.719 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001155/0.1633, allocations: 10.62 kB / 308 MB, free: 9.719 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.586e-05/0.1633, allocations: 63.7 kB / 308 MB, free: 9.711 MB / 282.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.000271/0.1636, allocations: 361.2 kB / 308.4 MB, free: 9.41 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.858e-05/0.1637, allocations: 39.45 kB / 308.4 MB, free: 9.391 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.619e-05/0.1637, allocations: 65.42 kB / 308.5 MB, free: 9.352 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.1637, allocations: 4.641 kB / 308.5 MB, free: 9.348 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.1637, allocations: 1.188 kB / 308.5 MB, free: 9.348 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.1638, allocations: 0.7031 kB / 308.5 MB, free: 9.348 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007114/0.1645, allocations: 0.8947 MB / 309.4 MB, free: 8.676 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.1645, allocations: 0.5625 kB / 309.4 MB, free: 8.676 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.167e-06/0.1645, allocations: 1.469 kB / 309.4 MB, free: 8.676 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.1645, allocations: 1.969 kB / 309.4 MB, free: 8.676 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.231e-05/0.1645, allocations: 13.52 kB / 309.4 MB, free: 8.676 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.1645, allocations: 1.219 kB / 309.4 MB, free: 8.676 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.1645, allocations: 0 / 309.4 MB, free: 8.676 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004429/0.165, allocations: 0.6795 MB / 310.1 MB, free: 8.172 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002559/0.1652, allocations: 211.3 kB / 310.3 MB, free: 8.055 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.418e-05/0.1653, allocations: 14.42 kB / 310.3 MB, free: 8.051 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.686e-05/0.1653, allocations: 10.5 kB / 310.3 MB, free: 8.051 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/0.1654, allocations: 26.23 kB / 310.3 MB, free: 8.043 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.501e-05/0.1655, allocations: 60.53 kB / 310.4 MB, free: 8.039 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003573/0.1659, allocations: 388.4 kB / 310.8 MB, free: 7.836 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1659, allocations: 2.156 kB / 310.8 MB, free: 7.836 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002214/0.1661, allocations: 40.45 kB / 310.8 MB, free: 7.836 MB / 282.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.0006088/0.1667, allocations: 1.218 MB / 312 MB, free: 6.816 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003926/0.1671, allocations: 0.6119 MB / 312.7 MB, free: 6.246 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.1671, allocations: 1.375 kB / 312.7 MB, free: 6.246 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001717/0.1673, allocations: 424.8 kB / 313.1 MB, free: 5.836 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004576/0.1677, allocations: 119.5 kB / 313.2 MB, free: 5.809 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002884/0.1706, allocations: 3.369 MB / 316.6 MB, free: 3.203 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002077/0.1708, allocations: 195.1 kB / 316.7 MB, free: 3.09 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.142e-05/0.1709, allocations: 9.547 kB / 316.8 MB, free: 3.086 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.08e-05/0.1709, allocations: 30.92 kB / 316.8 MB, free: 3.062 MB / 282.7 MB Notification: Performance of SimCode: time 1.563e-06/0.1709, allocations: 0 / 316.8 MB, free: 3.062 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02459/0.1955, allocations: 7.085 MB / 323.9 MB, free: 0.5938 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.243/7.439, allocations: 2.156 kB / 323.9 MB, free: 0.5938 MB / 282.7 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Digital_Examples_NRXFER_fmu --startTime=0 --stopTime=12 --stepSize=0.0023933 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Digital_Examples_NRXFER.fmu > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/NRXFER/NRXFER.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 9.112073003314435]