Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001611/0.001611, 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.002352/0.002352, 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.434/1.434, allocations: 230.6 MB / 254.1 MB, free: 15.06 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.NRXFER,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Digital_Examples_NRXFER",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NRXFER,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Digital_Examples_NRXFER",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 47.92 kB / 373 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1066, allocations: 53.33 MB / 426.3 MB, free: 4.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002634/0.1092, allocations: 1.526 MB / 427.8 MB, free: 3.234 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00191/0.1112, allocations: 0.8849 MB / 428.7 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.739e-05/0.1112, allocations: 0 / 428.7 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.161e-05/0.1113, allocations: 15.86 kB / 428.7 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.737e-05/0.1114, allocations: 15.86 kB / 428.8 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002442/0.1116, allocations: 47.89 kB / 428.8 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002054/0.1118, allocations: 127.7 kB / 428.9 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.1119, allocations: 20.2 kB / 428.9 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006207/0.1125, allocations: 0.5771 MB / 429.5 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001487/0.1127, allocations: 79.67 kB / 429.6 MB, free: 1.461 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.738e-05/0.1127, allocations: 12 kB / 429.6 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.73e-05/0.1128, allocations: 8 kB / 429.6 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.253e-05/0.1128, allocations: 63.77 kB / 429.7 MB, free: 1.379 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001302/0.113, allocations: 119.1 kB / 429.8 MB, free: 1.262 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003828/0.1134, allocations: 370.4 kB / 430.2 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.1134, allocations: 0 / 430.2 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1134, allocations: 0 / 430.2 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.1134, allocations: 0 / 430.2 MB, free: 0.8984 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.0007844/0.1142, allocations: 0.7344 MB / 430.9 MB, free: 92 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.1142, allocations: 8.031 kB / 430.9 MB, free: 84 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.657e-05/0.1142, allocations: 42.73 kB / 430.9 MB, free: 32 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1934/0.3077, allocations: 37.42 kB / 431 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003174/0.308, allocations: 276.6 kB / 431.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.928e-05/0.308, allocations: 5.375 kB / 431.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.217e-05/0.3081, allocations: 8.375 kB / 431.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003604/0.3084, allocations: 129.7 kB / 431.4 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.3084, allocations: 3.938 kB / 431.4 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.779e-05/0.3085, allocations: 9.203 kB / 431.4 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.3085, allocations: 0.75 kB / 431.4 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001539/0.3086, allocations: 60.41 kB / 431.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007182/0.3093, allocations: 464.8 kB / 431.9 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001931/0.3095, allocations: 81.94 kB / 432 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001565/0.3097, allocations: 62.67 kB / 432.1 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.354e-05/0.3097, allocations: 1.688 kB / 432.1 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004314/0.3101, allocations: 207.7 kB / 432.3 MB, free: 10.64 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.954e-06/0.3101, allocations: 0 / 432.3 MB, free: 10.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009171/0.311, allocations: 480.8 kB / 432.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.291e-05/0.3111, allocations: 167.8 kB / 432.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006301/0.3118, allocations: 0.5197 MB / 433.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.672e-05/0.3118, allocations: 34.95 kB / 433.5 MB, free: 10.04 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.463e-05/0.3118, allocations: 98.91 kB / 433.5 MB, free: 9.957 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.961e-05/0.3119, allocations: 26.02 kB / 433.6 MB, free: 9.945 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001269/0.312, allocations: 87.5 kB / 433.7 MB, free: 9.914 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.148e-05/0.3121, allocations: 329.9 kB / 434 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001324/0.3122, allocations: 61 kB / 434 MB, free: 9.598 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000145/0.3123, allocations: 71.09 kB / 434.1 MB, free: 9.582 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002723/0.3126, allocations: 346.4 kB / 434.4 MB, free: 9.316 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.3126, allocations: 0.5312 kB / 434.4 MB, free: 9.316 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004883/0.3131, allocations: 389.5 kB / 434.8 MB, free: 9.152 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.062e-05/0.3132, allocations: 126 kB / 435 MB, free: 9.027 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.3132, allocations: 3.859 kB / 435 MB, free: 9.027 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.3132, allocations: 0 / 435 MB, free: 9.027 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.028e-05/0.3132, allocations: 1.844 kB / 435 MB, free: 9.027 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.3132, allocations: 1.406 kB / 435 MB, free: 9.027 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001336/0.3134, allocations: 15.58 kB / 435 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.101e-05/0.3134, allocations: 53.94 kB / 435 MB, free: 9.023 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.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.000304/0.3137, allocations: 371.4 kB / 435.4 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.594e-05/0.3138, allocations: 36.03 kB / 435.4 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001054/0.3139, allocations: 66 kB / 435.5 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.3139, allocations: 1.094 kB / 435.5 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.3139, allocations: 1.844 kB / 435.5 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.3139, allocations: 1.219 kB / 435.5 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009117/0.3148, allocations: 0.8315 MB / 436.3 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3148, allocations: 1.219 kB / 436.3 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.428e-06/0.3148, allocations: 0 / 436.3 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.3148, allocations: 1.188 kB / 436.3 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.863e-05/0.3149, allocations: 15.62 kB / 436.3 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.3149, allocations: 2.484 kB / 436.3 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.3149, allocations: 1.219 kB / 436.3 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006006/0.3155, allocations: 0.5452 MB / 436.9 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002618/0.3157, allocations: 242.2 kB / 437.1 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.289e-05/0.3158, allocations: 14.94 kB / 437.1 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001268/0.3159, allocations: 9.984 kB / 437.2 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.316, allocations: 29.53 kB / 437.2 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.84e-05/0.3161, allocations: 62.34 kB / 437.2 MB, free: 7.707 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004268/0.3165, allocations: 386.8 kB / 437.6 MB, free: 7.5 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3165, allocations: 1.094 kB / 437.6 MB, free: 7.5 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002889/0.3168, allocations: 41.31 kB / 437.7 MB, free: 7.5 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,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.0009006/0.3177, allocations: 1.094 MB / 438.8 MB, free: 6.625 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004825/0.3182, allocations: 378.6 kB / 439.1 MB, free: 6.328 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3182, allocations: 0 / 439.1 MB, free: 6.328 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002477/0.3184, allocations: 303.8 kB / 439.4 MB, free: 6.051 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006545/0.3191, allocations: 126.3 kB / 439.5 MB, free: 6.027 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002999/0.3221, allocations: 2.77 MB / 442.3 MB, free: 4.109 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002879/0.3224, allocations: 0.7951 MB / 443.1 MB, free: 3.383 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.253e-05/0.3224, allocations: 13.7 kB / 443.1 MB, free: 3.379 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.063e-05/0.3225, allocations: 32.31 kB / 443.2 MB, free: 3.352 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3225, allocations: 1.406 kB / 443.2 MB, free: 3.352 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02863/0.3511, allocations: 6.04 MB / 449.2 MB, free: 2.504 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.875/8.226, allocations: 12.59 kB / 449.2 MB, free: 2.496 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Digital_Examples_NRXFER_fmu --startTime=0 --stopTime=12 --stepSize=0.0023933 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Digital_Examples_NRXFER.fmu > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NRXFER_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/NRXFER/NRXFER.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 10.601682889973745]