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.001293/0.001293, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001399/0.001399, allocations: 211.6 kB / 23.73 MB, free: 4.523 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.458/1.458, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.001673/0.001673, allocations: 55.92 kB / 377.7 MB, free: 2.969 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2732/0.2748, allocations: 53.36 MB / 431.1 MB, free: 6.668 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002804/0.2776, allocations: 1.487 MB / 432.6 MB, free: 5.176 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002025/0.2797, allocations: 0.8304 MB / 433.4 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.584e-05/0.2797, allocations: 4 kB / 433.4 MB, free: 4.336 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001058/0.2798, allocations: 15.86 kB / 433.4 MB, free: 4.32 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.168e-05/0.2799, allocations: 15.86 kB / 433.4 MB, free: 4.305 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002801/0.2802, allocations: 51.89 kB / 433.5 MB, free: 4.254 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002303/0.2804, allocations: 131.7 kB / 433.6 MB, free: 4.125 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.2805, allocations: 24.16 kB / 433.6 MB, free: 4.098 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007457/0.2813, allocations: 0.5771 MB / 434.2 MB, free: 3.52 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001671/0.2815, allocations: 79.69 kB / 434.3 MB, free: 3.441 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.841e-05/0.2815, allocations: 8 kB / 434.3 MB, free: 3.434 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.827e-05/0.2815, allocations: 12 kB / 434.3 MB, free: 3.422 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.814e-05/0.2816, allocations: 67.7 kB / 434.4 MB, free: 3.355 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001302/0.2818, allocations: 83.34 kB / 434.5 MB, free: 3.273 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004236/0.2822, allocations: 372.2 kB / 434.8 MB, free: 2.91 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.2822, allocations: 7.938 kB / 434.8 MB, free: 2.902 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.2822, allocations: 0 / 434.8 MB, free: 2.902 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.2822, allocations: 0 / 434.8 MB, free: 2.902 MB / 334.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.0007981/0.283, allocations: 0.6514 MB / 435.5 MB, free: 2.195 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.283, allocations: 8.031 kB / 435.5 MB, free: 2.188 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.995e-05/0.2831, allocations: 42.75 kB / 435.5 MB, free: 2.137 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.627e-05/0.2831, allocations: 36.7 kB / 435.6 MB, free: 2.102 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000383/0.2835, allocations: 224.8 kB / 435.8 MB, free: 1.855 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.15e-05/0.2835, allocations: 8.359 kB / 435.8 MB, free: 1.848 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.329e-05/0.2836, allocations: 8.375 kB / 435.8 MB, free: 1.84 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004042/0.284, allocations: 248.5 kB / 436 MB, free: 1.566 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.223e-06/0.284, allocations: 0 / 436 MB, free: 1.566 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.221e-05/0.284, allocations: 7.938 kB / 436 MB, free: 1.559 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.284, allocations: 0 / 436 MB, free: 1.559 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002236/0.2842, allocations: 178.8 kB / 436.2 MB, free: 1.359 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006934/0.2849, allocations: 419.5 kB / 436.6 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002612/0.2852, allocations: 189.3 kB / 436.8 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002182/0.2854, allocations: 187.7 kB / 437 MB, free: 488 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.716e-05/0.2854, allocations: 0 / 437 MB, free: 488 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005492/0.286, allocations: 333.5 kB / 437.3 MB, free: 104 kB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.323e-06/0.286, allocations: 0 / 437.3 MB, free: 104 kB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.001005/0.287, allocations: 0.7009 MB / 438 MB, free: 15.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001181/0.2871, allocations: 170.2 kB / 438.2 MB, free: 15.12 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000772/0.2879, allocations: 0.5091 MB / 438.7 MB, free: 14.6 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.747e-05/0.2879, allocations: 33.7 kB / 438.7 MB, free: 14.56 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.812e-05/0.288, allocations: 101.1 kB / 438.8 MB, free: 14.46 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.677e-05/0.2881, allocations: 27.8 kB / 438.9 MB, free: 14.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001235/0.2882, allocations: 85.55 kB / 438.9 MB, free: 14.34 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001719/0.2884, allocations: 330.8 kB / 439.3 MB, free: 14.01 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002144/0.2886, allocations: 174.8 kB / 439.4 MB, free: 13.81 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000228/0.2888, allocations: 192.5 kB / 439.6 MB, free: 13.59 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003959/0.2892, allocations: 350.3 kB / 440 MB, free: 13.2 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2892, allocations: 7.938 kB / 440 MB, free: 13.19 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006971/0.2899, allocations: 0.4991 MB / 440.5 MB, free: 12.64 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000113/0.29, allocations: 130.7 kB / 440.6 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.72e-05/0.29, allocations: 0 / 440.6 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.811e-05/0.2901, allocations: 8.031 kB / 440.6 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.586e-05/0.2901, allocations: 0 / 440.6 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.2901, allocations: 0 / 440.6 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001435/0.2903, allocations: 19.92 kB / 440.6 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.402e-05/0.2904, allocations: 56.05 kB / 440.7 MB, free: 12.4 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.0004013/0.2908, allocations: 374.4 kB / 441 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.423e-05/0.2908, allocations: 39.77 kB / 441.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000112/0.2909, allocations: 63.09 kB / 441.1 MB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.2909, allocations: 0 / 441.1 MB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.2909, allocations: 7.984 kB / 441.2 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.291, allocations: 0 / 441.2 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001122/0.2921, allocations: 0.8817 MB / 442 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.2921, allocations: 0 / 442 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.084e-05/0.2921, allocations: 7.922 kB / 442 MB, free: 10.9 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.2921, allocations: 0 / 442 MB, free: 10.9 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.998e-05/0.2921, allocations: 12 kB / 442.1 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.2921, allocations: 0 / 442.1 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.2921, allocations: 4.125 kB / 442.1 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008585/0.293, allocations: 0.656 MB / 442.7 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000425/0.2934, allocations: 217.3 kB / 442.9 MB, free: 9.957 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.936e-05/0.2935, allocations: 12 kB / 442.9 MB, free: 9.945 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001382/0.2936, allocations: 11.98 kB / 443 MB, free: 9.934 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001207/0.2937, allocations: 31.91 kB / 443 MB, free: 9.902 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.33e-05/0.2938, allocations: 52 kB / 443 MB, free: 9.852 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004979/0.2943, allocations: 390.9 kB / 443.4 MB, free: 9.473 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2943, allocations: 0 / 443.4 MB, free: 9.473 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000301/0.2946, allocations: 44 kB / 443.5 MB, free: 9.43 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.001318/0.2959, allocations: 1.212 MB / 444.7 MB, free: 8.145 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006827/0.2966, allocations: 0.6085 MB / 445.3 MB, free: 7.438 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2966, allocations: 4.062 kB / 445.3 MB, free: 7.434 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003794/0.297, allocations: 424.4 kB / 445.7 MB, free: 6.945 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006427/0.2976, allocations: 118.8 kB / 445.8 MB, free: 6.84 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004362/0.302, allocations: 3.353 MB / 449.2 MB, free: 3.25 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002738/0.3023, allocations: 193.7 kB / 449.4 MB, free: 3.039 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.121e-05/0.3023, allocations: 16.53 kB / 449.4 MB, free: 3.023 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.45e-05/0.3024, allocations: 31.42 kB / 449.4 MB, free: 2.992 MB / 350.1 MB Notification: Performance of SimCode: time 1.112e-06/0.3024, allocations: 3.938 kB / 449.4 MB, free: 2.988 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03677/0.3391, allocations: 6.987 MB / 456.4 MB, free: 12.08 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/11.29, allocations: 3.984 kB / 456.4 MB, free: 12.08 MB / 366.1 MB " [Timeout remaining time 649] (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: 13.73617663999903]