Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NRXFER,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Digital_Examples_NRXFER",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NRXFER,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Digital_Examples_NRXFER",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001121/0.001122, allocations: 95.61 kB / 17.3 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001201/0.001202, allocations: 175.6 kB / 18.21 MB, free: 5.551 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.787/1.787, allocations: 205.4 MB / 224.4 MB, free: 13.07 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000738/0.0007382, allocations: 16 kB / 281.5 MB, free: 3.316 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1256, allocations: 47.57 MB / 329 MB, free: 3.672 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.001994/0.1277, allocations: 1.223 MB / 330.3 MB, free: 2.438 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002505/0.1302, allocations: 0.9063 MB / 331.2 MB, free: 1.527 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.58e-05/0.1303, allocations: 0 / 331.2 MB, free: 1.527 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 8.732e-05/0.1304, allocations: 7.922 kB / 331.2 MB, free: 1.52 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 9.842e-05/0.1305, allocations: 7.938 kB / 331.2 MB, free: 1.512 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000253/0.1307, allocations: 51.89 kB / 331.2 MB, free: 1.461 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001743/0.1309, allocations: 103.8 kB / 331.3 MB, free: 1.359 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.1311, allocations: 32.2 kB / 331.4 MB, free: 1.324 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008156/0.1319, allocations: 0.5459 MB / 331.9 MB, free: 0.7773 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001415/0.132, allocations: 75.62 kB / 332 MB, free: 0.7031 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.812e-05/0.1321, allocations: 0 / 332 MB, free: 0.7031 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.147e-05/0.1321, allocations: 4 kB / 332 MB, free: 0.6992 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.912e-05/0.1322, allocations: 59.77 kB / 332.1 MB, free: 0.6406 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001663/0.1324, allocations: 144.8 kB / 332.2 MB, free: 0.4922 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004094/0.1328, allocations: 354.7 kB / 332.5 MB, free: 148 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.1328, allocations: 0 / 332.5 MB, free: 148 kB / 270.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1329, allocations: 0 / 332.5 MB, free: 148 kB / 270.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.1329, allocations: 0 / 332.5 MB, free: 148 kB / 270.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.0008177/0.1337, allocations: 0.6531 MB / 333.2 MB, free: 15.42 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.1337, allocations: 8.031 kB / 333.2 MB, free: 15.41 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.212e-05/0.1338, allocations: 38.75 kB / 333.2 MB, free: 15.36 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.64e-05/0.1339, allocations: 36.56 kB / 333.3 MB, free: 15.33 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000335/0.1343, allocations: 282.3 kB / 333.6 MB, free: 15.01 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.264e-05/0.1343, allocations: 8.375 kB / 333.6 MB, free: 15 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.665e-05/0.1343, allocations: 8.375 kB / 333.6 MB, free: 15 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003886/0.1347, allocations: 133.5 kB / 333.7 MB, free: 14.86 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.1347, allocations: 0 / 333.7 MB, free: 14.86 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.148e-05/0.1348, allocations: 4 kB / 333.7 MB, free: 14.86 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.1348, allocations: 0 / 333.7 MB, free: 14.86 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000203/0.135, allocations: 59.97 kB / 333.8 MB, free: 14.8 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008219/0.1358, allocations: 472.4 kB / 334.2 MB, free: 14.29 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002413/0.1361, allocations: 90.55 kB / 334.3 MB, free: 14.19 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002063/0.1363, allocations: 88.83 kB / 334.4 MB, free: 14.1 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.109e-05/0.1363, allocations: 3.984 kB / 334.4 MB, free: 14.09 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004143/0.1368, allocations: 210.6 kB / 334.6 MB, free: 13.86 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.573e-06/0.1368, allocations: 0 / 334.6 MB, free: 13.86 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.001076/0.1379, allocations: 475.9 kB / 335.1 MB, free: 13.37 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001091/0.138, allocations: 166.2 kB / 335.2 MB, free: 13.17 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009724/0.139, allocations: 0.513 MB / 335.7 MB, free: 12.65 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.439e-05/0.139, allocations: 29.7 kB / 335.8 MB, free: 12.61 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.893e-05/0.1391, allocations: 105 kB / 335.9 MB, free: 12.51 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.718e-05/0.1392, allocations: 27.66 kB / 335.9 MB, free: 12.48 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.491e-05/0.1393, allocations: 25.7 kB / 335.9 MB, free: 12.45 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.1394, allocations: 334.8 kB / 336.3 MB, free: 12.11 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001823/0.1396, allocations: 55.97 kB / 336.3 MB, free: 12.06 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001811/0.1398, allocations: 69.69 kB / 336.4 MB, free: 11.98 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004233/0.1402, allocations: 347.7 kB / 336.7 MB, free: 11.59 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.1402, allocations: 0 / 336.7 MB, free: 11.59 MB / 286.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006356/0.1409, allocations: 388.3 kB / 337.1 MB, free: 11.18 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001062/0.141, allocations: 126.8 kB / 337.2 MB, free: 11.03 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.141, allocations: 4.141 kB / 337.2 MB, free: 11.03 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.141, allocations: 3.938 kB / 337.2 MB, free: 11.02 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.027e-05/0.1411, allocations: 0 / 337.2 MB, free: 11.02 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.1411, allocations: 7.938 kB / 337.2 MB, free: 11.02 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001777/0.1413, allocations: 11.98 kB / 337.3 MB, free: 11 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.793e-05/0.1413, allocations: 59.88 kB / 337.3 MB, free: 10.95 MB / 286.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.0003844/0.1417, allocations: 362.8 kB / 337.7 MB, free: 10.55 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.947e-05/0.1418, allocations: 39.66 kB / 337.7 MB, free: 10.52 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001192/0.1419, allocations: 75.12 kB / 337.8 MB, free: 10.44 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.142, allocations: 4 kB / 337.8 MB, free: 10.43 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.142, allocations: 0 / 337.8 MB, free: 10.43 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.142, allocations: 0 / 337.8 MB, free: 10.43 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001106/0.1431, allocations: 0.8173 MB / 338.6 MB, free: 9.535 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.1431, allocations: 0 / 338.6 MB, free: 9.535 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.723e-06/0.1431, allocations: 0 / 338.6 MB, free: 9.535 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.1431, allocations: 0 / 338.6 MB, free: 9.535 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.028e-05/0.1432, allocations: 12 kB / 338.6 MB, free: 9.523 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.1432, allocations: 7.938 kB / 338.6 MB, free: 9.516 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.1432, allocations: 3.984 kB / 338.6 MB, free: 9.512 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007595/0.1439, allocations: 0.533 MB / 339.2 MB, free: 8.938 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003863/0.1443, allocations: 248.5 kB / 339.4 MB, free: 8.676 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.337e-05/0.1444, allocations: 11.98 kB / 339.4 MB, free: 8.664 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001705/0.1446, allocations: 19.88 kB / 339.4 MB, free: 8.645 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001211/0.1447, allocations: 27.97 kB / 339.5 MB, free: 8.617 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-05/0.1448, allocations: 63.88 kB / 339.5 MB, free: 8.555 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0005646/0.1454, allocations: 386.9 kB / 339.9 MB, free: 8.18 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1454, allocations: 0 / 339.9 MB, free: 8.18 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003605/0.1458, allocations: 48 kB / 339.9 MB, free: 8.133 MB / 286.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.00129/0.1471, allocations: 1.088 MB / 341 MB, free: 6.992 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006856/0.1478, allocations: 449.5 kB / 341.5 MB, free: 6.504 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.1478, allocations: 0 / 341.5 MB, free: 6.504 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003957/0.1482, allocations: 373.9 kB / 341.8 MB, free: 6.09 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006516/0.1488, allocations: 109.5 kB / 341.9 MB, free: 5.98 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003723/0.1526, allocations: 2.817 MB / 344.8 MB, free: 3.059 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004971/0.1531, allocations: 0.7983 MB / 345.6 MB, free: 2.234 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 7.581e-05/0.1532, allocations: 12.66 kB / 345.6 MB, free: 2.223 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.876e-05/0.1532, allocations: 27.42 kB / 345.6 MB, free: 2.195 MB / 286.1 MB Notification: Performance of SimCode: time 1.273e-06/0.1533, allocations: 0 / 345.6 MB, free: 2.195 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0261/0.1794, allocations: 5.312 MB / 350.9 MB, free: 12.79 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001917/0.1796, allocations: 201.8 kB / 351.1 MB, free: 12.53 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.877/2.056, allocations: 3.938 kB / 351.1 MB, free: 12.52 MB / 302.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Digital_Examples_NRXFER_fmu --startTime=0 --stopTime=12 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Digital_Examples_NRXFER.fmu > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/NRXFER/NRXFER.csv","../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches