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.00081/0.00081, allocations: 79.69 kB / 20.67 MB, free: 3.891 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.0008971/0.0008971, allocations: 170 kB / 23.95 MB, free: 0.6172 MB / 18.57 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 0.8608/0.8608, allocations: 177.2 MB / 204.3 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] 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 1.463e-06/1.463e-06, allocations: 0 / 324.6 MB, free: 15.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.163e-05/1.31e-05, allocations: 2.281 kB / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002329/0.002342, allocations: 1.498 MB / 326.1 MB, free: 14.45 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001927/0.004269, allocations: 0.838 MB / 326.9 MB, free: 13.61 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.135e-05/0.004321, allocations: 4 kB / 326.9 MB, free: 13.6 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.711e-05/0.004418, allocations: 11.86 kB / 326.9 MB, free: 13.59 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.795e-05/0.004506, allocations: 19.84 kB / 326.9 MB, free: 13.57 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002664/0.004772, allocations: 51.81 kB / 327 MB, free: 13.52 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002055/0.004978, allocations: 131.7 kB / 327.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.005083, allocations: 12.22 kB / 327.1 MB, free: 13.38 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006514/0.005734, allocations: 0.5966 MB / 327.7 MB, free: 12.78 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001358/0.00587, allocations: 67.8 kB / 327.8 MB, free: 12.71 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.869e-05/0.005909, allocations: 8 kB / 327.8 MB, free: 12.7 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.663e-05/0.005936, allocations: 16 kB / 327.8 MB, free: 12.69 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.608e-05/0.006022, allocations: 63.72 kB / 327.9 MB, free: 12.62 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.616e-05/0.006118, allocations: 55.73 kB / 327.9 MB, free: 12.57 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003723/0.00649, allocations: 382.8 kB / 328.3 MB, free: 12.2 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.006493, allocations: 0 / 328.3 MB, free: 12.2 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.006494, allocations: 0 / 328.3 MB, free: 12.2 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.006499, allocations: 0 / 328.3 MB, free: 12.2 MB / 298.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.0006681/0.007168, allocations: 0.6552 MB / 329 MB, free: 11.48 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.007206, allocations: 8.031 kB / 329 MB, free: 11.48 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.67e-05/0.007253, allocations: 38.75 kB / 329 MB, free: 11.43 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.089e-05/0.007324, allocations: 40.7 kB / 329 MB, free: 11.39 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002488/0.007573, allocations: 224.1 kB / 329.3 MB, free: 11.14 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.179e-05/0.007594, allocations: 4.375 kB / 329.3 MB, free: 11.14 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.83e-05/0.007623, allocations: 12.38 kB / 329.3 MB, free: 11.13 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003386/0.007961, allocations: 252.5 kB / 329.5 MB, free: 10.86 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.007971, allocations: 192 / 329.5 MB, free: 10.86 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.302e-05/0.007994, allocations: 8.125 kB / 329.5 MB, free: 10.85 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.007999, allocations: 0 / 329.5 MB, free: 10.85 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000147/0.008146, allocations: 178.8 kB / 329.7 MB, free: 10.65 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004235/0.008569, allocations: 407.7 kB / 330.1 MB, free: 10.21 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001491/0.008718, allocations: 197.3 kB / 330.3 MB, free: 9.98 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001192/0.008837, allocations: 183.7 kB / 330.5 MB, free: 9.773 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.053e-05/0.008848, allocations: 4 kB / 330.5 MB, free: 9.77 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002601/0.009108, allocations: 321.5 kB / 330.8 MB, free: 9.406 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.052e-06/0.009109, allocations: 112 / 330.8 MB, free: 9.406 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005627/0.009672, allocations: 0.7086 MB / 331.5 MB, free: 8.617 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.642e-05/0.009728, allocations: 170.2 kB / 331.7 MB, free: 8.414 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000377/0.01011, allocations: 0.5091 MB / 332.2 MB, free: 7.898 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/0.01012, allocations: 37.64 kB / 332.2 MB, free: 7.855 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.519e-05/0.01017, allocations: 105.1 kB / 332.3 MB, free: 7.75 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.785e-05/0.0102, allocations: 35.72 kB / 332.4 MB, free: 7.715 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.701e-05/0.01026, allocations: 77.56 kB / 332.4 MB, free: 7.633 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.232e-05/0.01034, allocations: 326.8 kB / 332.7 MB, free: 7.305 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001084/0.01045, allocations: 178.8 kB / 332.9 MB, free: 7.105 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001136/0.01056, allocations: 192.5 kB / 333.1 MB, free: 6.887 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001998/0.01076, allocations: 359.2 kB / 333.5 MB, free: 6.48 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.01076, allocations: 4 kB / 333.5 MB, free: 6.477 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003521/0.01111, allocations: 0.503 MB / 334 MB, free: 5.918 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.255e-05/0.01117, allocations: 126.8 kB / 334.1 MB, free: 5.77 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.01117, allocations: 4.031 kB / 334.1 MB, free: 5.766 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.01118, allocations: 0 / 334.1 MB, free: 5.766 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.401e-05/0.01119, allocations: 4 kB / 334.1 MB, free: 5.762 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.0112, allocations: 0 / 334.1 MB, free: 5.762 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.03e-05/0.01128, allocations: 11.98 kB / 334.1 MB, free: 5.75 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.282e-05/0.01132, allocations: 59.94 kB / 334.2 MB, free: 5.691 MB / 298.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.0002066/0.01153, allocations: 374.5 kB / 334.5 MB, free: 5.293 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.876e-05/0.01156, allocations: 39.77 kB / 334.6 MB, free: 5.254 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.348e-05/0.01162, allocations: 67.08 kB / 334.6 MB, free: 5.184 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.01162, allocations: 0 / 334.6 MB, free: 5.184 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.01162, allocations: 4 kB / 334.6 MB, free: 5.18 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.01163, allocations: 0 / 334.6 MB, free: 5.18 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006743/0.0123, allocations: 0.8962 MB / 335.5 MB, free: 4.188 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.0123, allocations: 0 / 335.5 MB, free: 4.188 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.326e-06/0.01231, allocations: 3.938 kB / 335.5 MB, free: 4.184 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.01231, allocations: 0 / 335.5 MB, free: 4.184 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.01232, allocations: 12 kB / 335.6 MB, free: 4.172 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.01232, allocations: 0 / 335.6 MB, free: 4.172 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.01233, allocations: 0 / 335.6 MB, free: 4.172 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00041/0.01274, allocations: 0.6725 MB / 336.2 MB, free: 3.434 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000231/0.01297, allocations: 205.3 kB / 336.4 MB, free: 3.234 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.489e-05/0.013, allocations: 19.97 kB / 336.4 MB, free: 3.215 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.256e-05/0.01307, allocations: 8 kB / 336.5 MB, free: 3.207 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.245e-05/0.01315, allocations: 27.97 kB / 336.5 MB, free: 3.18 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.525e-05/0.01318, allocations: 56 kB / 336.5 MB, free: 3.125 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002792/0.01346, allocations: 386.9 kB / 336.9 MB, free: 2.75 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01346, allocations: 0 / 336.9 MB, free: 2.75 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001827/0.01364, allocations: 47.94 kB / 337 MB, free: 2.703 MB / 298.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.0006117/0.01426, allocations: 1.209 MB / 338.2 MB, free: 1.418 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003673/0.01462, allocations: 0.6165 MB / 338.8 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.01462, allocations: 0 / 338.8 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001952/0.01482, allocations: 436.4 kB / 339.2 MB, free: 204 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003381/0.01516, allocations: 121 kB / 339.3 MB, free: 96 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002244/0.0174, allocations: 3.369 MB / 342.7 MB, free: 12.48 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001559/0.01756, allocations: 193.7 kB / 342.9 MB, free: 12.27 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.688e-05/0.01758, allocations: 8.719 kB / 342.9 MB, free: 12.27 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.868e-05/0.01762, allocations: 28.56 kB / 342.9 MB, free: 12.24 MB / 314.7 MB Notification: Performance of SimCode: time 7.51e-07/0.01762, allocations: 0 / 342.9 MB, free: 12.24 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01689/0.03451, allocations: 7.076 MB / 350 MB, free: 5.23 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.746/6.78, allocations: 17.2 kB / 350 MB, free: 5.219 MB / 314.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/NRXFER/NRXFER.csv","/var/lib/jenkins/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: 8.363663678988814]