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.001512/0.001512, allocations: 104.4 kB / 17.15 MB, free: 6.309 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.001835/0.001836, allocations: 198 kB / 18.07 MB, free: 5.41 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.446/1.446, allocations: 205.1 MB / 223.9 MB, free: 12.49 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.00109/0.00109, allocations: 59.86 kB / 280.1 MB, free: 3.488 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09536/0.09646, allocations: 46.62 MB / 326.7 MB, free: 4.801 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.00317/0.09968, allocations: 1.562 MB / 328.3 MB, free: 3.223 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002026/0.1017, allocations: 0.9062 MB / 329.2 MB, free: 2.309 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.195e-05/0.1018, allocations: 0 / 329.2 MB, free: 2.309 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001067/0.102, allocations: 15.92 kB / 329.2 MB, free: 2.293 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 7.68e-05/0.1021, allocations: 11.86 kB / 329.2 MB, free: 2.281 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002627/0.1023, allocations: 39.97 kB / 329.2 MB, free: 2.242 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001656/0.1025, allocations: 115.7 kB / 329.3 MB, free: 2.129 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001379/0.1026, allocations: 20.23 kB / 329.4 MB, free: 2.105 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006272/0.1033, allocations: 0.5537 MB / 329.9 MB, free: 1.551 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001218/0.1034, allocations: 63.7 kB / 330 MB, free: 1.488 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.468e-05/0.1035, allocations: 4 kB / 330 MB, free: 1.484 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.78e-05/0.1035, allocations: 8 kB / 330 MB, free: 1.477 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001178/0.1036, allocations: 67.69 kB / 330.1 MB, free: 1.41 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001285/0.1038, allocations: 107.2 kB / 330.2 MB, free: 1.305 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000353/0.1041, allocations: 362.7 kB / 330.5 MB, free: 0.9492 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.1041, allocations: 0 / 330.5 MB, free: 0.9492 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1041, allocations: 0 / 330.5 MB, free: 0.9492 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.63e-06/0.1042, allocations: 0 / 330.5 MB, free: 0.9492 MB / 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.0007576/0.1049, allocations: 0.7346 MB / 331.2 MB, free: 144 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.105, allocations: 8.031 kB / 331.3 MB, free: 136 kB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.895e-05/0.105, allocations: 42.69 kB / 331.3 MB, free: 84 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.145e-05/0.1051, allocations: 36.56 kB / 331.3 MB, free: 48 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003444/0.1055, allocations: 274.3 kB / 331.6 MB, free: 15.74 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/0.1055, allocations: 4.375 kB / 331.6 MB, free: 15.73 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.595e-05/0.1055, allocations: 8.375 kB / 331.6 MB, free: 15.73 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003155/0.1058, allocations: 141.6 kB / 331.8 MB, free: 15.58 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.1059, allocations: 4 kB / 331.8 MB, free: 15.58 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.324e-05/0.1059, allocations: 4 kB / 331.8 MB, free: 15.57 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.1059, allocations: 0 / 331.8 MB, free: 15.57 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001376/0.106, allocations: 59.97 kB / 331.8 MB, free: 15.52 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006168/0.1067, allocations: 456.5 kB / 332.3 MB, free: 15.02 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001834/0.1069, allocations: 102.5 kB / 332.4 MB, free: 14.91 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001505/0.107, allocations: 84.89 kB / 332.4 MB, free: 14.82 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.188e-05/0.107, allocations: 0 / 332.4 MB, free: 14.82 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003477/0.1074, allocations: 206.7 kB / 332.6 MB, free: 14.6 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.413e-06/0.1074, allocations: 0 / 332.6 MB, free: 14.6 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008027/0.1082, allocations: 479.8 kB / 333.1 MB, free: 14.1 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.156e-05/0.1083, allocations: 162.2 kB / 333.3 MB, free: 13.9 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005968/0.1089, allocations: 0.5169 MB / 333.8 MB, free: 13.38 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.675e-05/0.109, allocations: 33.69 kB / 333.8 MB, free: 13.34 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.045e-05/0.109, allocations: 97.05 kB / 333.9 MB, free: 13.24 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.241e-05/0.1091, allocations: 35.62 kB / 334 MB, free: 13.21 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/0.1092, allocations: 81.42 kB / 334 MB, free: 13.12 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.1093, allocations: 326.8 kB / 334.4 MB, free: 12.79 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001241/0.1094, allocations: 55.97 kB / 334.4 MB, free: 12.74 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001378/0.1096, allocations: 85.61 kB / 334.5 MB, free: 12.65 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000316/0.1099, allocations: 343.8 kB / 334.8 MB, free: 12.26 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.1099, allocations: 4 kB / 334.8 MB, free: 12.25 MB / 286.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005352/0.1105, allocations: 384.3 kB / 335.2 MB, free: 11.85 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.815e-05/0.1106, allocations: 126.9 kB / 335.3 MB, free: 11.7 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.1106, allocations: 3.938 kB / 335.3 MB, free: 11.7 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.1106, allocations: 0 / 335.3 MB, free: 11.7 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.997e-05/0.1106, allocations: 4 kB / 335.3 MB, free: 11.69 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.1106, allocations: 4.031 kB / 335.3 MB, free: 11.69 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001337/0.1108, allocations: 11.91 kB / 335.4 MB, free: 11.68 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.5e-05/0.1108, allocations: 63.92 kB / 335.4 MB, free: 11.61 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.0003247/0.1112, allocations: 370.7 kB / 335.8 MB, free: 11.21 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.926e-05/0.1112, allocations: 35.62 kB / 335.8 MB, free: 11.18 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.991e-05/0.1113, allocations: 59.16 kB / 335.9 MB, free: 11.12 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1113, allocations: 0 / 335.9 MB, free: 11.12 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.1113, allocations: 0 / 335.9 MB, free: 11.12 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.1114, allocations: 0 / 335.9 MB, free: 11.12 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000902/0.1123, allocations: 0.8329 MB / 336.7 MB, free: 10.2 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/0.1123, allocations: 4.062 kB / 336.7 MB, free: 10.2 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.408e-06/0.1123, allocations: 0 / 336.7 MB, free: 10.2 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.1123, allocations: 0 / 336.7 MB, free: 10.2 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.988e-05/0.1123, allocations: 15.98 kB / 336.7 MB, free: 10.18 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.1123, allocations: 0 / 336.7 MB, free: 10.18 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.1123, allocations: 3.938 kB / 336.7 MB, free: 10.18 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006148/0.113, allocations: 0.5446 MB / 337.3 MB, free: 9.594 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002867/0.1133, allocations: 248.4 kB / 337.5 MB, free: 9.332 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.375e-05/0.1133, allocations: 4 kB / 337.5 MB, free: 9.328 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001367/0.1135, allocations: 19.89 kB / 337.5 MB, free: 9.309 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.1136, allocations: 23.92 kB / 337.6 MB, free: 9.285 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.903e-05/0.1136, allocations: 63.92 kB / 337.6 MB, free: 9.223 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0004359/0.1141, allocations: 386.9 kB / 338 MB, free: 8.848 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1141, allocations: 0 / 338 MB, free: 8.848 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000302/0.1144, allocations: 40 kB / 338 MB, free: 8.809 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.0009469/0.1154, allocations: 1.096 MB / 339.1 MB, free: 7.66 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004921/0.1159, allocations: 433.5 kB / 339.6 MB, free: 7.188 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1159, allocations: 0 / 339.6 MB, free: 7.188 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003156/0.1162, allocations: 377.6 kB / 339.9 MB, free: 6.77 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005676/0.1168, allocations: 117.4 kB / 340 MB, free: 6.652 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003351/0.1201, allocations: 2.816 MB / 342.9 MB, free: 3.727 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004508/0.1206, allocations: 0.8022 MB / 343.7 MB, free: 2.898 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.486e-05/0.1206, allocations: 8.656 kB / 343.7 MB, free: 2.891 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.474e-05/0.1207, allocations: 23.44 kB / 343.7 MB, free: 2.867 MB / 286.1 MB Notification: Performance of SimCode: time 5.92e-07/0.1207, allocations: 0 / 343.7 MB, free: 2.867 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06783/0.1885, allocations: 5.625 MB / 349.3 MB, free: 13.12 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000325/0.1889, allocations: 202.2 kB / 349.5 MB, free: 12.85 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.962/2.151, allocations: 4 kB / 349.5 MB, free: 12.85 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