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.001781/0.001781, allocations: 111.7 kB / 17.73 MB, free: 5.312 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.001695/0.001695, allocations: 188.2 kB / 18.67 MB, free: 4.387 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.487/1.487, allocations: 205.1 MB / 224.5 MB, free: 12.21 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.001845/0.001845, allocations: 55.92 kB / 328 MB, free: 3.809 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1042, allocations: 46.62 MB / 374.6 MB, free: 5.078 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.00292/0.1072, allocations: 1.513 MB / 376.2 MB, free: 3.555 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001977/0.1092, allocations: 0.8903 MB / 377 MB, free: 2.656 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.945e-05/0.1093, allocations: 3.938 kB / 377 MB, free: 2.652 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.361e-05/0.1094, allocations: 7.922 kB / 377.1 MB, free: 2.645 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.231e-05/0.1095, allocations: 23.84 kB / 377.1 MB, free: 2.621 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000254/0.1097, allocations: 47.89 kB / 377.1 MB, free: 2.574 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002102/0.11, allocations: 139.7 kB / 377.3 MB, free: 2.438 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.1101, allocations: 24.22 kB / 377.3 MB, free: 2.41 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006799/0.1108, allocations: 0.5537 MB / 377.8 MB, free: 1.855 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001596/0.1109, allocations: 75.69 kB / 377.9 MB, free: 1.781 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.938e-05/0.111, allocations: 8 kB / 377.9 MB, free: 1.773 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.972e-05/0.111, allocations: 16 kB / 377.9 MB, free: 1.758 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001053/0.1112, allocations: 63.7 kB / 378 MB, free: 1.695 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001605/0.1113, allocations: 119.2 kB / 378.1 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004887/0.1118, allocations: 366.5 kB / 378.5 MB, free: 1.219 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.1118, allocations: 0 / 378.5 MB, free: 1.219 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.1118, allocations: 0 / 378.5 MB, free: 1.219 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.132e-05/0.1119, allocations: 0 / 378.5 MB, free: 1.219 MB / 318.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.0009774/0.1129, allocations: 0.7421 MB / 379.2 MB, free: 412 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/0.1129, allocations: 8.031 kB / 379.2 MB, free: 404 kB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.676e-05/0.113, allocations: 38.75 kB / 379.3 MB, free: 356 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.667e-05/0.1131, allocations: 44.7 kB / 379.3 MB, free: 312 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1887/0.3018, allocations: 277 kB / 379.6 MB, free: 10.62 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.428e-05/0.3019, allocations: 5.594 kB / 379.6 MB, free: 10.62 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.991e-05/0.3019, allocations: 8.656 kB / 379.6 MB, free: 10.62 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003405/0.3023, allocations: 128.3 kB / 379.7 MB, free: 10.59 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.3023, allocations: 0 / 379.7 MB, free: 10.59 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.562e-05/0.3023, allocations: 7.938 kB / 379.7 MB, free: 10.59 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.401e-06/0.3023, allocations: 1.375 kB / 379.7 MB, free: 10.59 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001464/0.3025, allocations: 55.42 kB / 379.8 MB, free: 10.59 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006628/0.3031, allocations: 462.5 kB / 380.2 MB, free: 10.3 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001724/0.3033, allocations: 95.8 kB / 380.3 MB, free: 10.28 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001341/0.3035, allocations: 84.09 kB / 380.4 MB, free: 10.27 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.282e-05/0.3035, allocations: 1.828 kB / 380.4 MB, free: 10.27 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003652/0.3039, allocations: 220.4 kB / 380.6 MB, free: 10.16 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.613e-06/0.3039, allocations: 0 / 380.6 MB, free: 10.16 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007202/0.3046, allocations: 480 kB / 381.1 MB, free: 10 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.881e-05/0.3047, allocations: 170.4 kB / 381.3 MB, free: 9.812 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006324/0.3053, allocations: 0.51 MB / 381.8 MB, free: 9.609 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.3053, allocations: 37.5 kB / 381.8 MB, free: 9.578 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.35e-05/0.3054, allocations: 97.22 kB / 381.9 MB, free: 9.496 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.62e-05/0.3054, allocations: 37.45 kB / 381.9 MB, free: 9.488 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001096/0.3056, allocations: 85.98 kB / 382 MB, free: 9.457 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.145e-05/0.3056, allocations: 320.5 kB / 382.3 MB, free: 9.145 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001243/0.3058, allocations: 58.78 kB / 382.4 MB, free: 9.145 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001518/0.3059, allocations: 75.73 kB / 382.5 MB, free: 9.129 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003297/0.3062, allocations: 345.3 kB / 382.8 MB, free: 8.863 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3063, allocations: 0.625 kB / 382.8 MB, free: 8.863 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005283/0.3068, allocations: 386.6 kB / 383.2 MB, free: 8.703 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.406e-05/0.3069, allocations: 129.1 kB / 383.3 MB, free: 8.574 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.3069, allocations: 4.266 kB / 383.3 MB, free: 8.574 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.3069, allocations: 1.094 kB / 383.3 MB, free: 8.574 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.048e-05/0.3069, allocations: 1.812 kB / 383.3 MB, free: 8.574 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.3069, allocations: 1.094 kB / 383.3 MB, free: 8.574 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001362/0.3071, allocations: 20.48 kB / 383.3 MB, free: 8.574 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.772e-05/0.3072, allocations: 61.8 kB / 383.4 MB, free: 8.57 MB / 318.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.0002603/0.3074, allocations: 362.6 kB / 383.7 MB, free: 8.305 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.692e-05/0.3075, allocations: 43.86 kB / 383.8 MB, free: 8.281 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.94e-05/0.3076, allocations: 68.73 kB / 383.9 MB, free: 8.246 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-06/0.3076, allocations: 1.344 kB / 383.9 MB, free: 8.246 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.3076, allocations: 0 / 383.9 MB, free: 8.246 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3076, allocations: 4.234 kB / 383.9 MB, free: 8.246 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008334/0.3085, allocations: 0.8168 MB / 384.7 MB, free: 7.785 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.3085, allocations: 0.5625 kB / 384.7 MB, free: 7.785 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.509e-06/0.3085, allocations: 1.156 kB / 384.7 MB, free: 7.785 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.3085, allocations: 0 / 384.7 MB, free: 7.785 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.864e-05/0.3085, allocations: 19.12 kB / 384.7 MB, free: 7.785 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.3085, allocations: 0 / 384.7 MB, free: 7.785 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3085, allocations: 0 / 384.7 MB, free: 7.785 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005452/0.3091, allocations: 0.5494 MB / 385.3 MB, free: 7.504 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002497/0.3093, allocations: 252.6 kB / 385.5 MB, free: 7.363 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.124e-05/0.3094, allocations: 11.94 kB / 385.5 MB, free: 7.363 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001232/0.3095, allocations: 9.109 kB / 385.5 MB, free: 7.363 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001112/0.3096, allocations: 25.78 kB / 385.5 MB, free: 7.363 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.341e-05/0.3097, allocations: 58.41 kB / 385.6 MB, free: 7.359 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004035/0.3101, allocations: 390.5 kB / 386 MB, free: 7.215 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3101, allocations: 0 / 386 MB, free: 7.215 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002742/0.3104, allocations: 46.44 kB / 386 MB, free: 7.211 MB / 318.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.0007697/0.3112, allocations: 1.093 MB / 387.1 MB, free: 6.375 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004374/0.3116, allocations: 439.4 kB / 387.5 MB, free: 6.035 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.3116, allocations: 0 / 387.5 MB, free: 6.035 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002657/0.3119, allocations: 382.9 kB / 387.9 MB, free: 5.699 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005902/0.3125, allocations: 112.8 kB / 388 MB, free: 5.676 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002877/0.3154, allocations: 2.768 MB / 390.8 MB, free: 3.754 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002966/0.3157, allocations: 0.8027 MB / 391.6 MB, free: 3.016 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.778e-05/0.3158, allocations: 8.703 kB / 391.6 MB, free: 3.012 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.182e-05/0.3159, allocations: 26.64 kB / 391.6 MB, free: 2.992 MB / 318.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3159, allocations: 4 kB / 391.6 MB, free: 2.988 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03212/0.348, allocations: 6.031 MB / 397.7 MB, free: 1.984 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.976/8.324, allocations: 12.83 kB / 397.7 MB, free: 1.973 MB / 318.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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_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.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/NRXFER/NRXFER.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches