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.0009827/0.0009827, allocations: 112.3 kB / 17.28 MB, free: 6.043 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.001016/0.001016, allocations: 189.3 kB / 18.2 MB, free: 5.148 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.298/1.298, allocations: 205.1 MB / 224 MB, free: 12.43 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.001135/0.001135, allocations: 55.92 kB / 280.2 MB, free: 3.379 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08758/0.08873, allocations: 46.63 MB / 326.9 MB, free: 4.684 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002549/0.09132, allocations: 1.558 MB / 328.4 MB, free: 3.113 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001598/0.09294, allocations: 0.8867 MB / 329.3 MB, free: 2.219 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.337e-05/0.09299, allocations: 0 / 329.3 MB, free: 2.219 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 8.77e-05/0.0931, allocations: 3.938 kB / 329.3 MB, free: 2.215 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 7.083e-05/0.09317, allocations: 23.84 kB / 329.3 MB, free: 2.191 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002217/0.0934, allocations: 39.97 kB / 329.4 MB, free: 2.152 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001771/0.0936, allocations: 155.6 kB / 329.5 MB, free: 2 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.09372, allocations: 16.23 kB / 329.6 MB, free: 1.98 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005589/0.09428, allocations: 0.5576 MB / 330.1 MB, free: 1.422 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001292/0.09442, allocations: 75.69 kB / 330.2 MB, free: 1.348 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.757e-05/0.09447, allocations: 8 kB / 330.2 MB, free: 1.34 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.958e-05/0.09451, allocations: 12 kB / 330.2 MB, free: 1.328 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.496e-05/0.09461, allocations: 67.7 kB / 330.3 MB, free: 1.262 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001272/0.09474, allocations: 115.2 kB / 330.4 MB, free: 1.148 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003343/0.09508, allocations: 366.7 kB / 330.7 MB, free: 0.7891 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.09509, allocations: 0 / 330.7 MB, free: 0.7891 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.0951, allocations: 0 / 330.7 MB, free: 0.7891 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.09511, allocations: 0 / 330.7 MB, free: 0.7891 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.0007748/0.09589, allocations: 0.7308 MB / 331.5 MB, free: 15.98 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.09594, allocations: 8.031 kB / 331.5 MB, free: 15.97 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.677e-05/0.09599, allocations: 34.75 kB / 331.5 MB, free: 15.93 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.64e-05/0.09607, allocations: 40.56 kB / 331.6 MB, free: 15.89 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002953/0.09637, allocations: 274.3 kB / 331.8 MB, free: 15.58 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.09639, allocations: 8.359 kB / 331.8 MB, free: 15.57 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.002e-05/0.09643, allocations: 12.38 kB / 331.8 MB, free: 15.56 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002938/0.09673, allocations: 129.7 kB / 332 MB, free: 15.43 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.585e-06/0.09675, allocations: 0 / 332 MB, free: 15.43 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.397e-05/0.09678, allocations: 11.83 kB / 332 MB, free: 15.42 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.09679, allocations: 0 / 332 MB, free: 15.42 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001324/0.09692, allocations: 59.95 kB / 332 MB, free: 15.36 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005787/0.09751, allocations: 456.5 kB / 332.5 MB, free: 14.87 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001715/0.09769, allocations: 102.5 kB / 332.6 MB, free: 14.76 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001395/0.09784, allocations: 84.88 kB / 332.7 MB, free: 14.67 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.422e-06/0.09786, allocations: 0 / 332.7 MB, free: 14.67 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003127/0.09818, allocations: 206.7 kB / 332.9 MB, free: 14.45 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.563e-06/0.09819, allocations: 0 / 332.9 MB, free: 14.45 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007305/0.09892, allocations: 480.2 kB / 333.3 MB, free: 13.95 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.555e-05/0.09902, allocations: 170.2 kB / 333.5 MB, free: 13.74 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005455/0.09957, allocations: 0.5169 MB / 334 MB, free: 13.22 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.986e-05/0.09961, allocations: 29.7 kB / 334 MB, free: 13.18 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.771e-05/0.09968, allocations: 105 kB / 334.2 MB, free: 13.08 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.703e-05/0.09972, allocations: 27.66 kB / 334.2 MB, free: 13.05 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/0.09983, allocations: 85.41 kB / 334.3 MB, free: 12.96 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.42e-05/0.09993, allocations: 326.8 kB / 334.6 MB, free: 12.63 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001184/0.1001, allocations: 55.97 kB / 334.6 MB, free: 12.58 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001245/0.1002, allocations: 77.62 kB / 334.7 MB, free: 12.5 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003004/0.1005, allocations: 347.5 kB / 335 MB, free: 12.1 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.1005, allocations: 3.938 kB / 335.1 MB, free: 12.1 MB / 286.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004925/0.101, allocations: 392.2 kB / 335.4 MB, free: 11.68 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.695e-05/0.1011, allocations: 126.8 kB / 335.6 MB, free: 11.54 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.1011, allocations: 0 / 335.6 MB, free: 11.54 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.1011, allocations: 0 / 335.6 MB, free: 11.54 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.936e-05/0.1011, allocations: 4 kB / 335.6 MB, free: 11.53 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.1012, allocations: 0 / 335.6 MB, free: 11.53 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001329/0.1013, allocations: 19.89 kB / 335.6 MB, free: 11.51 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.585e-05/0.1014, allocations: 56.06 kB / 335.6 MB, free: 11.46 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.0003179/0.1017, allocations: 370.8 kB / 336 MB, free: 11.06 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.216e-05/0.1018, allocations: 35.62 kB / 336 MB, free: 11.02 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.172e-05/0.1019, allocations: 67.14 kB / 336.1 MB, free: 10.95 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.1019, allocations: 3.984 kB / 336.1 MB, free: 10.95 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.1019, allocations: 0 / 336.1 MB, free: 10.95 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.1019, allocations: 0 / 336.1 MB, free: 10.95 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008712/0.1028, allocations: 0.8173 MB / 336.9 MB, free: 10.05 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.1028, allocations: 0 / 336.9 MB, free: 10.05 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.887e-06/0.1028, allocations: 0 / 336.9 MB, free: 10.05 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.1028, allocations: 0 / 336.9 MB, free: 10.05 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.858e-05/0.1028, allocations: 20 kB / 336.9 MB, free: 10.03 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1028, allocations: 0 / 336.9 MB, free: 10.03 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.1028, allocations: 3.938 kB / 336.9 MB, free: 10.03 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005973/0.1034, allocations: 0.5368 MB / 337.5 MB, free: 9.449 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002639/0.1037, allocations: 244.4 kB / 337.7 MB, free: 9.191 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.95e-05/0.1038, allocations: 15.98 kB / 337.7 MB, free: 9.176 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001348/0.1039, allocations: 11.91 kB / 337.7 MB, free: 9.164 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.104, allocations: 31.91 kB / 337.8 MB, free: 9.133 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.807e-05/0.1041, allocations: 59.94 kB / 337.8 MB, free: 9.074 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0004118/0.1045, allocations: 390.9 kB / 338.2 MB, free: 8.695 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1045, allocations: 0 / 338.2 MB, free: 8.695 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002722/0.1048, allocations: 40 kB / 338.3 MB, free: 8.656 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.0009244/0.1057, allocations: 1.104 MB / 339.4 MB, free: 7.5 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004871/0.1062, allocations: 441.5 kB / 339.8 MB, free: 7.02 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1062, allocations: 0 / 339.8 MB, free: 7.02 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003183/0.1066, allocations: 373.6 kB / 340.2 MB, free: 6.605 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005697/0.1071, allocations: 120.5 kB / 340.3 MB, free: 6.488 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002967/0.1101, allocations: 2.803 MB / 343.1 MB, free: 3.574 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003861/0.1105, allocations: 0.8137 MB / 343.9 MB, free: 2.734 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.184e-05/0.1106, allocations: 8.656 kB / 343.9 MB, free: 2.727 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.661e-05/0.1106, allocations: 27.42 kB / 343.9 MB, free: 2.699 MB / 286.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1106, allocations: 0 / 343.9 MB, free: 2.699 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01516/0.1258, allocations: 5.796 MB / 349.7 MB, free: 12.79 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001696/0.126, allocations: 194.7 kB / 349.9 MB, free: 12.54 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.777/1.903, allocations: 4.062 kB / 349.9 MB, free: 12.53 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