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.001078/0.001078, allocations: 104.9 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001252/0.001252, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.354/1.354, allocations: 227.4 MB / 246.8 MB, free: 10.53 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001108/0.001108, allocations: 67.61 kB / 307.1 MB, free: 0.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08746/0.08858, allocations: 50.52 MB / 357.6 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002666/0.09128, allocations: 1.525 MB / 359.1 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001811/0.09311, allocations: 0.8826 MB / 360 MB, free: 11.56 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.453e-05/0.09317, allocations: 0 / 360 MB, free: 11.56 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 7.691e-05/0.09328, allocations: 11.92 kB / 360 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.358e-05/0.09335, allocations: 15.86 kB / 360 MB, free: 11.53 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002067/0.09356, allocations: 51.88 kB / 360.1 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001765/0.09375, allocations: 135.7 kB / 360.2 MB, free: 11.35 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.917e-05/0.09386, allocations: 16.22 kB / 360.2 MB, free: 11.33 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005025/0.09437, allocations: 0.5654 MB / 360.8 MB, free: 10.76 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000112/0.09449, allocations: 71.77 kB / 360.8 MB, free: 10.69 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.061e-05/0.09454, allocations: 12 kB / 360.9 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.606e-05/0.09458, allocations: 15.94 kB / 360.9 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.698e-05/0.09466, allocations: 59.75 kB / 360.9 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001212/0.09479, allocations: 115.2 kB / 361 MB, free: 10.49 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003046/0.0951, allocations: 374.6 kB / 361.4 MB, free: 10.12 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.09511, allocations: 0 / 361.4 MB, free: 10.12 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.09511, allocations: 0 / 361.4 MB, free: 10.12 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.185e-06/0.09513, allocations: 0 / 361.4 MB, free: 10.12 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.0006724/0.0958, allocations: 0.7191 MB / 362.1 MB, free: 9.332 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.09584, allocations: 8.031 kB / 362.1 MB, free: 9.324 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.248e-05/0.09589, allocations: 46.73 kB / 362.2 MB, free: 9.27 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.532e-05/0.09596, allocations: 40.47 kB / 362.2 MB, free: 9.23 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003838/0.09635, allocations: 270.3 kB / 362.5 MB, free: 8.926 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.09638, allocations: 8.375 kB / 362.5 MB, free: 8.918 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.659e-05/0.09641, allocations: 8.375 kB / 362.5 MB, free: 8.91 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002735/0.09669, allocations: 137.7 kB / 362.6 MB, free: 8.77 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.822e-06/0.09671, allocations: 0 / 362.6 MB, free: 8.77 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.377e-05/0.09674, allocations: 11.92 kB / 362.6 MB, free: 8.758 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.09675, allocations: 0 / 362.6 MB, free: 8.758 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001397/0.09689, allocations: 59.97 kB / 362.7 MB, free: 8.699 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005792/0.09748, allocations: 464.6 kB / 363.2 MB, free: 8.195 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001706/0.09766, allocations: 94.48 kB / 363.2 MB, free: 8.094 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001451/0.09782, allocations: 84.94 kB / 363.3 MB, free: 8.008 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.031e-05/0.09783, allocations: 4 kB / 363.3 MB, free: 8.004 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003569/0.0982, allocations: 214.6 kB / 363.5 MB, free: 7.77 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.623e-06/0.09821, allocations: 0 / 363.5 MB, free: 7.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008297/0.09904, allocations: 483.5 kB / 364 MB, free: 7.27 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000131/0.09919, allocations: 162.2 kB / 364.2 MB, free: 7.074 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005958/0.09979, allocations: 0.5129 MB / 364.7 MB, free: 6.551 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.898e-05/0.09982, allocations: 33.7 kB / 364.7 MB, free: 6.512 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.109e-05/0.09988, allocations: 97.12 kB / 364.8 MB, free: 6.414 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.42e-05/0.09993, allocations: 35.64 kB / 364.8 MB, free: 6.379 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001/0.1, allocations: 77.42 kB / 364.9 MB, free: 6.297 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.864e-05/0.1001, allocations: 330.8 kB / 365.2 MB, free: 5.965 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001284/0.1003, allocations: 59.91 kB / 365.3 MB, free: 5.906 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001233/0.1004, allocations: 73.69 kB / 365.4 MB, free: 5.828 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003101/0.1007, allocations: 343.3 kB / 365.7 MB, free: 5.438 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1007, allocations: 4 kB / 365.7 MB, free: 5.434 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000487/0.1012, allocations: 388.3 kB / 366.1 MB, free: 5.023 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.879e-05/0.1013, allocations: 126.8 kB / 366.2 MB, free: 4.875 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.1013, allocations: 3.984 kB / 366.2 MB, free: 4.871 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.1013, allocations: 4 kB / 366.2 MB, free: 4.867 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.704e-05/0.1014, allocations: 0 / 366.2 MB, free: 4.867 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.1014, allocations: 0 / 366.2 MB, free: 4.867 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001184/0.1015, allocations: 8 kB / 366.2 MB, free: 4.859 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.114e-05/0.1016, allocations: 60 kB / 366.3 MB, free: 4.801 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.0003176/0.1019, allocations: 379.7 kB / 366.7 MB, free: 4.398 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.952e-05/0.102, allocations: 35.62 kB / 366.7 MB, free: 4.363 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.473e-05/0.1021, allocations: 63.16 kB / 366.8 MB, free: 4.293 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.1021, allocations: 0 / 366.8 MB, free: 4.293 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.1021, allocations: 3.938 kB / 366.8 MB, free: 4.289 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.1021, allocations: 0 / 366.8 MB, free: 4.289 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001031/0.1032, allocations: 0.8249 MB / 367.6 MB, free: 3.383 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.1032, allocations: 0 / 367.6 MB, free: 3.383 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.759e-06/0.1032, allocations: 4 kB / 367.6 MB, free: 3.379 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1032, allocations: 0 / 367.6 MB, free: 3.379 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.469e-05/0.1032, allocations: 15.98 kB / 367.6 MB, free: 3.363 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.1033, allocations: 192 / 367.6 MB, free: 3.363 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.946e-05/0.1033, allocations: 7.875 kB / 367.6 MB, free: 3.355 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000604/0.1039, allocations: 0.5446 MB / 368.2 MB, free: 2.773 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002869/0.1042, allocations: 248.4 kB / 368.4 MB, free: 2.512 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.845e-05/0.1043, allocations: 12 kB / 368.4 MB, free: 2.5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001287/0.1044, allocations: 11.98 kB / 368.4 MB, free: 2.488 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.1045, allocations: 27.92 kB / 368.5 MB, free: 2.461 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.39e-05/0.1046, allocations: 59.92 kB / 368.5 MB, free: 2.402 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004204/0.105, allocations: 386.9 kB / 368.9 MB, free: 2.027 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.105, allocations: 0 / 368.9 MB, free: 2.027 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002928/0.1053, allocations: 51.94 kB / 368.9 MB, free: 1.977 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.001085/0.1064, allocations: 1.081 MB / 370 MB, free: 0.8438 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006073/0.107, allocations: 441.5 kB / 370.5 MB, free: 372 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1071, allocations: 0 / 370.5 MB, free: 372 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.1333/0.2403, allocations: 379.2 kB / 370.8 MB, free: 20.66 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006923/0.241, allocations: 121.2 kB / 370.9 MB, free: 20.65 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002955/0.244, allocations: 2.741 MB / 373.7 MB, free: 19.07 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000262/0.2443, allocations: 0.8 MB / 374.5 MB, free: 18.36 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.089e-05/0.2443, allocations: 12.58 kB / 374.5 MB, free: 18.35 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.934e-05/0.2444, allocations: 24.72 kB / 374.5 MB, free: 18.34 MB / 302.1 MB Notification: Performance of SimCode: time 5.41e-07/0.2444, allocations: 0 / 374.5 MB, free: 18.34 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2206/0.465, allocations: 6.009 MB / 380.5 MB, free: 17.42 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.22/8.685, allocations: 9.266 kB / 380.5 MB, free: 17.41 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Digital_Examples_NRXFER_fmu --startTime=0 --stopTime=12 --timeout=50 --tolerance=1e-06 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.mat","/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