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.001272/0.001272, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001371/0.001371, allocations: 214.9 kB / 23.74 MB, free: 4.656 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.483/1.483, allocations: 230.6 MB / 257.5 MB, free: 8.016 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.002087/0.002087, allocations: 43.92 kB / 377.8 MB, free: 3.125 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2841/0.2862, allocations: 53.37 MB / 431.1 MB, free: 6.844 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002847/0.289, allocations: 1.533 MB / 432.7 MB, free: 5.309 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002177/0.2912, allocations: 0.8965 MB / 433.6 MB, free: 4.406 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.99e-05/0.2913, allocations: 0 / 433.6 MB, free: 4.406 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000101/0.2914, allocations: 11.86 kB / 433.6 MB, free: 4.395 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.966e-05/0.2915, allocations: 19.86 kB / 433.6 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003166/0.2918, allocations: 51.88 kB / 433.6 MB, free: 4.324 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002627/0.2921, allocations: 131.7 kB / 433.8 MB, free: 4.195 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.2922, allocations: 16.22 kB / 433.8 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007764/0.293, allocations: 0.5732 MB / 434.4 MB, free: 3.602 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001912/0.2931, allocations: 83.67 kB / 434.4 MB, free: 3.52 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.885e-05/0.2932, allocations: 8 kB / 434.5 MB, free: 3.512 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.717e-05/0.2932, allocations: 16 kB / 434.5 MB, free: 3.496 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001027/0.2933, allocations: 63.7 kB / 434.5 MB, free: 3.434 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000155/0.2935, allocations: 111.2 kB / 434.6 MB, free: 3.324 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005132/0.294, allocations: 376.1 kB / 435 MB, free: 2.957 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.294, allocations: 3.938 kB / 435 MB, free: 2.953 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.294, allocations: 0 / 435 MB, free: 2.953 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.837e-05/0.294, allocations: 0 / 435 MB, free: 2.953 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.001064/0.2951, allocations: 0.6513 MB / 435.7 MB, free: 2.246 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/0.2951, allocations: 12.03 kB / 435.7 MB, free: 2.234 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.016e-05/0.2952, allocations: 38.75 kB / 435.7 MB, free: 2.188 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.156e-05/0.2953, allocations: 44.64 kB / 435.8 MB, free: 2.145 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003196/0.2956, allocations: 224.8 kB / 436 MB, free: 1.898 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.147e-05/0.2956, allocations: 4.375 kB / 436 MB, free: 1.895 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.768e-05/0.2956, allocations: 8.375 kB / 436 MB, free: 1.887 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003198/0.2959, allocations: 133.7 kB / 436.1 MB, free: 1.75 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.296, allocations: 0 / 436.1 MB, free: 1.75 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.311e-05/0.296, allocations: 4 kB / 436.1 MB, free: 1.746 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.296, allocations: 0 / 436.1 MB, free: 1.746 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001392/0.2961, allocations: 55.97 kB / 436.2 MB, free: 1.691 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007344/0.2969, allocations: 447.5 kB / 436.6 MB, free: 1.211 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001734/0.297, allocations: 70.55 kB / 436.7 MB, free: 1.133 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001472/0.2972, allocations: 64.88 kB / 436.7 MB, free: 1.066 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.999e-06/0.2972, allocations: 4 kB / 436.7 MB, free: 1.062 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003815/0.2976, allocations: 210.8 kB / 437 MB, free: 0.832 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.463e-06/0.2976, allocations: 4 kB / 437 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008483/0.2984, allocations: 468.1 kB / 437.4 MB, free: 348 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001213/0.2985, allocations: 170.2 kB / 437.6 MB, free: 140 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007189/0.2993, allocations: 0.5091 MB / 438.1 MB, free: 15.62 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.337e-05/0.2993, allocations: 29.7 kB / 438.1 MB, free: 15.58 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.693e-05/0.2994, allocations: 105.1 kB / 438.2 MB, free: 15.48 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.46e-05/0.2994, allocations: 27.8 kB / 438.3 MB, free: 15.45 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001167/0.2995, allocations: 81.55 kB / 438.3 MB, free: 15.36 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.2997, allocations: 330.8 kB / 438.7 MB, free: 15.03 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001421/0.2998, allocations: 55.97 kB / 438.7 MB, free: 14.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001387/0.3, allocations: 73.69 kB / 438.8 MB, free: 14.9 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003755/0.3004, allocations: 338.7 kB / 439.1 MB, free: 14.52 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3004, allocations: 0 / 439.1 MB, free: 14.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005694/0.3009, allocations: 392.3 kB / 439.5 MB, free: 14.1 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000111/0.301, allocations: 130.8 kB / 439.6 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.301, allocations: 0 / 439.6 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.3011, allocations: 112 / 439.6 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.005e-05/0.3011, allocations: 4.062 kB / 439.6 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.934e-06/0.3011, allocations: 8 kB / 439.6 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001269/0.3012, allocations: 11.98 kB / 439.6 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.176e-05/0.3013, allocations: 59.94 kB / 439.7 MB, free: 13.87 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.0003803/0.3017, allocations: 366.4 kB / 440.1 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.441e-05/0.3017, allocations: 43.7 kB / 440.1 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001138/0.3018, allocations: 67.08 kB / 440.2 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.3018, allocations: 4 kB / 440.2 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.3018, allocations: 0 / 440.2 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.3019, allocations: 0 / 440.2 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001056/0.3029, allocations: 0.7852 MB / 441 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3029, allocations: 0 / 441 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.139e-06/0.3029, allocations: 0 / 441 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.3029, allocations: 0 / 441 MB, free: 12.5 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.778e-05/0.303, allocations: 23.92 kB / 441 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.303, allocations: 4 kB / 441 MB, free: 12.47 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.303, allocations: 3.938 kB / 441 MB, free: 12.47 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007075/0.3037, allocations: 0.5293 MB / 441.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004075/0.3041, allocations: 209.3 kB / 441.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.909e-05/0.3041, allocations: 12 kB / 441.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001309/0.3043, allocations: 11.98 kB / 441.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.3044, allocations: 27.92 kB / 441.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.926e-05/0.3044, allocations: 55.98 kB / 441.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004952/0.3049, allocations: 390.9 kB / 442.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3049, allocations: 0 / 442.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002905/0.3052, allocations: 40 kB / 442.2 MB, free: 11.17 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.001089/0.3063, allocations: 1.1 MB / 443.3 MB, free: 10.02 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005574/0.3069, allocations: 375.5 kB / 443.7 MB, free: 9.609 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.3069, allocations: 0 / 443.7 MB, free: 9.609 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003121/0.3072, allocations: 305.5 kB / 444 MB, free: 9.262 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006151/0.3078, allocations: 131.4 kB / 444.1 MB, free: 9.145 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003726/0.3115, allocations: 2.745 MB / 446.9 MB, free: 6.285 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005366/0.3121, allocations: 0.7983 MB / 447.7 MB, free: 5.461 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.132e-05/0.3121, allocations: 16.62 kB / 447.7 MB, free: 5.445 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.488e-05/0.3122, allocations: 23.44 kB / 447.7 MB, free: 5.422 MB / 350.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3122, allocations: 0 / 447.7 MB, free: 5.422 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03593/0.3481, allocations: 6.211 MB / 453.9 MB, free: 15.27 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/11.17, allocations: 6.719 kB / 453.9 MB, free: 15.27 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.656879337038845]