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.001123/0.001123, allocations: 106.6 kB / 17.72 MB, free: 5.324 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.001151/0.001151, allocations: 194.9 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.401/1.401, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001366/0.001366, allocations: 55.94 kB / 328 MB, free: 3.801 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08892/0.09029, allocations: 46.62 MB / 374.6 MB, free: 5.074 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.003233/0.09358, allocations: 1.512 MB / 376.2 MB, free: 3.551 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002209/0.09583, allocations: 0.898 MB / 377.1 MB, free: 2.645 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.622e-05/0.09596, allocations: 4 kB / 377.1 MB, free: 2.641 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001067/0.09616, allocations: 7.922 kB / 377.1 MB, free: 2.633 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001126/0.09628, allocations: 27.78 kB / 377.1 MB, free: 2.605 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003093/0.09659, allocations: 35.97 kB / 377.1 MB, free: 2.57 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002467/0.09685, allocations: 147.7 kB / 377.3 MB, free: 2.426 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001235/0.09698, allocations: 24.22 kB / 377.3 MB, free: 2.398 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006204/0.09761, allocations: 0.5654 MB / 377.9 MB, free: 1.832 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001604/0.09778, allocations: 75.64 kB / 377.9 MB, free: 1.758 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.31e-05/0.09783, allocations: 8 kB / 377.9 MB, free: 1.75 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.069e-05/0.09787, allocations: 12 kB / 378 MB, free: 1.738 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.666e-05/0.09797, allocations: 59.77 kB / 378 MB, free: 1.68 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001244/0.0981, allocations: 119.1 kB / 378.1 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003893/0.0985, allocations: 374.5 kB / 378.5 MB, free: 1.195 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.09851, allocations: 0 / 378.5 MB, free: 1.195 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.09852, allocations: 0 / 378.5 MB, free: 1.195 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.109e-05/0.09854, allocations: 0 / 378.5 MB, free: 1.195 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.0009031/0.09944, allocations: 0.7344 MB / 379.2 MB, free: 396 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.09949, allocations: 8.031 kB / 379.2 MB, free: 388 kB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.379e-05/0.09955, allocations: 42.67 kB / 379.3 MB, free: 336 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.705e-05/0.09964, allocations: 44.64 kB / 379.3 MB, free: 292 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1789/0.2785, allocations: 270.4 kB / 379.6 MB, free: 12.96 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.652e-05/0.2786, allocations: 7.406 kB / 379.6 MB, free: 12.96 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.047e-05/0.2787, allocations: 13.39 kB / 379.6 MB, free: 12.96 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003759/0.2791, allocations: 131.5 kB / 379.7 MB, free: 12.93 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.886e-06/0.2791, allocations: 0 / 379.7 MB, free: 12.93 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.379e-05/0.2791, allocations: 3.688 kB / 379.7 MB, free: 12.93 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.2791, allocations: 2.344 kB / 379.7 MB, free: 12.93 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001474/0.2793, allocations: 65.66 kB / 379.8 MB, free: 12.93 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007363/0.28, allocations: 457.4 kB / 380.2 MB, free: 12.64 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001866/0.2802, allocations: 98.52 kB / 380.3 MB, free: 12.62 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001474/0.2804, allocations: 86.94 kB / 380.4 MB, free: 12.61 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.737e-06/0.2804, allocations: 4.812 kB / 380.4 MB, free: 12.61 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003396/0.2807, allocations: 208.4 kB / 380.6 MB, free: 12.5 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.813e-06/0.2808, allocations: 0 / 380.6 MB, free: 12.5 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007552/0.2815, allocations: 480 kB / 381.1 MB, free: 12.34 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.712e-05/0.2816, allocations: 167.2 kB / 381.3 MB, free: 12.16 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006427/0.2822, allocations: 0.5146 MB / 381.8 MB, free: 11.96 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.733e-05/0.2823, allocations: 31.39 kB / 381.8 MB, free: 11.93 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.15e-05/0.2823, allocations: 99.22 kB / 381.9 MB, free: 11.84 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.096e-05/0.2824, allocations: 33.66 kB / 381.9 MB, free: 11.83 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/0.2825, allocations: 81.33 kB / 382 MB, free: 11.8 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.331e-05/0.2826, allocations: 324.9 kB / 382.3 MB, free: 11.49 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001558/0.2827, allocations: 63.17 kB / 382.4 MB, free: 11.49 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00017/0.2829, allocations: 75.34 kB / 382.5 MB, free: 11.48 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003402/0.2832, allocations: 340.2 kB / 382.8 MB, free: 11.21 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.2833, allocations: 2.875 kB / 382.8 MB, free: 11.21 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005685/0.2838, allocations: 395.4 kB / 383.2 MB, free: 10.98 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.638e-05/0.2839, allocations: 128.1 kB / 383.3 MB, free: 10.85 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.2839, allocations: 4.844 kB / 383.3 MB, free: 10.85 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.2839, allocations: 1.406 kB / 383.3 MB, free: 10.85 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.047e-05/0.284, allocations: 1.734 kB / 383.3 MB, free: 10.85 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.284, allocations: 0.5156 kB / 383.3 MB, free: 10.85 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001574/0.2841, allocations: 11.61 kB / 383.3 MB, free: 10.85 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.669e-05/0.2842, allocations: 57.36 kB / 383.4 MB, free: 10.85 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.0002944/0.2845, allocations: 369.6 kB / 383.8 MB, free: 10.55 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.923e-05/0.2846, allocations: 47.17 kB / 383.8 MB, free: 10.52 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.605e-05/0.2847, allocations: 65.61 kB / 383.9 MB, free: 10.48 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.339e-06/0.2847, allocations: 2.766 kB / 383.9 MB, free: 10.48 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.2847, allocations: 1.094 kB / 383.9 MB, free: 10.48 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.2847, allocations: 0.7031 kB / 383.9 MB, free: 10.48 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009029/0.2856, allocations: 0.8265 MB / 384.7 MB, free: 9.902 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.2856, allocations: 3.031 kB / 384.7 MB, free: 9.902 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.833e-06/0.2857, allocations: 5.062 kB / 384.7 MB, free: 9.902 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.2857, allocations: 1.281 kB / 384.7 MB, free: 9.902 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.986e-05/0.2857, allocations: 12.58 kB / 384.7 MB, free: 9.902 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.2857, allocations: 1.156 kB / 384.7 MB, free: 9.902 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2857, allocations: 0 / 384.7 MB, free: 9.902 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005716/0.2863, allocations: 0.5443 MB / 385.3 MB, free: 9.547 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002867/0.2866, allocations: 249.2 kB / 385.5 MB, free: 9.367 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.642e-05/0.2866, allocations: 13.19 kB / 385.5 MB, free: 9.363 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001303/0.2868, allocations: 10.94 kB / 385.5 MB, free: 9.363 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001051/0.2869, allocations: 25.44 kB / 385.6 MB, free: 9.355 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.363e-05/0.287, allocations: 59.75 kB / 385.6 MB, free: 9.352 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004282/0.2874, allocations: 387 kB / 386 MB, free: 9.152 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2874, allocations: 0 / 386 MB, free: 9.152 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002841/0.2877, allocations: 45.59 kB / 386 MB, free: 9.148 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.0008248/0.2885, allocations: 1.094 MB / 387.1 MB, free: 8.262 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004546/0.289, allocations: 442.4 kB / 387.6 MB, free: 7.914 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.289, allocations: 0 / 387.6 MB, free: 7.914 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002505/0.2893, allocations: 375.1 kB / 387.9 MB, free: 7.586 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006118/0.2899, allocations: 118.8 kB / 388 MB, free: 7.551 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003057/0.293, allocations: 2.757 MB / 390.8 MB, free: 5.629 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002868/0.2933, allocations: 0.8022 MB / 391.6 MB, free: 4.891 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.96e-05/0.2933, allocations: 13.42 kB / 391.6 MB, free: 4.887 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.537e-05/0.2934, allocations: 26.39 kB / 391.6 MB, free: 4.867 MB / 318.1 MB Notification: Performance of SimCode: time 6.41e-07/0.2934, allocations: 0 / 391.6 MB, free: 4.867 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02235/0.3157, allocations: 6.035 MB / 397.7 MB, free: 3.648 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.287/9.602, allocations: 9.203 kB / 397.7 MB, free: 3.641 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