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.00129/0.00129, allocations: 108.8 kB / 17.73 MB, free: 5.34 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.001391/0.001391, allocations: 190.9 kB / 18.67 MB, free: 4.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.366/1.366, 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.001597/0.001597, allocations: 51.92 kB / 328 MB, free: 3.805 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09291/0.09452, 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.003817/0.09839, allocations: 1.509 MB / 376.2 MB, free: 3.555 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002753/0.1012, allocations: 0.8941 MB / 377 MB, free: 2.652 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.744e-05/0.1013, allocations: 4 kB / 377.1 MB, free: 2.648 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001069/0.1014, allocations: 7.922 kB / 377.1 MB, free: 2.641 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001072/0.1015, allocations: 19.86 kB / 377.1 MB, free: 2.621 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003139/0.1019, allocations: 47.88 kB / 377.1 MB, free: 2.574 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000299/0.1022, allocations: 143.7 kB / 377.3 MB, free: 2.434 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001318/0.1023, allocations: 20.23 kB / 377.3 MB, free: 2.41 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008715/0.1032, allocations: 0.5576 MB / 377.8 MB, free: 1.852 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001838/0.1034, allocations: 71.7 kB / 377.9 MB, free: 1.781 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.89e-05/0.1035, allocations: 8 kB / 377.9 MB, free: 1.773 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.541e-05/0.1036, allocations: 12 kB / 377.9 MB, free: 1.762 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001282/0.1037, allocations: 67.69 kB / 378 MB, free: 1.695 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001816/0.1039, allocations: 111.2 kB / 378.1 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005798/0.1045, allocations: 378.5 kB / 378.5 MB, free: 1.215 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.1045, allocations: 0 / 378.5 MB, free: 1.215 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.1045, allocations: 0 / 378.5 MB, free: 1.215 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.329e-05/0.1045, allocations: 0 / 378.5 MB, free: 1.215 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.001102/0.1056, allocations: 0.7344 MB / 379.2 MB, free: 416 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.1057, allocations: 8.031 kB / 379.2 MB, free: 408 kB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.852e-05/0.1058, allocations: 38.75 kB / 379.3 MB, free: 360 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.504e-05/0.1059, allocations: 40.7 kB / 379.3 MB, free: 320 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003618/0.1062, allocations: 278.7 kB / 379.6 MB, free: 0 / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.936e-05/0.2792, allocations: 2.984 kB / 379.6 MB, free: 13.04 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.207e-05/0.2793, allocations: 8.156 kB / 379.6 MB, free: 13.04 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003358/0.2796, allocations: 132 kB / 379.7 MB, free: 13.01 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.2796, allocations: 0.875 kB / 379.7 MB, free: 13.01 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.119e-05/0.2797, allocations: 8.344 kB / 379.7 MB, free: 13.01 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.2797, allocations: 1.438 kB / 379.7 MB, free: 13.01 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001352/0.2798, allocations: 58.36 kB / 379.8 MB, free: 13.01 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000629/0.2804, allocations: 463.5 kB / 380.2 MB, free: 12.73 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001747/0.2806, allocations: 98.31 kB / 380.3 MB, free: 12.71 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001329/0.2808, allocations: 83.14 kB / 380.4 MB, free: 12.7 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.252e-05/0.2808, allocations: 1.125 kB / 380.4 MB, free: 12.7 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003689/0.2812, allocations: 215.3 kB / 380.6 MB, free: 12.59 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.973e-06/0.2812, allocations: 1.031 kB / 380.6 MB, free: 12.59 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007249/0.2819, allocations: 480 kB / 381.1 MB, free: 12.43 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.275e-05/0.282, allocations: 169.3 kB / 381.3 MB, free: 12.24 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005717/0.2825, allocations: 0.5157 MB / 381.8 MB, free: 12.04 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.479e-05/0.2826, allocations: 34.14 kB / 381.8 MB, free: 12.01 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.481e-05/0.2826, allocations: 98.05 kB / 381.9 MB, free: 11.93 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.943e-05/0.2827, allocations: 37.67 kB / 381.9 MB, free: 11.92 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001168/0.2828, allocations: 82.09 kB / 382 MB, free: 11.89 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.969e-05/0.2829, allocations: 320.7 kB / 382.3 MB, free: 11.58 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001438/0.283, allocations: 59.52 kB / 382.4 MB, free: 11.58 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001266/0.2831, allocations: 72.53 kB / 382.5 MB, free: 11.56 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000323/0.2835, allocations: 348.3 kB / 382.8 MB, free: 11.29 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.2835, allocations: 0.5312 kB / 382.8 MB, free: 11.29 MB / 318.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005252/0.284, allocations: 401.2 kB / 383.2 MB, free: 11.07 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.425e-05/0.2841, allocations: 121.1 kB / 383.3 MB, free: 10.95 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.2841, allocations: 1.969 kB / 383.3 MB, free: 10.95 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.2841, allocations: 12 kB / 383.3 MB, free: 10.94 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.994e-05/0.2841, allocations: 1.344 kB / 383.3 MB, free: 10.94 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.2841, allocations: 0.5156 kB / 383.3 MB, free: 10.94 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001267/0.2843, allocations: 13.45 kB / 383.3 MB, free: 10.94 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.051e-05/0.2844, allocations: 62.84 kB / 383.4 MB, free: 10.93 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.0002713/0.2846, allocations: 360.1 kB / 383.8 MB, free: 10.64 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.77e-05/0.2847, allocations: 46.48 kB / 383.8 MB, free: 10.62 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.365e-05/0.2848, allocations: 65.83 kB / 383.9 MB, free: 10.58 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.2848, allocations: 0 / 383.9 MB, free: 10.58 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.2848, allocations: 1.25 kB / 383.9 MB, free: 10.58 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.2848, allocations: 0.5625 kB / 383.9 MB, free: 10.58 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008545/0.2857, allocations: 0.8233 MB / 384.7 MB, free: 10 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.2857, allocations: 7.109 kB / 384.7 MB, free: 9.996 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.463e-06/0.2857, allocations: 2.125 kB / 384.7 MB, free: 9.996 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.2857, allocations: 2.969 kB / 384.7 MB, free: 9.996 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.802e-05/0.2857, allocations: 13.48 kB / 384.7 MB, free: 9.996 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.2857, allocations: 1.078 kB / 384.7 MB, free: 9.996 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2858, allocations: 0.9688 kB / 384.7 MB, free: 9.996 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000553/0.2863, allocations: 0.5329 MB / 385.2 MB, free: 9.648 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002481/0.2866, allocations: 251.8 kB / 385.5 MB, free: 9.469 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.254e-05/0.2866, allocations: 17.66 kB / 385.5 MB, free: 9.465 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001251/0.2868, allocations: 10.72 kB / 385.5 MB, free: 9.465 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001112/0.2869, allocations: 25.55 kB / 385.5 MB, free: 9.457 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.161e-05/0.2869, allocations: 62.84 kB / 385.6 MB, free: 9.449 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004179/0.2874, allocations: 386.9 kB / 386 MB, free: 9.242 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2874, allocations: 0 / 386 MB, free: 9.242 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002824/0.2877, allocations: 41.66 kB / 386 MB, free: 9.242 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.0007577/0.2884, allocations: 1.102 MB / 387.1 MB, free: 8.348 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004167/0.2889, allocations: 439.1 kB / 387.6 MB, free: 8.004 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.2889, allocations: 0 / 387.6 MB, free: 8.004 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002527/0.2891, allocations: 378.8 kB / 387.9 MB, free: 7.672 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005816/0.2897, allocations: 119.5 kB / 388 MB, free: 7.641 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002697/0.2924, allocations: 2.75 MB / 390.8 MB, free: 5.727 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002597/0.2927, allocations: 0.8075 MB / 391.6 MB, free: 4.984 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.972e-05/0.2928, allocations: 11.56 kB / 391.6 MB, free: 4.98 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.02e-05/0.2928, allocations: 26.53 kB / 391.6 MB, free: 4.961 MB / 318.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2928, allocations: 0 / 391.6 MB, free: 4.961 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02729/0.3201, allocations: 6.035 MB / 397.7 MB, free: 3.746 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.08/8.4, allocations: 8.922 kB / 397.7 MB, free: 3.738 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 & /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","/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