Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NRXFER,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_NRXFER",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NRXFER,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_NRXFER",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001228/0.001228, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001282/0.001282, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.414/1.414, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002156/0.002156, allocations: 59.09 kB / 307 MB, free: 464 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1286, allocations: 50.54 MB / 357.6 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.00303/0.1317, allocations: 1.504 MB / 359.1 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001991/0.1337, allocations: 0.8943 MB / 360 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.296e-05/0.1338, allocations: 0 / 360 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 8.494e-05/0.1339, allocations: 7.922 kB / 360 MB, free: 11.49 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.79e-05/0.134, allocations: 15.81 kB / 360 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002463/0.1343, allocations: 47.88 kB / 360 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001967/0.1345, allocations: 147.7 kB / 360.2 MB, free: 11.28 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.1346, allocations: 20.22 kB / 360.2 MB, free: 11.26 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006098/0.1352, allocations: 0.5693 MB / 360.8 MB, free: 10.69 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001621/0.1354, allocations: 75.69 kB / 360.9 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.908e-05/0.1355, allocations: 8 kB / 360.9 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.913e-05/0.1355, allocations: 8 kB / 360.9 MB, free: 10.6 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001085/0.1356, allocations: 67.7 kB / 360.9 MB, free: 10.53 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000237/0.1359, allocations: 111.2 kB / 361 MB, free: 10.42 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004127/0.1363, allocations: 374.7 kB / 361.4 MB, free: 10.05 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.1363, allocations: 0 / 361.4 MB, free: 10.05 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1363, allocations: 0 / 361.4 MB, free: 10.05 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.652e-05/0.1363, allocations: 0 / 361.4 MB, free: 10.05 MB / 302.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.001015/0.1374, allocations: 0.7152 MB / 362.1 MB, free: 9.266 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/0.1374, allocations: 12.03 kB / 362.1 MB, free: 9.254 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.312e-05/0.1375, allocations: 38.75 kB / 362.2 MB, free: 9.207 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.659e-05/0.1376, allocations: 40.47 kB / 362.2 MB, free: 9.168 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003734/0.138, allocations: 266.3 kB / 362.5 MB, free: 8.867 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.653e-05/0.138, allocations: 12.38 kB / 362.5 MB, free: 8.855 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.719e-05/0.138, allocations: 12.38 kB / 362.5 MB, free: 8.844 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003448/0.1384, allocations: 133.7 kB / 362.6 MB, free: 8.707 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.1384, allocations: 4 kB / 362.6 MB, free: 8.703 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.378e-05/0.1384, allocations: 0 / 362.6 MB, free: 8.703 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.1385, allocations: 4 kB / 362.6 MB, free: 8.699 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001529/0.1386, allocations: 63.89 kB / 362.7 MB, free: 8.637 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007929/0.1394, allocations: 464.5 kB / 363.2 MB, free: 8.133 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001893/0.1396, allocations: 94.55 kB / 363.2 MB, free: 8.031 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001657/0.1398, allocations: 88.88 kB / 363.3 MB, free: 7.941 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.123e-05/0.1398, allocations: 0 / 363.3 MB, free: 7.941 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003333/0.1402, allocations: 214.2 kB / 363.5 MB, free: 7.711 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.713e-06/0.1402, allocations: 4 kB / 363.5 MB, free: 7.707 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007747/0.141, allocations: 471.9 kB / 364 MB, free: 7.215 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.568e-05/0.1411, allocations: 170.2 kB / 364.2 MB, free: 7.012 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006193/0.1417, allocations: 0.5168 MB / 364.7 MB, free: 6.484 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.961e-05/0.1417, allocations: 33.7 kB / 364.7 MB, free: 6.445 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.546e-05/0.1418, allocations: 97.12 kB / 364.8 MB, free: 6.348 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.363e-05/0.1418, allocations: 31.59 kB / 364.8 MB, free: 6.316 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001217/0.142, allocations: 81.41 kB / 364.9 MB, free: 6.23 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.1421, allocations: 334.8 kB / 365.3 MB, free: 5.895 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001333/0.1423, allocations: 55.97 kB / 365.3 MB, free: 5.84 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001372/0.1424, allocations: 73.69 kB / 365.4 MB, free: 5.762 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003541/0.1428, allocations: 335.3 kB / 365.7 MB, free: 5.379 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.1428, allocations: 3.938 kB / 365.7 MB, free: 5.375 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005331/0.1433, allocations: 400.3 kB / 366.1 MB, free: 4.953 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.059e-05/0.1434, allocations: 122.8 kB / 366.2 MB, free: 4.809 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.1434, allocations: 4.031 kB / 366.2 MB, free: 4.805 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.1434, allocations: 0 / 366.2 MB, free: 4.805 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.511e-05/0.1435, allocations: 4 kB / 366.2 MB, free: 4.801 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.1435, allocations: 0 / 366.2 MB, free: 4.801 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001357/0.1436, allocations: 11.98 kB / 366.2 MB, free: 4.789 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.411e-05/0.1437, allocations: 55.94 kB / 366.3 MB, free: 4.734 MB / 302.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.0003368/0.144, allocations: 379.8 kB / 366.7 MB, free: 4.332 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.261e-05/0.1441, allocations: 35.62 kB / 366.7 MB, free: 4.297 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.98e-05/0.1442, allocations: 71.14 kB / 366.8 MB, free: 4.219 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.1442, allocations: 0 / 366.8 MB, free: 4.219 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.1442, allocations: 0 / 366.8 MB, free: 4.219 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.1442, allocations: 0 / 366.8 MB, free: 4.219 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009067/0.1451, allocations: 0.8249 MB / 367.6 MB, free: 3.312 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.1452, allocations: 112 / 367.6 MB, free: 3.312 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.28e-06/0.1452, allocations: 3.938 kB / 367.6 MB, free: 3.309 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.1452, allocations: 0 / 367.6 MB, free: 3.309 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.663e-05/0.1452, allocations: 12 kB / 367.6 MB, free: 3.297 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1452, allocations: 0 / 367.6 MB, free: 3.297 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/0.1452, allocations: 11.92 kB / 367.6 MB, free: 3.285 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006314/0.1459, allocations: 0.5367 MB / 368.2 MB, free: 2.711 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002929/0.1462, allocations: 240.4 kB / 368.4 MB, free: 2.457 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.695e-05/0.1462, allocations: 15.98 kB / 368.4 MB, free: 2.441 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/0.1464, allocations: 8 kB / 368.4 MB, free: 2.434 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001296/0.1465, allocations: 31.91 kB / 368.4 MB, free: 2.402 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.585e-05/0.1466, allocations: 59.94 kB / 368.5 MB, free: 2.344 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005274/0.1471, allocations: 390.9 kB / 368.9 MB, free: 1.965 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1471, allocations: 0 / 368.9 MB, free: 1.965 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003261/0.1475, allocations: 47.94 kB / 368.9 MB, free: 1.918 MB / 302.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.001118/0.1486, allocations: 1.085 MB / 370 MB, free: 0.7812 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005852/0.1492, allocations: 441.5 kB / 370.5 MB, free: 308 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.1492, allocations: 4.062 kB / 370.5 MB, free: 304 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.1542/0.3034, allocations: 382.1 kB / 370.8 MB, free: 20.52 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007605/0.3042, allocations: 114.6 kB / 370.9 MB, free: 20.52 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003254/0.3075, allocations: 2.741 MB / 373.7 MB, free: 18.94 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003328/0.3079, allocations: 0.8006 MB / 374.5 MB, free: 18.22 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.461e-05/0.3079, allocations: 10.55 kB / 374.5 MB, free: 18.21 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.78e-05/0.308, allocations: 26.05 kB / 374.5 MB, free: 18.2 MB / 302.1 MB Notification: Performance of SimCode: time 9.22e-07/0.308, allocations: 0 / 374.5 MB, free: 18.2 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02329/0.3313, allocations: 6.008 MB / 380.5 MB, free: 17.32 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.781/8.112, allocations: 13.34 kB / 380.5 MB, free: 17.31 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER_res.csv --start-time 0 --stop-time 12 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0048 Modelica_trunk_Modelica_Electrical_Digital_Examples_NRXFER.fmu > Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/NRXFER/NRXFER.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches