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.001289/0.001289, allocations: 124.5 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.001532/0.001532, allocations: 207.2 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.429/1.429, 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: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NXFER,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Digital_Examples_NXFER",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NXFER,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Digital_Examples_NXFER",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001614/0.001614, allocations: 51.86 kB / 373 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1089, allocations: 53.33 MB / 426.3 MB, free: 4.789 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.002935/0.1118, allocations: 1.529 MB / 427.8 MB, free: 3.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002116/0.114, allocations: 0.8887 MB / 428.7 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.521e-05/0.114, allocations: 0 / 428.7 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.953e-05/0.1141, allocations: 11.92 kB / 428.7 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.904e-05/0.1142, allocations: 19.8 kB / 428.8 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002715/0.1145, allocations: 43.95 kB / 428.8 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002432/0.1147, allocations: 131.7 kB / 428.9 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.1148, allocations: 16.22 kB / 428.9 MB, free: 2.133 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006646/0.1155, allocations: 0.5809 MB / 429.5 MB, free: 1.551 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000172/0.1157, allocations: 75.75 kB / 429.6 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.037e-05/0.1157, allocations: 8 kB / 429.6 MB, free: 1.469 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.29e-05/0.1158, allocations: 12 kB / 429.6 MB, free: 1.457 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001/0.1159, allocations: 63.7 kB / 429.7 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001332/0.116, allocations: 115.2 kB / 429.8 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000412/0.1164, allocations: 374.4 kB / 430.2 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.1164, allocations: 0 / 430.2 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1164, allocations: 0 / 430.2 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.043e-05/0.1164, allocations: 0 / 430.2 MB, free: 0.9141 MB / 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.0009362/0.1174, allocations: 0.7383 MB / 430.9 MB, free: 104 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.1174, allocations: 8.031 kB / 430.9 MB, free: 96 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.714e-05/0.1174, allocations: 38.73 kB / 430.9 MB, free: 48 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.011e-05/0.1175, allocations: 40.7 kB / 431 MB, free: 8 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1957/0.3132, allocations: 271.8 kB / 431.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.118e-05/0.3132, allocations: 5.656 kB / 431.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.308e-05/0.3133, allocations: 10.88 kB / 431.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003425/0.3136, allocations: 125.4 kB / 431.4 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.3136, allocations: 1.312 kB / 431.4 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.462e-05/0.3137, allocations: 7.828 kB / 431.4 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.3137, allocations: 1.812 kB / 431.4 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001535/0.3138, allocations: 64.78 kB / 431.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006037/0.3144, allocations: 466.1 kB / 431.9 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001697/0.3146, allocations: 74.39 kB / 432 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001386/0.3147, allocations: 66.03 kB / 432.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.424e-05/0.3147, allocations: 6.453 kB / 432.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000339/0.3151, allocations: 208.7 kB / 432.3 MB, free: 10.66 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 2.074e-06/0.3151, allocations: 0 / 432.3 MB, free: 10.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007709/0.3159, allocations: 483.6 kB / 432.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.758e-05/0.3159, allocations: 165.2 kB / 432.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004971/0.3164, allocations: 0.5154 MB / 433.4 MB, free: 10.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.3164, allocations: 31.7 kB / 433.4 MB, free: 10.06 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.959e-05/0.3165, allocations: 104.1 kB / 433.5 MB, free: 9.977 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.3e-05/0.3165, allocations: 29.3 kB / 433.6 MB, free: 9.961 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/0.3166, allocations: 84.78 kB / 433.7 MB, free: 9.934 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.751e-05/0.3167, allocations: 322.3 kB / 434 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001341/0.3168, allocations: 58.16 kB / 434 MB, free: 9.621 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001265/0.3169, allocations: 76.44 kB / 434.1 MB, free: 9.605 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002591/0.3172, allocations: 344.2 kB / 434.4 MB, free: 9.34 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.3172, allocations: 0 / 434.4 MB, free: 9.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004671/0.3176, allocations: 399.6 kB / 434.8 MB, free: 9.168 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.61e-05/0.3177, allocations: 121.7 kB / 434.9 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.3177, allocations: 3.609 kB / 435 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.3177, allocations: 1.156 kB / 435 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.996e-05/0.3177, allocations: 1.219 kB / 435 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.3177, allocations: 5.047 kB / 435 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001263/0.3179, allocations: 13.7 kB / 435 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-05/0.3179, allocations: 56.45 kB / 435 MB, free: 9.039 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.0002422/0.3182, allocations: 355.2 kB / 435.4 MB, free: 8.777 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.861e-05/0.3182, allocations: 48.77 kB / 435.4 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.352e-05/0.3183, allocations: 62.92 kB / 435.5 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.3183, allocations: 1.438 kB / 435.5 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.3183, allocations: 3.719 kB / 435.5 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.3183, allocations: 5.438 kB / 435.5 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000793/0.3191, allocations: 0.8248 MB / 436.3 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.3191, allocations: 5.375 kB / 436.3 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.737e-06/0.3191, allocations: 0 / 436.3 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.3191, allocations: 2.766 kB / 436.3 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.631e-05/0.3192, allocations: 12.17 kB / 436.3 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.3192, allocations: 0 / 436.3 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.3192, allocations: 3.656 kB / 436.3 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005566/0.3197, allocations: 0.5481 MB / 436.9 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002446/0.32, allocations: 248.8 kB / 437.1 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.039e-05/0.32, allocations: 7.344 kB / 437.1 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.3201, allocations: 14.34 kB / 437.2 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.722e-05/0.3202, allocations: 27.72 kB / 437.2 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.767e-05/0.3203, allocations: 60.06 kB / 437.2 MB, free: 7.727 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003969/0.3207, allocations: 386.4 kB / 437.6 MB, free: 7.52 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3207, allocations: 1.125 kB / 437.6 MB, free: 7.52 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002815/0.321, allocations: 41.38 kB / 437.7 MB, free: 7.52 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.000756/0.3217, allocations: 1.097 MB / 438.8 MB, free: 6.637 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004059/0.3221, allocations: 376.1 kB / 439.1 MB, free: 6.34 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3221, allocations: 0 / 439.1 MB, free: 6.34 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002045/0.3223, allocations: 300.6 kB / 439.4 MB, free: 6.062 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005824/0.3229, allocations: 121.7 kB / 439.5 MB, free: 6.043 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00286/0.3258, allocations: 2.775 MB / 442.3 MB, free: 4.125 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002892/0.3261, allocations: 0.7994 MB / 443.1 MB, free: 3.395 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.506e-05/0.3261, allocations: 9.062 kB / 443.1 MB, free: 3.391 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.411e-05/0.3262, allocations: 26.17 kB / 443.1 MB, free: 3.371 MB / 350.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3262, allocations: 0 / 443.1 MB, free: 3.371 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0321/0.3583, allocations: 6.039 MB / 449.2 MB, free: 2.531 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.803/8.162, allocations: 8.531 kB / 449.2 MB, free: 2.527 MB / 350.1 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Digital_Examples_NXFER_fmu --startTime=0 --stopTime=12 --stepSize=0.0023933 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Digital_Examples_NXFER.fmu > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/NXFER/NXFER.csv","/var/lib/jenkins1/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: 10.516643095994368]